[wp-trac] [WordPress Trac] #34668: Network admin can't be accessed via keyboard
WordPress Trac
noreply at wordpress.org
Sat Nov 6 18:06:35 UTC 2021
#34668: Network admin can't be accessed via keyboard
-------------------------------------+-------------------------------------
Reporter: abletec | Owner: sabernhardt
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.9
Component: Toolbar | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses: accessibility,
needs-testing | javascript
-------------------------------------+-------------------------------------
Comment (by alexstine):
@sabernhardt Agree with those observations completely.
Honestly, if this was to be refactored correctly, I would not allow top
level submenus to have links. They would be rendered as buttons with the
top level link being the first item in the menu. That way there is no
problem with having to handle keyboard events differently with screen
readers. I think this will greatly improve the UX, your latest idea, but
this whole class needs to be refactored in the future. I'd like to do it
now but I just don't think there's enough support in current class
implementation to do what I want it to do. I could re-code the core links,
but it's the custom admin menus that wouldn't have proper support. The
only true way to achieve this would be to replicate the functionality in
the class. That way, you would get this.
About WordPress button
Begin submenu:
About WordPress link
Other links...
Hope this makes sense.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34668#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list