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.

In more detail

ARIA stands for Accessible Rich Internet Applications and is published by the W3C's Web Accessibility Initiative, hence WAI-ARIA. It only changes what assistive technology is told, never how the element behaves: adding role="button" to a div does not make it focusable or respond to Enter. That is why the First Rule of ARIA says to prefer native HTML.

Examples

In the browser: ARIA stands for Accessible Rich Internet Applications. It changes only the accessibility tree, not behaviour or appearance, so you still have to add keyboard handling yourself. The first rule of ARIA is to use a native HTML element instead whenever one exists.
<div role="tablist"><button role="tab" aria-selected={true}>A</button></div>

Related terms

Taught in

References