patternfly / patternfly-react

A set of React components for the PatternFly project.
https://react-staging.patternfly.org/
MIT License
799 stars 355 forks source link

A11y Docs Audit: Resolve Critical Axe Violations #9968

Open jenny-s51 opened 10 months ago

jenny-s51 commented 10 months ago

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

thatblindgeye commented 10 months ago

Some additional comments regarding this issue:

thatblindgeye commented 6 months ago

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: