Frontend M4 polish: ARIA tab semantics for authority kind tabs + remove unused i18n keys #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Minor cleanups from the Milestone 4 final review (non-blocking, bundled):
ARIA tab semantics — the authority kind selector (
web/src/authorities/authorities-page.tsx) renders the person/organisation/place tabs as plainNavLinks styled as tabs, with norole="tablist"/role="tab"/aria-selected. They work, but screen-reader users don't get tab semantics. Either adopt proper tab roles or a shadcn Tabs primitive driven by the route.Unused i18n keys —
vocab.titleandauthorities.titleare defined in bothen.jsonandsv.jsonbut never referenced (the nav uses thenav.*keys instead). Either use them as visible page/section headings on the respective screens, or remove them. (en/sv parity must be preserved either way.)Both are cosmetic/a11y polish; no functional impact.