Deprecated ARIA roles were not used

Accessibility roles use current, supported values.

On this page

Impact

ScanGov impact ratings

About

Deprecated ARIA roles may not be processed correctly by assistive technology.

Risks

Screen readers may not recognize deprecated roles, breaking navigation.

Why it's important

Ensures assistive technologies like screen readers can correctly interpret and announce page elements to users with disabilities.

User stories

As a screen reader user, I want ARIA attributes to be correctly implemented so that I can understand the purpose and state of interactive elements.

Code

Failing pattern:

<!-- Fail: deprecated role -->
<div role="directory">Navigation links</div>

Passing pattern:

<!-- Pass: use a semantic element -->
<ul aria-label="Navigation links">...</ul>

Error

ScanGov messaging when a site fails a standard:

Failed: Deprecated ARIA roles were not used

Guidance

Indicators

On this page