Opened 3 years ago
Closed 2 years ago
#34042 closed Bug (fixed)
Screen reader issues with admin navigation sidebar
Description ¶
There are three issues with the admin’s toggle-able sidebar nav for screen reader users:
- Its toggle button doesn’t set
aria-expanded
to indicate its state. This is important so people can tell whether the current state is "opened" or "closed". - The sidebar is wrapped in a
<nav>
landmark (good!) but that landmark should ideally have a label set witharia-label="{% translate 'Sidebar' %}"
so users can more easily decide whether this is the part of the UI they want to go to. - The sidebar shouldn’t be navigable when closed (to replicate the experience of sighted users). This is because we’re preventing navigation by setting
tabindex="-1"
on the sidebar interactive elements. Instead, we should set the whole region todisplay: none
orvisibility: hidden
when closed.
Change History (5)
comment:1 by , 3 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 3 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 3 years ago
Patch needs improvement: | set |
---|
comment:4 by , 2 years ago
Patch needs improvement: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
patch created here