Open jenny-s51 opened 10 months ago
Some additional comments regarding this issue:
role
attribute, that also has some sort of other "action" button/menu toggle.role="menuitem"
to those action buttons/toggles as well as the main menu item button; this would rely on the assumption that users would know that, within a menu/menu-like list, that they can navigate left/right as well as up/down, which may not be a viable assumption. This also wouldn't be viable for our Tabs component, since the help popover isn't a "tab"role="whateverRole"
from the button to the li
element in the list of whateverItems. This may require updating keyboard functionality and moving some attributes around, and would rely on the assumption that a user would know that there's other content inside the menu item. With VoiceOver at least when making this sort of update, the menu item gets announce as "...menu item, group...", so the "group' verbiage might be enough of a context clue that a user can/should navigate into the menu item for more content.Followup from a11y failures in https://github.com/patternfly/patternfly-react/pull/10487, where a an axe-core rule was added to the ignore array to pass CI for now (aria-required-children
). We should look into resolving this issue to go towards being able to remove that rule from the ignore array since it is a critical rule. The failures that were being flagged by that rule were:
option
roles as children)
Describe the problem
The Patternfly React docs workspace could use a sweeping accessibility audit to find and resolve axe violations across all PF components.
There are several PF components for which AXE is throwing critical a11y errors.
In RHOAI, critical AXE violations have been noted specifically in Menu/Application Launcher, and Tabs
How do you reproduce the problem?
Run axe tests for the components below: https://www.patternfly.org/components/menus/custom-menus/react-demos/application-launcher-menu/ https://www.patternfly.org/components/tabs/#with-help-action-popover
Expected behavior A clear and concise description of the expected behavior. No violations