ARIA attributes must conform to valid names
How to fix the aria-valid-attr accessibility rule. ARIA.
What this rule checks
Ensure attributes that begin with aria- are valid ARIA attributes
Who is affected
An attribute starting with aria- isn't a real ARIA attribute (usually a typo), so it does nothing.
How to fix it
Fix the spelling (e.g. aria-labelledby, not aria-labeledby).
WCAG success criteria
When this rule fails, the page fails:
- 4.1.2 Name, Role, Value (Level A, WCAG 2.0, 2.1, 2.2)
Find it on your own page
Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools.
More detail
- Deque University’s reference for aria-valid-attr (the makers of axe-core, the engine our scanner uses)
- All fix guides