Global styles panel header is a menubar ARIA role with missing required menu items #58313
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Package] Edit Site
/packages/edit-site
[Package] Interface
/packages/interface
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Tje top part of the Global Styles panel is an element with
role="menubar"
andaria-label="Styles actions"
that wraps soem buttons (with the exception of the 'Close' button). Screenshot:A menubar can only contain elements with role group, menuitem and the menuitems variants. It can not contain anything else. Reference:
https://www.w3.org/TR/wai-aria-1.2/#menubar
Required Owned Elements:
Instead:
<strong>
element that wraps it.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: