[wp-trac] [WordPress Trac] #63011: Customizer: The back button is not keyboard focusable
WordPress Trac
noreply at wordpress.org
Mon Feb 24 14:39:54 UTC 2025
#63011: Customizer: The back button is not keyboard focusable
---------------------------+-----------------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version:
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
The back button in the Customizer has `tabindex="-1" applied to it, so
it's not keyboard focusable:
https://github.com/WordPress/wordpress-
develop/blob/54e97c4c9a9ad71e6005d7e61e4f011ab08d1d4a/src/wp-includes
/class-wp-customize-nav-menus.php#L1148
Therefore, keyboard-only users will have to hit the close button to return
to the dashboard before they can access another submenu.
From my testing, it looks like we can remove the `tabindex=-1` (and add
`type="button"`).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63011>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list