Site Editor: Navigation panel items are focusable when hidden #29536
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Type] Bug
An existing feature does not function as intended
Description
When using keyboard navigation within the site editor in full screen mode, the navigation panel items are still focusable, even when hidden.
This makes it unclear where focus is located and creates several extra tab presses to navigate the header controls.
Step-by-step reproduction instructions
Expected behaviour
Focus goes directly from "W" to "+" when tabbing.
Actual behaviour
Focus is captured by hidden elements
Screenshots or screen recording (optional)
Note how the focused element (
document.activeElement
) is not visible on the screen.WordPress information
Device information
The text was updated successfully, but these errors were encountered: