01What is ARIA Attribute Reference?
ARIA attribute names are easy to half remember. Was aria-sort a state or a property? Does aria-selected go on a button or an option? This page is a small, searchable cheat sheet that answers those questions without opening the full spec. It is a hand-picked set, not every attribute, and the entries were checked against WAI-ARIA 1.2, the current W3C Recommendation. The data is split into three groups that follow the spec's own classification. Roles has 15 entries: the landmarks banner, navigation, main, complementary, contentinfo and search, plus widget roles such as button, tab, tabpanel, dialog, alert, alertdialog, progressbar, menu and menuitem. Properties has 17 entries, including aria-label, aria-labelledby, aria-describedby, aria-controls, the live-region trio and the aria-value* attributes. States has 10, from aria-expanded and aria-checked to aria-busy and aria-hidden. aria-sort and aria-dropeffect sit under properties because that is where ARIA 1.2 puts them. The two drag-and-drop attributes, aria-grabbed and aria-dropeffect, are marked as deprecated since ARIA 1.1. Every card shows the name, a short description, a usage snippet and a "Used on" line listing the roles or native element it belongs to. We wrote the snippets to be valid markup. aria-selected sits on role="option", aria-checked on role="checkbox", and the value attributes on slider, meter or spinbutton rather than a text input. Landmark cards put the role on a plain div and name the native element, because ARIA in HTML says not to repeat an implicit role on <nav> or <main>. Here is how it behaves in practice. Open Properties and type "label". You get aria-label and aria-labelledby, and the footer reads 2 items. Switch to States and type "expanded" to see one card, with the snippet <button aria-expanded="false" aria-controls="menu-1">Menu</button>. The copy icon puts that snippet on your clipboard. A few honest limits. Search only looks inside the group that is selected, so typing aria-expanded while Roles is active shows "No matching attributes found". It matches the name, description and Used on text, not the snippet. The list is static data in the page, so nothing you type leaves your browser, but it also means newer drafts such as ARIA 1.3 are not covered. For edge cases, keep the spec open next to it.
Front-end developers who build custom widgets and want a quick check on the right role, state or property before shipping a component. The tool runs entirely in your browser, so your data never leaves your device.
02How to use ARIA Attribute Reference
- Pick a group with the Roles, Properties or States buttons. Each button shows how many entries it holds.
- Type part of a name, a word from the description or an element name into Search attributes... to filter the current group.
- Read the description, the usage snippet and the Used on line on the matching card.
- Hover the card and click the copy icon to put its usage snippet on your clipboard. A Copied! note appears in the footer.
- Click the reset button to clear the search and go back to the Roles group.
03Worked examples
- Input:
Group: Properties, Search: label - Result:
aria-label | String that becomes the accessible name. Not allowed on roles such as generic (plain div/span), paragraph, code, caption or presentation. | <button aria-label="Close">×</button> aria-labelledby | Names the element from the text of other elements (by id). Same prohibited roles as aria-label. | <section aria-labelledby="heading-id">…</section> 2 items - Both cards match on their names. The Used on lines are left out here to keep it short.
- Input:
Group: States, Search: expanded - Result:
aria-expanded | Whether the element it controls is expanded or collapsed. | <button aria-expanded="false" aria-controls="menu-1">Menu</button> | Used on: button, combobox, link, tab, treeitem, row… 1 items - Toggle the value between true and false on the button that opens the menu or accordion.
- Input:
Group: Roles, Search: dialog - Result:
role="dialog" | Dialog or modal window. Needs an accessible name, usually via aria-labelledby. | Used on: Native: <dialog> role="alertdialog" | Modal dialog that interrupts the user with a message needing a response. | Used on: div 2 items - The search is a substring match, so alertdialog shows up too. Usage snippets are trimmed here.
- Input:
Group: Properties, Search: slider - Result:
aria-valuemin, aria-valuemax, aria-valuenow 3 items - These match through the Used on line (slider, spinbutton, scrollbar, meter, progressbar, separator). Only the card names are shown.
- Input:
Group: Roles, Search: aria-expanded - Result:
No matching attributes found 0 items - aria-expanded lives in States. The search does not look across groups, so switch to States first.
04Common use cases
- Checking which attribute a custom React disclosure button needs (aria-expanded plus aria-controls) before a pull request goes up
- Picking live-region settings for a toast or inline form error so screen readers announce it at the right moment
- Looking up the role and state pair for a hand-built tab strip in a Vue or Svelte component library
- Grabbing a valid snippet while fixing issues flagged by axe or Lighthouse accessibility audits
- Confirming that aria-grabbed and aria-dropeffect are deprecated before copying an old drag-and-drop tutorial
- Settling a code review argument about whether <nav role="navigation"> is redundant
05Tips
- If a search comes back empty, check which group is active. The filter never looks across Roles, Properties and States at once.
- Search also matches the Used on line, so typing "slider" in Properties lists all three aria-value* attributes.
- A real <button> already has the button role, focus and Enter/Space handling. role="button" on a div means you add tabindex and key handlers yourself.
- Use aria-live="polite" for counts and status text. Save role="alert" for messages that really should interrupt, since it implies assertive.
- aria-label and aria-labelledby are prohibited on the generic role, so a name on a plain div or span is often ignored. Give the element a real role first.
06Related concepts
WAI-ARIA 1.2, ARIA in HTML, Accessibility tree, Landmark roles, Live regions, Screen readers, WCAG.
Frequently Asked Questions
What is ARIA Attribute Reference?
ARIA Attribute Reference is a free, browser-based developer tool on AIDToolStack. Browse ARIA roles, properties, and states It requires no installation or sign-up and works entirely in your browser.
Is ARIA Attribute Reference free to use?
Yes. No sign-up, no fees and no usage cap.
Does ARIA Attribute Reference store my data?
No. It runs in your browser; nothing is uploaded.