ARIA
A W3C standard of extra labels in the code, called roles, states and properties, that tell assistive technology what a custom part of the page is and what state it's in.
Also called WAI-ARIA, Accessible Rich Internet Applications
Example
A made-up settings page has a custom on/off toggle. ARIA labels tell a screen reader that it's a switch and whether it's currently on.
When to use it
Use real HTML elements first and add ARIA only when no element does the job (our suggestion). ARIA only changes what assistive technology is told; it doesn't add keyboard behaviour, so the team must build that too. W3C's design guide warns that no ARIA is better than bad ARIA, because wrong labels mislead people who can't see the screen.
The evidence 4 sourced claims
Every sentence on this card traces back to one of these claims, each linked to its source. How we research
Unlike native HTML input elements, ARIA roles do not make browsers provide keyboard behaviour or styling; giving a div the button role is a promise the author has added the keyboard behaviour.
WAI-ARIA 1.2 (W3C Recommendation, 6 June 2023) provides an ontology of roles, states and properties that define accessible user interface elements, used by assistive technologies.
ARIA changes only the accessibility tree, not the DOM; otherwise user agents behave as they would natively.
The APG warns 'No ARIA is better than bad ARIA': incorrect ARIA misrepresents visual experiences, with potentially devastating effects on the non-visual experience.