ARIA
Attributes that add accessibility information to web content when native HTML is not enough.
See it on the 3D treeGoing deeper
Short for Accessible Rich Internet Applications, a W3C specification of roles, states and properties, such as marking a section as expanded or announcing a live update. It changes what assistive technology is told, not how things look or behave, so keyboard support must still be built in script.
Why it matters
It lets custom widgets such as tabs or comboboxes be understood, provided you specify their behaviour fully.
In practice
A disclosure button gets an expanded state that updates when the panel opens, so screen reader users know what happened.
Common mistake
Adding a button role to a generic element without adding focus or keyboard activation.
Connected terms
- Assistive TechnologyHelps expose custom controls' roles and states to these tools.
- Keyboard NavigationCustom widgets need keyboard behaviour that matches their declared role.
- Screen ReaderScreen readers announce the roles, names and states that ARIA supplies.
- Semantic HTMLPrefer a native element first, since incorrect ARIA can make things worse.