[aria-*] attributes match their roles

Each ARIA `role` supports a specific subset of `aria-*` attributes. Mismatching these invalidates the `aria-*` attributes. [Learn how to match ARIA attributes to their roles](https://dequeuniversity.c

Indicators

Impact

(How ScanGov measures tasklist priorities.)

About

Each ARIA role supports a specific subset of aria-* attributes. Mismatching these invalidates the aria-* attributes. [Learn how to match ARIA attributes to their roles](https://dequeuniversity.com/rules/axe/4.10/aria-allowed-attr).

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.

Error

(ScanGov messaging when a site fails a standard)

Failed: [aria-*] attributes match their roles

Guidance

Get ScanGov