#3048 closed defect (bug) (fixed)
Missing keyboard accessibility of the Handbook Chapter menu
Reported by: | rianrietveld | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Handbooks | Keywords: | |
Cc: |
Description
Issues:
- At the moment the Chapter menu, added to the handbook pages misses keyboard functionality and screen reader feedback. The toggle to open the submenus is placed in a, empty
<span>
that doesn't get keyboard focus. The same style of menu is very well done in the Twenty Fifteen theme. I suggest implementing the structure/semantics as done there. - There is no visible focus style. Suggest using the hover style also for the focus style.
Attachments (3)
Change History (16)
This ticket was mentioned in Slack in #accessibility-docs by rianrietveld. View the logs.
7 years ago
This ticket was mentioned in Slack in #meta by sami.keijonen. View the logs.
7 years ago
This ticket was mentioned in Slack in #meta by kau-boy. View the logs.
7 years ago
#5
@
7 years ago
- Keywords has-patch needs-testing added
Unfortunately I couldn't test my patch locally, as the handbook has no content, so it would be nice, if someone else could test it.
The patch was implemented at the Contributor Days of WordCamp Brighton and WordCamp Zagreb.
#6
@
7 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 5871:
#7
@
7 years ago
Hey @Kau-Boy
I did some testing, and the keyboard a11y is perfect.
However I found one issue with the aria-expanded.
If you are on a sub menu page, like
https://make.wordpress.org/accessibility/handbook/get-involved/
That sub menu is open (visible), but the get involved
icon is an arrow down and the aria expanded
is false, although this menu item is open.
example chapter menu handbook