#19191 closed defect (bug) (fixed)
Improve admin menu tab navigation
Reported by: | koopersmith | Owned by: | azaozz |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | 3.3 |
Component: | Administration | Keywords: | needs-patch |
Focuses: | Cc: |
Description
Currently, there are no visual indicators when when an admin menu item is focused using the tab key. We should add visual feedback when an item is focused and expand the submenus to allow users to access submenu items via tabbing.
Attachments (1)
Change History (11)
#6
@
12 years ago
My original patch did display the visual feedback when an item is focused and expanded the submenus and allowed tabbing through them, but I noticed that if you kept on tabbing eventually you would get to the menus a second time, but they would not expand/navigate properly. This was due to the fact that the wp-menu-image links did not have a tabindex on them and therefore were last in the tabbing order. If these links are assigned a positive value tabindex, it messes up the tabbed navigation because you would have to tab twice to open the submenu. Assigning these items a -1 tabindex takes them out of the tabbing sequence completely.
#7
@
12 years ago
- Keywords needs-patch added; has-patch needs-testing removed
We should definitely prevent those items from opening a second time, but the issue is that the menus will no longer be tabbable when collapsed. A potential fix could unify the image and title into a single link.
#8
@
12 years ago
Looking at all the options there, not sure it's good to open the flyouts when the menu is unfolded, they aren't accessible anyways.
Leaving only the <a> tags as tabinedx-ed (default browser behavior) makes tabbing through it work pretty well:
- flyouts are not shown,
- the current screen submenu is expanded, so tabbing goes through all items on it,
- other submenus are accessible after pressing Enter on the top menu item (that loads the other screen making all submenus there accessible with tabbing).
In [19198]: