Opened 9 years ago
Closed 9 years ago
#32883 closed defect (bug) (fixed)
Menu Customizer: available menu items (and widgets) after preview iframe should be really hidden and out of tab order
Reported by: | afercia | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.3 | Priority: | normal |
Severity: | normal | Version: | 4.3 |
Component: | Customize | Keywords: | has-patch |
Focuses: | accessibility | Cc: |
Description
The available Menu Items panel (and also the available Widgets panel) are placed in the HTML source after the preview iframe. They're hidden because they're just out of view but still focusable.
To reproduce, navigate the Customizer using your keyboard and tab through all the elements in the preview until you reach the last focusable element, e.g. like in the screenshot below:
Now keep tabbing and you will notice there are several tab stops before you can actually reach the end of the page. You're actually navigating through all the available Widgets and the available Menu Items controls.
Screen readers will announce all this content since it's actually "visible" for assistive technologies.
The Customizer is already using visibility: hidden
to hide hidden elements from keyboard focus and screen readers, see 33069 and that should be applied here too.
@afercia I'll test this patch for you tomorrow :)