Skip to content

Find what you need, instantly

Search components, ARIA roles & attributes, and WCAG criteria.

All attributes

aria-checked

Tristate

Communicates the checked state of a checkbox, radio button, switch, or checkable menu item. It is tri-state — true, false, or mixed — where 'mixed' represents a partially checked parent checkbox. Native form controls expose this automatically; you set it by hand only on custom widgets built from generic elements.

Values
true
The element is checked.
false
The element is not checked.
mixed
A partially checked (indeterminate) state, for tri-state checkboxes.
undefined (default)
The element does not support being checked.
Used on
<input type="checkbox"><input type="radio">
Example
aria-checked="…"
<span role="checkbox" aria-checked="mixed" tabindex="0">
  Select all
</span>