Stop Misusing Toggle Switches
Use a toggle switch if you are:
- Applying a system state, not a contextual one
- Presenting binary options, not opposing ones
- Activating a state, not performing an action
Use a toggle switch if you are:
- Applying a system state, not a contextual one
- Presenting binary options, not opposing ones
- Activating a state, not performing an action
Analogue switches, dials, and buttons, buttons, buttons (just like that Flickr group I linked to).
Sara shows a few different approaches to building accessible toggle switches:
Always, always start thinking about the markup and accessibility when building components, regardless of how small or simple they seem.
Photos of analogue interfaces: switches, knobs, levers, dials, buttons, so many buttons.