• Success Criterion 3.2.2
  • Conformance level A

Toggle Switch That Immediately Saves and Redirects the User

3.2.2 — On Input

Scenario

Setting

A fashion e-commerce site's checkout page

What’s wrong

Toggle switches immediately saving+redirecting.

Example

Open a fashion e-commerce site's checkout page and this is what you'll see: toggle switches immediately saving+redirecting.

Why it matters

Keyboard and screen-reader users, and people who need predictable form behavior. On a fashion e-commerce site's checkout page, that means they can't predict where to find the same feature.

How to test

Flip a toggle switch: if it immediately saves and redirects elsewhere with no warning, it fails.

How to fix

Changing a field's value must not navigate, submit, close, or change context unless the user was told beforehand or explicitly confirms.

Outcome

With the fix in place on a fashion e-commerce site's checkout page, they predict where to look without relearning the layout.

Who is affected

Keyboard and screen-reader users, and people who need predictable form behavior.

Learn more