WCAG Encyclopedia

3.2.2 · UnderstandableLevel A

On Input

Changing a setting must not change the context either, unless you warned the reader first. Picking an option is not the same as committing to it.

Principle
Understandable
Guideline
3.2
Level
A
In WCAG since
2.0
Number
3.2.2

Broken, then fixed

The same interface twice: first with the mistake, then with the smallest change that fixes it.

Broken: Choosing a country reloads the page mid-form.
Country: France ▾reloads on change

Everything typed above it is gone. A screen reader user hears the page restart and has to work out what happened and how much they lost.

Fixed: The change is applied by a button, or announced in advance.
Country: France ▾Update address format

Updating part of the page in place is fine and does not count as a change of context — what fails is navigating, submitting, or moving focus somewhere unexpected.

How to test

Check your own interface against 3.2.2, one step at a time.

  1. List every form control that changes a setting: select menus, radio buttons, checkboxes, switches and text fields.
  2. Change each one with the keyboard: the arrow keys in a select menu or a radio group, Space on a checkbox, typing in a text field.
  3. After each change, watch for a change of context: a form that submits, another page that loads, a new window that opens, or focus that jumps to another field.
  4. For each change of context you find, look before the control for text that warns about it, such as "Choosing a country reloads the page". A warning that appears only after the change does not count.
  5. Change a value in each form without activating its submit button. Check that the form is not sent, unless text before the control says it will be.

Common questions

Can a select menu submit the form when an option is chosen?

No, unless the page says so before the reader uses it. Without a warning, a keyboard user who arrows through the options is sent away on the first one. A separate Go button avoids the problem.

Is showing more fields when a radio button is chosen a failure?

No. Revealing fields changes the content while the form and focus stay where they are, so it is not a change of context.

Does moving focus to the next field automatically fail 3.2.2?

Only when the reader was not told first. Moving focus is a change of context, so a phone number field that jumps ahead after three digits needs an instruction before it that says so.

Try it yourself

A lab is a small working piece of interface that you change yourself. Read its steps, use the controls under it, and watch the verdict line at the bottom: it says whether the criterion passes or fails as you go. Reset puts it back.

Try it: change the country

How to use this lab

  1. Goal. Change the country in a checkout form without losing the name already typed.
  2. The controls. The options under “When the country changes, the page” set whether the mock checkout Goes to its page straight away or Waits for the Go button. The options under “Choose the country” change the country, and Press Go appears when the page waits for it.
  3. Try this. The lab starts on Goes to its page straight away. Choose France and see the page change and the name vanish. Then choose Waits for the Go button, change the country and press Press Go.
  4. What it means. With Waits for the Go button, 3.2.2 passes: nothing changes until you ask for it. With Goes to its page straight away, 3.2.2 fails, because choosing an option moves people to a new page they didn’t expect and loses what they typed. The verdict line under the lab says which.
When the country changes, the page
Choose the country

On the page: shop.example/uk/checkout. Name: Ada Lovelace. Country: United Kingdom.

3.2.2 fails

Also in guideline 3.2

Criteria in the same guideline often fail together.