Switch

Keyboard

Press Tab to focus the switch and Space to toggle it.

Semantics

Keep the label the same whether the setting is on or off.

Checklist

  • Label the setting and keep the label the same when the state changes.
  • Check Space toggling and explain the on/off state through more than color or position.
  • Disabled switches must not change. Keep the displayed state in sync with the saved setting.

For contrast, zoom and screen reader checks, see the common accessibility checklist.