Reviewed December 3, 2026

Form labels and error handling: causes, diagnosis, and the fix order that works

The complaint arrives as a symptom: a shopper cannot finish, a reviewer flags a page, a letter names a barrier. Form labels and error handling: causes, diagnosis, and the fix order that works is the work of tracing that symptom to its cause, and fixing causes in the order that stops the next complaint, not just this one.

The rule and who it binds

WCAG 2.2 Success Criterion 3.3.1 Error Identification is Level A: when an input error is automatically detected, the item in error must be identified and the error described to the user in text.

Criterion 3.3.3 Error Suggestion is Level AA: when suggestions for correction are known, they must be provided, unless doing so would jeopardise security or the purpose of the content.

Failure patterns that repeat

The patterns repeat across audits: errors announced only in a toast that vanishes before a screen reader reaches it; a single 'something went wrong' message at the top of a six-field form.

And just as often: error text placed in the footer of the checkout instead of beside the field; fields cleared on submit, so the shopper retypes a full card number to fix a postcode. Each one is cheap to create and expensive to defend, because each one is visible in the page source or in one keyboard pass.

The detail that decides it

Criterion 3.3.4 Error Prevention covers legal and financial transactions at Level AA. Checkout is a financial transaction, so submissions must be reversible, checked, or confirmed. A one-way order submit with no review step is the textbook risk.

Colour alone cannot identify an error. Criterion 1.4.1 Use of Color means a red border with no text fails twice, once for identification and once for colour dependence.

Testing it like an auditor

Submit the checkout empty, then with one deliberate mistake at a time. Each error should name the field, say what is wrong, and keep everything the shopper already typed.

Write down what you tested, on which template, and on what date. An undated pass is an opinion, and in a dispute the other side will treat it as one.

Repairs, in order

Fix the template before the pages. One corrected product template repairs every product on the store; one corrected page repairs one page and leaves the catalogue broken.

Then retest the exact path that failed, with the same tool, and record the result next to the original finding. That pair of records, before and after, is what a settlement report, a procurement reviewer, or a judge actually wants to see.

Related reading

Earlier posts on this site cover ground that this one builds on: Form labels and instructions Shopify shoppers can follow, Your Search Box Has No Label: The Unnamed Fields Every Storefront Ships, Form Errors a Screen Reader Actually Announces.

Frequently asked questions

What does form labels and error handling require, in one sentence?

WCAG 2.2 Success Criterion 3.3.1 Error Identification is Level A: when an input error is automatically detected, the item in error must be identified and the error described to the user in text.

How do I test for problems with form labels and error handling on my own store?

Submit the checkout empty, then with one deliberate mistake at a time. Each error should name the field, say what is wrong, and keep everything the shopper already typed.

Does an automated scan settle this?

No. A scan checks the machine-readable slice of the criteria and misses judgement calls like whether a text alternative is equivalent or a focus order preserves meaning. Use the scan as the first pass, then test manually with a keyboard and a screen reader.

What should I fix first if my store fails on form labels and error handling?

Fix the shared template or component causing the failure, starting with the pages on the purchase path: product, cart, and checkout. Then retest that path and record the before and after results with dates.