feat(ui): redesign GeoIntel as Atlas Workbench
This commit is contained in:
@@ -20,9 +20,18 @@ def test_global_focus_visible_contracts_are_defined() -> None:
|
||||
|
||||
def test_primary_navigation_has_keyboard_labels() -> None:
|
||||
app = (ROOT / "frontend" / "src" / "App.tsx").read_text(encoding="utf-8")
|
||||
navigation = (
|
||||
ROOT
|
||||
/ "frontend"
|
||||
/ "src"
|
||||
/ "components"
|
||||
/ "shell"
|
||||
/ "WorkbenchNavigation.tsx"
|
||||
).read_text(encoding="utf-8")
|
||||
|
||||
assert 'aria-label={`Open ${item.label}: ${item.description}`}' in app
|
||||
assert 'aria-label={`Ga naar ${item.label}`}' in app
|
||||
assert 'aria-label={`Open ${item.label}: ${item.description}`}' in navigation
|
||||
assert "title={item.description}" in navigation
|
||||
assert "aria-current={item.key === activeWorkspace ? 'page' : undefined}" in navigation
|
||||
assert "label: 'Bronnen'" in app
|
||||
assert "label: 'Kaart'" in app
|
||||
assert "label: 'Kwaliteit'" in app
|
||||
|
||||
Reference in New Issue
Block a user