Files
WCAG/3-understandable/3.2.1-on-focus.md
T
2025-12-23 21:04:52 -05:00

1.2 KiB

Back to 3 Understandable index

3.2.1 On Focus

  • Level: A
  • Guideline: 3.2 Predictable
  • Principle: 3 Understandable

What it is

When any user interface component receives focus, it does not initiate a change of context.

How to test

  • Check: When any user interface component receives focus, it does not initiate a change of context.
  • Use the sufficient techniques below as acceptable methods when applicable.
  • Confirm none of the common failures apply.

Sufficient techniques (W3C)

  • G107: Using "activate" rather than "focus" as a trigger for changes of context

Advisory techniques (W3C)

  • G200: Opening new windows and tabs from a link only when necessary
  • G201: Giving users advanced warning when opening a new window

Common failures (W3C)

  • F55: Failure of Success Criteria 2.1.1, 2.4.7, 2.4.13, and 3.2.1 due to using script to remove focus when focus is received

Resources

Back to 3 Understandable index