Content Structure dropdown remains open after focus moves to page #15323
Labels
[Feature] Document Outline
An option that outlines content based on a title and headings used in the post/page
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Content Structure dropdown remains open after focus moves to page
Issue description
When users open the "Block Navigation" dropdown and click on an
element, the dropdown closes and focus can be seen on which Block was
selected. However, when users open the Content Structure dropdown and
click on an element, the dropdown remains open while focus moves to the
specified block. The open dropdown obscures the focussed element, and
the Escape key can no longer close the dropdown.
Obscuring the focus position is potentially confusing for sighted
keyboard users, since it may appear as though no item has focus, or make
it unclear as to where the focus position is.
Remediation Guidance
Depending on the reason why the Content Structure remains open, there
are two potential solutions:
is on the page, then shrinking the page's width so that the open
dropdown is on the left while the page is on the right (without
horizontal scrollbars on non-zoomed desktops at least) allows users to
view both the outline and their current focus position.
does, so that focus on the page element is clearly identifiable.
Relevant standards
AA)
Note: This issue may be a duplicate with other existing accessibility-related bugs in this project. This issue comes from the Gutenberg accessibility audit, performed by Tenon and funded by WP Campus. This issue is GUT-27 in Tenon's report
The text was updated successfully, but these errors were encountered: