ARIA states and properties
The aria-* attributes that describe an element's current condition, such as aria-expanded="true", or its relationships, such as aria-controls.
In more detail
States change as users interact (checked, expanded, selected); properties are more stable (labelledby, haspopup). Components must keep them in sync with what is shown, which headless primitives do automatically.
Related terms
- ARIA — The W3C standard of HTML attributes, such as role and aria-expanded, that tell assistive technology what a custom widget is and what state it is in.
- ARIA role — The role attribute that tells assistive technology what kind of thing an element is, such as button, dialog, tab or switch.
- aria-expanded — An ARIA state on a button or trigger saying whether the content it controls is currently shown.
Taught in
- WAI-ARIA Semantics: Roles, States & Accessible Name Computation — Design Systems & Component Engineering