- Success Criterion 3.2.2
- Conformance level A
Country Selector That Re-Renders the Form and Drops Focus
3.2.2 — On Input
Scenario
Setting
A food-delivery app's order-tracking screen
What’s wrong
Country select re-rendering the entire form and dropping focus/entered data (change of context without warning).
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
Change a country/region select without pressing submit: if the entire form re-renders and drops focus or previously entered data, 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 food-delivery app's order-tracking screen, this barrier is gone for keyboard and screen-reader users — they reach the same outcome without extra effort.
Who is affected
Keyboard and screen-reader users, and people who need predictable form behavior.
Learn more
- Understanding Understanding document (opens in a new tab)
Related scenarios
- Form That Submits Itself the Moment the Last Field Is Filled
- Selecting an Option That Opens a New Window With No Warning
- Dropdown That Navigates to a New Page on Selection
- Checking a Box That Reloads the Page and Loses Entries
- Search Box That Auto-Navigates Once Enough Characters Are Typed
- Radio Selection That Auto-Advances a Multi-Step Wizard