Deprecated ARIA roles are used
Automated check aria-deprecated-role, run with axe-core
- WCAG
- 4.1.2 Name, Role, Value (Level A)
- Severity
- Moderate: a degraded experience
- Typical effort
- Quick win, under 1 hour
- Category
- Code quality
Who this affects
Screen reader users.
Why it matters
Deprecated roles are no longer supported consistently, so the element may be announced wrongly or as plain content.
How to fix it
Replace the deprecated role with its current equivalent, or with the matching native HTML element.
Check your own website
The free scan tests 3 pages against WCAG 2.2 A and AA in about 30 seconds. No sign-up.
Related checks: Code quality
- ARIA attributes used on the wrong elements
- ARIA roles that do not suit the element
- Braille-only ARIA attributes have no spoken equivalent
- ARIA attributes used in ways the role does not allow
- The page body is hidden from assistive technology
- ARIA labels placed on elements that cannot carry them
- ARIA roles are missing their required attributes
- Menus, lists or tabs are missing their required child elements