Start scanning free

( Robust / WCAG 4.1.2 )

Element uses a deprecated ARIA role

This check maps to Name, Role, Value. Use the guidance below to confirm the issue, understand who it affects and ship a fix.

Serious Level A WCAG 4.1.2 — Name, Role, Value

What’s wrong

The element uses an ARIA role that the spec has deprecated, such as role="directory" or role="presentation" on a focusable element.

Why it matters

Browsers and assistive tech are free to stop supporting deprecated roles, or already treat them inconsistently. Announcements become unreliable across screen readers.

How to fix it

Replace the deprecated role with its current equivalent, or remove it if the element no longer needs a role at all.

Before
<ul role="directory">
  <li><a href="/team/amy">Amy</a></li>
</ul>
After
<ul>
  <li><a href="/team/amy">Amy</a></li>
</ul>

Learn more