Skip to the activity

Interactive example

Can you recover from a mistake?

Try submitting a café order with three mistakes, and compare a form that only says “Error” with one that names each problem and lets you fix it.

About this activity
Required:
Browser.
Optional tools:
Screen reader or accessibility inspector.
Time
~5 minutes
You'll test
Error identification, suggestions and recovery

Explanation — interface demonstration: compare product behaviour, not disability or lived experience.

Why is this not a disability simulation?

Use your usual input method or assistive technology to examine the interface. This does not reproduce living with a disability or represent everyone’s experience.

Try it here

Warning: the first version of the order form below is intentionally hard to recover from. If you submit it with mistakes, it only says “Error” and clears everything you entered. The repaired version is the same form, and the explanation is further down the page — you do not need to lose your entries to read either one.

The order form below starts with three mistakes already in it: the name is blank, the pickup code reads B-274 instead of B-247, and the pickup time is 3:00 pm — after the kitchen closes at 2:30 pm. Submit it in each version and compare what you get back. There is no timer and no score. Nothing here places an order or submits data.

The order form needs JavaScript. The barrier and repaired versions are still described in full below, in “What would a better implementation look like?”

What did the interface require?

The barrier version requires you to remember what you typed, work out on your own which field was wrong, and re-enter everything from scratch. The only feedback is the word “Error” in red at the top of the form — no field is identified, no reason is given, and the valid entries are wiped along with the wrong ones. A mistake that should cost one correction costs the whole form.

The repaired version is the same form with the same three mistakes. It names each problem next to its field, suggests the fix, keeps every valid entry, and puts an error summary at the top with links to each field — so the work of recovering is finding the link and fixing that one field, not redoing the order.

What would a better implementation look like?

  1. Identify each error in text, next to the field it belongs to. Do not rely on colour alone, and do not put the only message at the top of the page where it can be missed.
  2. Say what is wrong and suggest the fix. “The code B-274 does not match an order” is a start; “check your confirmation — the code should read B-247” is what lets someone recover.
  3. Keep everything valid that the person already entered. Only the wrong fields need correcting; clearing the form punishes the mistake instead of repairing it.
  4. Give an error summary at the top, with links to each field, and move focus to it. The summary is how someone finds the problems without hunting through the form.
  5. Do not clear the form on a failed submit. A demonstration should never submit, charge or place anything — and a real form should confirm before any consequential action.

These repairs share one rule: an error message is only finished when the person can act on it.

Go deeper — optional

Keyboard: the version switcher is a set of radio buttons, so it works with Tab and arrow keys. The form submits with Enter, the error summary takes focus when it appears, and each summary link moves focus to its field.

Screen reader: in the barrier version the only announcement is the word “Error”. In the repaired version each error is announced with its field, and the summary is focused so the problems are found first. The status message announces the result either way.

Reduced motion: this page has no animation. The error messages appear as text only.

Follow the evidence trail

Barrier: I made a mistake and don't know how to fix it Testing guide: testing errors means testing recovery WCAG 2.2 Input Assistance

Evidence limit: This is one controlled example with three deliberate mistakes. Its result is evidence about this example, not proof that every related state or user experience has been covered.

Reflect on the design (optional)

Which error was hardest to understand, and what did the repaired version add that the barrier version did not? Name the input method and environment you used.

If you record the result, separate observation from explanation and name the input method and environment.

Display settings

Theme
Text size

200% doubles No Default’s text size at the same browser zoom. It does not change your browser’s zoom setting.

100%
Reading font

Black and white with stronger borders.

Turns off transitions, animations and smooth scrolling.