My learning 0 of 20 lessons complete
Start lesson 1 →
spec 1 linked patterns checked

WAI-ARIA APG Switch Pattern

Defines switches as binary on/off inputs, requires stable labels, documents Space and optional Enter toggling, and maps role switch with aria-checked state.

Read with a purpose

What this source can teach

Use this source to check a technical or accessibility requirement against its exact wording and scope.

  1. Start with the original. Open the source and find the guidance or example relevant to your task.
  2. Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
  3. Check the setting. Compare the source's platform, people, and constraints with your own decision.

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Toggle switch Choose a toggle switch for a single setting with exactly two states that can be applied immediately. Activating the switch changes only the named setting between on and off. APG switch guidance defines binary on/off semantics, stable labels, accessible names, aria-checked state, and keyboard toggling expectations.

Evidence Role

This source is treated as spec evidence. Its value comes from the specific claims and setting described above.

Publisher: W3C Web Accessibility Initiative. Last checked: .

Saved items