What the person is doing
The controlled item has clear on/off logic and the label can describe the same object in both states.
Foundation · lesson 4 of 20 · Selection And Choice
Underlying principle: Choice controls express how many options are available, how many may be selected, and when the selection takes effect. The control should reveal the meaning and consequence of each choice.
Let users change one reversible setting immediately and understand the applied effect.
Choice controls express how many options are available, how many may be selected, and when the selection takes effect. The control should reveal the meaning and consequence of each choice.
The controlled item has clear on/off logic and the label can describe the same object in both states.
Let users change one reversible setting immediately and understand the applied effect.
Off state.
Can the setting honestly be described as on or off?
Activating the switch changes only the named setting between on and off.
The controlled item has clear on/off logic and the label can describe the same object in both states.
Open the working example, try its controls, and compare the behavior against the decision guidance.
The controlled item has clear on/off logic and the label can describe the same object in both states.
Let users change one reversible setting immediately and understand the applied effect.
Off state.
The switch looks on while the service is still offline.
Use role switch with aria-checked or a native checkbox implementation that exposes the checked state.
W3C Web Accessibility Initiative - checked
APG switch guidance defines binary on/off semantics, stable labels, accessible names, aria-checked state, and keyboard toggling expectations.
IBM Carbon Design System - checked
Carbon toggle guidance supports immediate reversible binary setting changes and documents on, off, focus, disabled, read-only, skeleton, label, state text, and click target behavior.
GNOME - checked
GNOME switch guidance limits switches to clear on/off features, settings, or hardware and documents delayed effect and unavailable-state handling.
Source trail checked: