Skip to content

WCAG 3.2.1: On focus

In European law this criterion is EN 301 549 clause 9.3.2.1 — chapter 9, the part of the harmonised standard that applies to websites under the European Accessibility Act.

How to test by hand

No automated rule tests this criterion — neither axe-core nor our own browser checks. It has to be checked by a person.

You need

  • Keyboard only
  • Visual inspection

Steps

  1. Click in the address bar, then press Tab repeatedly through every link, button and form field. At each stop, check that nothing major happens just because the item received focus.
  2. Watch for a new window, tab, page or dialog opening, or a form submitting, the moment a field gets focus, before you type or press anything.
  3. Press Tab and Shift+Tab past each field several times. Check that focus is not pulled away to another element or removed, so you can always move on.
  4. Tab into each dropdown or menu, move to a choice, then leave with Tab or Escape without pressing Enter. Check that the page does not jump to a new screen.
  5. Repeat by clicking into text fields with the mouse. Content that simply appears (such as a hint below the field) is fine as long as focus, window and page stay the same.
Passes when
Moving focus onto any component, by Tab or by clicking into a field, never opens a new window, submits a form, loads a new page or moves focus elsewhere.
Fails when
Focusing a component triggers a change of context, such as a pop-up window opening, the form submitting, or focus being pushed to another element.

Steps are based on W3C’s Understanding WCAG 2.2: 3.2.1 On focus, which explains the intent, examples and exceptions in full. A manual check by you is a first look, not an audit: it does not make a site conformant and is not a substitute for testing by an experienced auditor with real assistive technology users. How we separate what a machine can and cannot check is explained in our methodology; for a full audit, see the directory of accessibility agencies.

What automation checks

Nothing. axe-core has no rule for WCAG 3.2.1, and none of our own browser checks tests it, so our scanner reports nothing about this criterion — a clean scan says nothing either way.

What automation cannot prove

Without an automated rule, every failure of WCAG 3.2.1 has to be found by a person. Whether the result actually works for people — in context, with real content — is a judgement call that needs a human auditor. Nothing on this page is a statement of conformance or legal advice. The full map of what our scanner covers and where it stops is on what our scanner checks.

Related guides

Check the criteria a machine can test

Our free scan does not test WCAG 3.2.1, but it covers the criteria that automation can check. No signup required.

Scan website