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 (
mixed value is not supported, and user agents MUST treat a
mixed value as equivalent to
false for this role.