ARIA · WCAG 2.0 Level A
Elements must only use supported ARIA attributes
Ensure an element's role supports its ARIA attributes.
What it means
The aria-allowed-attr rule flags elements that fail this check. It maps to WCAG success criterion 4.1.2.
Who it affects
Screen reader and voice control users, who depend on ARIA roles and attributes being valid.
How to fix it
Remove ARIA attributes that the element's role does not support.
<!-- aria-checked is not allowed on a link -->
<a href="/x">Item</a>
Check it on your site
Run a free scan. If this rule fails, the results list the affected elements. Deque, which maintains axe-core, also documents this rule in detail: Deque University: aria-allowed-attr.
Quick answers
What does the axe rule "aria-allowed-attr" check?
Ensure an element's role supports its ARIA attributes.
How do I fix "Elements must only use supported ARIA attributes"?
Remove ARIA attributes that the element's role does not support.
Who is affected by aria-allowed-attr failures?
Screen reader and voice control users, who depend on ARIA roles and attributes being valid.
Automated accessibility scan. Results are informational and may not identify every accessibility issue. This service is not legal advice, a compliance certification, or a substitute for comprehensive manual accessibility testing.