#4131 closed enhancement (fixed)
Add aria-current to global menu
| Reported by: | Otto42 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Keywords: | |
| Cc: |
Description
As mentioned in https://meta.trac.wordpress.org/ticket/4091#comment:12 by @adrian-roselli
While I am here, is there an issue somewhere to add aria-current to the currently active link in the navigation? The screen reader should announce that I am on the Plugins page.
This seems useful. As it is, the class="current" is added to the link for styling.
Would adding aria-current to the same link be the correct approach here? Or should it be added elsewhere in the list?
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
From reading https://tink.uk/using-the-aria-current-attribute/ it seems like
aria-current="page"oraria-current="location"could be appropriate.The safe bet seems to be
aria-current="true", so we'll go with that for now. If something else makes more sense, let us know.