You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The container that holds the text, Clear all, and Import buttons in the Presets dialog is described programmatically as a menuitem, but it does not have the UI expected of this role. This can confuse screen reader users who rely on the role description to understand what an interactive element will do or how to interact with it.
Remove the role attribute, as this section does not need a role, and remove the tabindex, as it is not an interactive element that needs keyboard focus and does not need to receive focus for itself.
derekjackson-das
changed the title
Incorrect Role, "Menu Item," in one of the Presets Panel's containers
Presets Panel: Incorrect Role, "Menu Item," in one of panel's containers
Jan 27, 2025
Issue Description
The container that holds the text, Clear all, and Import buttons in the Presets dialog is described programmatically as a
menuitem
, but it does not have the UI expected of this role. This can confuse screen reader users who rely on the role description to understand what an interactive element will do or how to interact with it.Derived from #5187 .
WCAG Criteria
1.3.1 Info and Relationships - A
Notes
Remove the
role
attribute, as this section does not need a role, and remove thetabindex
, as it is not an interactive element that needs keyboard focus and does not need to receive focus for itself.Screenshot or Screen Recording
Relevant Code
The text was updated successfully, but these errors were encountered: