A Checkout Error That Does Not Name the Field Is Not an Error Message

The shopper removes an out of stock item, the cart total changes, a red banner appears at the top of the page, and their screen reader says nothing at all. Visually the error is handled. For a blind shopper the cart just silently changed, and the next thing they hear is a total that does not match the one they were quoted a minute ago.

WCAG 2.2 criterion 2.2.1, Timing Adjustable, is Level A. When a session has a time limit, the user must be able to turn it off, adjust it, or extend it, and a warning has to appear before expiry with at least 20 seconds to act on it. Checkout timeouts that silently clear a cart fail that criterion outright, and they fail screen reader and switch users first, because everything those users do takes more keystrokes.

WCAG success criterion 3.3.1, Error Identification, Level A, says that when an input error is detected automatically, the item in error must be identified and the error described to the user in text. A red outline with no words fails it. So does a banner reading please check the form. The compliant pattern is plain: name the field, say what is wrong, and, under 3.3.3 at Level AA, suggest the fix when one is known.

What the criterion actually demands, word by word

Three elements have to be present. The item in error is identified, which means the shopper can tell which field failed without guessing. The error is described in text, not carried by colour, icon, or position alone. And it happens where the shopper can perceive it, which for a screen reader user means the message is programmatically associated with the field, usually through aria-describedby, with aria-invalid set on the input.

Colour-only signalling also collides with 1.4.1, Use of Color, since roughly 1 in 12 men has some colour vision deficiency. A checkout that turns a field red and says nothing has told a meaningful share of its customers literally nothing about why the payment will not go through.

The summary at the top is a pattern, not a requirement

Many accessible checkouts move focus to an error summary after a failed submit, listing each problem as a link that jumps to its field. It is a good pattern, and the W3C guidance documents it, but the criterion is satisfied by the field-level text itself. Teams sometimes ship the summary and leave the fields bare, which strands shoppers who tab straight to the field and hear no error.

Focus management matters as much as wording. After a failed submit, keyboard focus should move to the summary or the first field in error. Leaving focus on the pay button while errors appear above it means a keyboard user may never encounter the messages the team worked hard to write.

Write the fix into the message when the fix is known

Criterion 3.3.3, Error Suggestion, Level AA, adds the correction: if the system knows what right looks like, say it. Card number incomplete is weaker than card number needs 16 digits and yours has 14. An expiry date in the past should be met with a message naming the date problem, not a generic invalid field.

The exception is security: where a suggestion would jeopardise the purpose of the field, such as a password or a security answer, the criterion does not require it. Checkout fields rarely qualify for that exception. A test worth running this week: submit your own checkout with three deliberate errors and read only the messages. If a new hire could not fix all three from the text alone, neither can your shoppers.

Keep reading: Your Checkout Session Timeout Is an Accessibility Failure Before It Is a Security Feature, The Mini Cart Drawer Is Where Keyboard Users Lose the Thread, and Cart Errors That Screen Readers Never Announce Are Cart Errors That Never Get Fixed cover the nearby cases in this series.

Frequently asked questions

What does WCAG 3.3.1 require for checkout errors?

Success criterion 3.3.1, Error Identification, at Level A requires that when an input error is detected automatically, the item in error is identified and the error is described to the user in text. A colour change, icon, or shake animation alone does not meet it.

Is an error summary at the top of the form required?

No. It is a widely used technique and helps keyboard and screen reader users find every problem at once, but the criterion is about the error being identified and described in text. Field-level messages associated with their inputs are the core requirement; the summary is an addition, not a substitute.

How should errors be exposed to screen readers?

Associate the message with the field using aria-describedby, set aria-invalid on the input, and move focus to a summary or the first error after a failed submit. That combination means the message is announced in context rather than existing silently somewhere on the page.

When does 3.3.3 require suggesting a correction?

At Level AA, when a correction is known, the suggestion must be given unless it would jeopardise security or the purpose of the content. A card field can safely say how many digits are expected; a password field is the classic case where the exception applies.