Understandable · Predictable

WCAG 3.2.1 On Focus

Simply moving keyboard focus onto an element must never trigger an unexpected change of context, such as auto-submitting a form or navigating away.

3.2.1 Level A Added in WCAG 2.0 Needs manual review

Illustration: a refresh icon, with WCAG 3.2.1 and On Focus
Table of contents

What WCAG 3.2.1 Requires

Simply moving keyboard focus onto an element must never trigger an unexpected change of context, such as auto-submitting a form or navigating away.

How to Test It by Hand

Tab through every field and control and confirm nothing unexpected happens (a new window, a page change, a form submission) just from receiving focus.

Common Failures

  • A dropdown auto-submits the form the moment it receives focus, before the visitor has chosen an option.
  • Tabbing into a field opens a new browser tab or window.

Testing WCAG 3.2.1 With AccessBell

This criterion depends on meaning or context, so it needs a person to judge. AccessBell's report lists it for manual review rather than marking it pass or fail automatically, so it is not missed.

Run a free scan to spot issues on your own pages.

Frequently Asked Questions

What does WCAG 3.2.1 require?

Simply moving keyboard focus onto an element must never trigger an unexpected change of context, such as auto-submitting a form or navigating away.

Can AccessBell test WCAG 3.2.1 automatically?

Not fully. This criterion needs a person to judge, so AccessBell's report lists it for manual review rather than marking it pass or fail on its own.

What level is WCAG 3.2.1?

Level A, added in WCAG 2.0.

Sources

This page explains a technical standard and is not legal advice. See our disclaimer.

About the Author

Anton StewartAuthor

Contributor, AccessBell

Anton Stewart writes and reviews accessibility guides for the AccessBell blog, checked against the W3C standards and other primary sources.

Check Your Site Against WCAG 3.2.1

Run a free scan to spot 3.2.1 On Focus issues and every other automated WCAG check, then get help fixing them.

Pro is a 3-day free trial, then $29 per domain per month or $199 per year. You add a card at checkout and are not charged until the trial ends. Cancel before then and you will not be charged.

Not ready for a subscription? A Page Report is $19 for one page, and a Domain Audit is $79 for up to 500 pages.