• Success Criterion 3.2.2
  • Conformance level A
  • W3C reference F36

Form That Submits Itself the Moment the Last Field Is Filled

3.2.2 — On Input

Scenario

Setting

A customer-support live-chat widget

What’s wrong

The form submits itself automatically the moment the last field is filled — the user never chose to submit and may not be ready.

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

Fill in every field except the last one, then fill the last field and stop (don't press submit): if the form submits automatically, it fails.

How to fix

Add a Submit button — never auto-submit when the last field is filled.

<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 customer-support live-chat widget, this barrier is gone for keyboard and screen-reader users — they can complete the task without hitting this wall.

Who is affected

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

Learn more