Reviewed November 29, 2026

WCAG 3.3.1 Error Identification: Say What Broke, in Words

WCAG 3.3.1 Error Identification, Level A, requires that when a form field is in error, the error is identified and described to the user in text. A red outline, a shaken field, or an icon by itself does not comply. The shopper must be able to read what is wrong: which field, and what about it. Checkout forms are where this criterion earns its keep, because every vague error at payment becomes an abandoned order or a support ticket.

The most expensive sentence in ecommerce is the one your checkout never says. A card is declined or a postcode is malformed, the form redraws with one field outlined in red, and the shopper starts guessing: wrong digit, wrong address, wrong card entirely? Screen reader users get even less, sometimes silence, because the red outline exists only in the visual layer.

Error identification is a Level A criterion, the floor of the floor. Failing it does not suggest a store cut a corner on an advanced requirement. It suggests nobody ever submitted the form with a screen reader running, or with a deliberate mistake, and watched what a stranger would experience.

What a compliant error looks like

Three pieces, every time: the field is programmatically marked invalid, the error is described in text connected to the field, and the user is taken to or told where the problems are. In HTML that usually means aria-invalid on the field, an error message linked with aria-describedby, and on submit, an error summary or focus moved to the first problem with its description announced.

The description must describe. Required field is weak; Card number is incomplete, it should be 16 digits, is an error a person can act on. Vague errors also fail the spirit of 3.3.3 Error Suggestion at AA, which asks for the correction when it is known. Your form knows the card number is short. Say so, and the shopper fixes it in five seconds instead of retyping the whole card twice and leaving.

The colour problem hiding inside the error problem

A red border as the only signal fails twice: once under 3.3.1 because there is no text, and once under 1.4.1 Use of Color because colour alone carries the meaning. Roughly 1 in 12 men has some colour vision deficiency, and a red-green distinction at a form field is exactly where it bites. Add text and an icon with a text alternative and both criteria close at once.

Also check where errors appear. A summary banner at the top that names no fields, plus silent fields below, is the worst of both worlds. Either link each summary item to its field or put the description at the field itself, and make sure focus management takes keyboard and screen reader users to the information instead of leaving them at the submit button wondering if anything happened.

A checkout error audit you can run today

Take a test card and deliberately break things: a short card number, a past expiry, a postcode in the wrong format, an empty required field. For each, record what the page says, where it says it, and whether a screen reader announces it. Free screen reader checks with NVDA or VoiceOver on the payment step alone will surface most of it.

Then read the messages as a stranger. If any error requires a guess, rewrite it to name the field and the expected format. This is an afternoon of copy and ARIA wiring with a direct conversion payoff, which is why 3.3.1 fixes should jump the queue ahead of prettier accessibility projects. Nobody ever lost a sale to a clear error message.

Related reading

Two earlier posts on this site cover ground “WCAG 3.3.1 Error Identification: Say What Broke, in Words” builds on: WCAG 2.1.1 Keyboard and 2.1.2 No Keyboard Trap: Testing Your Cart Drawer the Way a Keyboard User Meets It, WCAG 1.4.12 Text Spacing Breaks Product Pages That Clip Their Own Copy, and WCAG 2.5.7 Says Your Price Slider Needs a Single Pointer Alternative.

Frequently asked questions

Is a red outline around a field enough for WCAG?

No. WCAG 3.3.1 requires the error to be described in text, and 1.4.1 prohibits colour as the only means of conveying it. A red border can stay as decoration, but a written description connected to the field must carry the information.

What should a good checkout error message say?

It should name the field and the specific problem, and give the expected format when known: for example, Expiry date is in the past, or Postcode does not match the format for the selected country. Messages like invalid input force the shopper to guess and are the pattern to eliminate.

How do screen reader users find out about form errors?

Through programmatic association: aria-invalid on the field, the message linked via aria-describedby, and focus or an alert that announces the problem on submit. If the error exists only as visual styling, a screen reader user may hear nothing at all.

What is the difference between WCAG 3.3.1 and 3.3.3?

3.3.1 at Level A requires errors to be identified and described in text. 3.3.3 Error Suggestion at Level AA goes further: when the system knows how to correct the input, it must suggest the correction, such as the expected date or postcode format. Most good error copy satisfies both together.