The ARIA switch role is very similar to the checkbox role, however it has different semantics — it has two states that represent on/off, rather than checked/unchecked states.
From the ARIA 1.1 spec: The aria-checked
attribute of a switch
indicates whether the input is on (true
) or off (false
). The mixed
value is not supported, and user agents MUST treat a mixed
value as equivalent to false
for this role.
Document Tags and Contributors
Tags:
Contributors to this page:
teoli,
chrisdavidmills
Last updated by:
teoli,