Can we count your visit?

Our analytics service records the pages you view, so we can see which ones are useful. It saves a random ID in your browser, and we never use it for advertising. Read our privacy policy.

ARIA role

A WAI-ARIA value that tells assistive technology what kind of thing an element is, such as a button or a tab.

Also called
ARIA roles

An ARIA role is a value of the role attribute that tells assistive technology what kind of thing an element is: button, checkbox, tab, dialog, navigation, and so on. Native HTML elements already have roles, so a button element is announced as a button with no extra code.

A role changes only what is announced, not how the element behaves. Adding role="button" to a div makes a screen reader say “button”, but the div still can't receive keyboard focus or respond to Enter and Space until a developer adds both. That is why W3C's first rule of ARIA advises using the native element where one exists.

Source

World Wide Web Consortium (W3C), 2023. Checked .

Get help with every step.

We can work with organizations of every size and industry, from a startup serving its first customers to a bank. We find where you stand, help your team fix what matters, and keep checking as your product changes. That work is evidence of your effort, not a legal guarantee.