Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Using the switch role

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

 Contributors to this page: teoli, chrisdavidmills
 Last updated by: teoli,