• Success Criterion 3.2.2
  • Conformance level A

Checking a Box That Reloads the Page and Loses Entries

3.2.2 — On Input

Scenario

Setting

A language-learning app's lesson screen

What’s wrong

Checking a box reloading the page and losing surrounding context/entries.

Example

<select onchange="location.href=this.value">

Why it matters

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

How to test

Check a checkbox without pressing submit: if the page reloads and loses the surrounding context/other entries, 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.

<select onchange="updatePreview()"></select>
<button onclick="navigate()">Go</button>

Changing a value should update state, not silently navigate — let the user confirm with an explicit action.

Outcome

On a language-learning app's lesson screen, this barrier is gone for keyboard and screen-reader users — they can finish what they came here to do.

Who is affected

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

Learn more