ARIA
Also called: WAI-ARIA, Accessible Rich Internet Applications
A W3C specification of roles, states and properties that tell assistive technology what a custom interface element is and does.
Definition
WAI-ARIA (Accessible Rich Internet Applications) is a W3C specification. Its abstract describes it as an ontology of roles, states, and properties that define accessible user interface elements. Authors add these as attributes, such as role="dialog", aria-expanded="true" or aria-label, to convey behavior and structure to assistive technologies. The current Recommendation is WAI-ARIA 1.2.
ARIA changes only what is exposed to the accessibility tree. It adds no keyboard behavior and no styling.
Why it matters
Custom widgets built from div and span (tabs, menus, comboboxes, modals) have no meaning for a screen reader without ARIA. Used well, ARIA lets those widgets meet 4.1.2 Name, Role, Value.
Used badly, it makes things worse. A role="button" on an element that cannot be focused or activated with the keyboard promises something it does not do. The W3C's ARIA Authoring Practices Guide puts it plainly: no ARIA is better than bad ARIA.
How to test or meet it
- Prefer a native HTML element (
button,a,input,details,dialog) over ARIA whenever one exists. - When you do use a role, add the keyboard behavior the Authoring Practices Guide describes for that pattern, and keep states such as
aria-expandedin sync with the UI. - Run an automated check: axe-core tests that roles exist, required attributes are present and values are valid.
- Then test by hand with a screen reader, because a tool cannot tell whether the role, name and state you chose match what the widget does.
WCAG criteria
- 4.1.2 Name, Role, Value (Level A)
- 1.3.1 Info and Relationships (Level A)
- 4.1.3 Status Messages (Level AA)
Related terms
Sources
By the Perceivly team · Published . This explains a term; it is not legal advice.