New Tool Radar

AI Design Workflows

How to Check Form Error Recovery in an AI Design

Check that a reader can recover from a form error in an AI design, so a mistake costs one correction instead of the whole form.

Schematic diagram: three error-recovery checks — the error named in text, a suggested fix shown, and entered values kept — with the cleared form failing.

Most forms tell the reader something went wrong. Far fewer tell them how to put it right. A message that says only “Invalid input” leaves a reader guessing which field, what rule, and whether everything else they typed is gone. Recovery means three things: the error is named in text, a correction is suggested when one is known, and nothing the reader already entered is thrown away.

Identifying the error is only half the job

WCAG 3.3.1 Error Identification (Level A) requires the item in error to be identified and the error described in text. WCAG 3.3.3 Error Suggestion (Level AA) goes further: if an input error is automatically detected and suggestions for correction are known, the suggestions are provided, unless that would jeopardise the security or purpose of the content. The W3C explains that people with cognitive limitations may find it difficult to understand how to correct errors, and that users may abandon a form because they are unsure how to correct an error even though they know one occurred. See also our keyboard accessibility check.

Expected result. We checked the sources listed below. We did not run any design tool or browser on the Maple Corner design.

The table below is fictional practice material: six items in a Maple Corner design. Results are practice values for the exercise.

Practice error-recovery check: fictional Maple Corner order form

Field Error recovery check Result
Email address Message names the field and shows the expected format Pass
Delivery date Wrong date keeps the rest of the form filled in Pass
Phone number Message says only “Invalid input” Fail — say what format is expected
Quantity Suggests the nearest allowed value, 12 Pass
Card number Whole form cleared after one error Fail — keep what the reader typed
Password Generic message, no hint which part failed Pass — the security exception applies here

4 of the six items pass, and 2 fail. The passing items share one property: they were checked against the rule before the design was finished, not after. The failing items are the ones to fix first — each has its fix named in the table.

How to fix it

Write each error message as the fix, not the verdict: name the field, state the rule, and show an example value. Keep every entered value on the page after a failed submission, move focus to the first error or to a summary that links to it, and leave login errors generic on purpose — the W3C’s security exception covers exactly that case.

Limits

  • No design tool or browser was run on the Maple Corner form, and Maple Corner is fictional. The table above is the expected result for the practice fields, not a test of any product.
  • Error Suggestion applies only when a correction is known; it does not require the form to detect every possible error.
  • This guide checks recovery after an error. Preventing errors before submission is a related but separate check.

Sources

See all