Introduction to ARIA Attributes

Learn when and how to use ARIA roles, labels, and live regions to enhance accessibility beyond native HTML.

Step 1 of 6

What is ARIA and why does it exist?

ARIA stands for Accessible Rich Internet Applications. It is a set of HTML attributes that provide additional information to assistive technologies when native HTML elements alone are not enough. ARIA was created by the W3C to bridge the gap between the complex interactive interfaces of modern web applications and the relatively simple document structure that HTML was originally designed for.

Consider a custom dropdown menu built from divs and JavaScript. To a sighted user, it looks and behaves like a dropdown — they can click to open it, see the options, and select one. But to a screen reader, it is just a stack of divs. The screen reader has no idea that it is a dropdown, that it can be opened, what the current selection is, or how to interact with it. ARIA attributes fill in this missing information: they tell the screen reader "this is a listbox," "it is currently collapsed," "the selected option is Option 2," and "press Enter to open."

However — and this is critical — ARIA should be your last resort, not your first tool. The most important rule of ARIA is called the "First Rule of ARIA": if you can use a native HTML element that already has the semantics and behavior you need, use it instead of adding ARIA to a generic element. A