On this page

States & Properties

State vs property#

Examples

  1. States — aria-expanded, aria-checked, aria-selected, aria-disabled
  2. Properties — aria-labelledby, aria-describedby, aria-controls
  3. Both must stay truthful to the visual UI

Interactive states#

Interactive demo

Toggle states

ARIA state

Role
button
Name
"Details"
State
aria-expanded="false"

Test

Test
ActionExpect
Expand disclosurearia-expanded becomes true
Check boxChecked state exposed
Disable controlDisabled state exposed and input blocked