Dashboard has no headings or navigation landmark for screen readers #1751

Closed
opened 2026-11-02 04:13:44 +00:00 by sam · 2 comments
Owner

Section titles render through ui/src/components/ui/card/CardTitle.vue:41 and section/Section.vue:31 as divs, as does empty/EmptyTitle.vue:11, so pages have no heading structure. The sidebar list in ui/src/components/NavMain.vue:52-65 has no <nav>.

Done when: CardTitle and EmptyTitle take an as prop (default h2), Section passes the right level, and the sidebar list sits in <nav aria-label="Sections">.

Section titles render through `ui/src/components/ui/card/CardTitle.vue:41` and `section/Section.vue:31` as divs, as does `empty/EmptyTitle.vue:11`, so pages have no heading structure. The sidebar list in `ui/src/components/NavMain.vue:52-65` has no `<nav>`. Done when: CardTitle and EmptyTitle take an `as` prop (default `h2`), Section passes the right level, and the sidebar list sits in `<nav aria-label="Sections">`.
sam added the mediumbug labels 2026-11-02 04:13:44 +00:00
sam self-assigned this 2026-11-02 04:13:44 +00:00
Author
Owner

Fixed in ee2d19d0 and pushed. CardTitle and EmptyTitle now take an as prop (default h2) and render as that element, Section passes as="h2", and the sidebar list sits in

. Pages keep PageHeader's h1, so the outline is h1 → h2. Verified: task check passed on the committed tree.

Fixed in ee2d19d0 and pushed. CardTitle and EmptyTitle now take an as prop (default h2) and render as that element, Section passes as="h2", and the sidebar list sits in <nav aria-label="Sections">. Pages keep PageHeader's h1, so the outline is h1 → h2. Verified: task check passed on the committed tree.
Author
Owner

Fixed in ee2d19d0 and pushed to main. Gate: task check exited 0 on the committed tree.

Fixed in ee2d19d0 and pushed to main. Gate: task check exited 0 on the committed tree.
sam closed this issue 2026-11-07 06:09:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1751