switch
A type of checkbox that represents on/off values, as opposed to checked/unchecked values.
Widget roles act as standalone user interface widgets or as part of larger, composite widgets.
Description
New in ARIA 1.1
A type of checkbox that represents on/off values, as opposed to checked/unchecked values. See related checkbox.
The aria-checked attribute of a switch indicates whether the input is on (true) or off (false). The mixed value is invalid, and user agents MUST treat a mixed value as equivalent to false for this role.
Note: A switch provides approximately the same functionality as a checkbox and toggle button, but makes it possible for assistive technologies to present the widget in a fashion consistent with its on-screen appearance.
Example
Characteristics
Semantic HTML
Reference