checkbox/radio buttons changing context.

Rule ID Focus 6
Definition checkbox and radio buttons must not automatically change context.
Purpose
  • Users do not expect that checking or unchecking a radio button or checkbox will cause focus to move to another a page or section of the current page they are on.
Mappings none
WCAG Success Criteria

3.2.2 On Input (Level A, Primary Success Criterion)

Rule Category Forms
Scope Element
Target Resources input[type="checkbox"] and input[type="radio"]
Techniques
  • Remove or modify the event handlers to change the behavior to not automatically change context when the checkbox or radio button is checked or unchecked.
Informational Links