Error summaries
After a failed submit, some errors sit off screen, and people miss them.
The answer
After a failed submit, list every error at the top, each linking to its field, and keep the message at each field too. As strong as the weakest rule behind it: moderate.
-
When a submit fails, list the errors at the top. Link each to its field, using the same words as the message there.
Six design systems agree, mostly one government family, and W3C lists it as an advisory technique. No study compares a summary with none, so 3.
- Applies when
- A submit was rejected on a page with more than one field.
- Based on
- Convention
- Principle
- Help people recover from errors
- Common mistake
- A summary whose entries do not link to the fields.
- Common mistake
- Summary wording that differs from the message at the field.
- GuidanceGuidance: Error summary componentGOV.UK Design System, 2026
- Guidance: Error summary componentNHS digital service manual, 2025
- Guidance: Error validation pattern (CMS Design System)CMS Design System
- Guidance: Correct errors pattern (ONS design system)UK Office for National Statistics service manual
- Guidance: Error summary (GC Design System)Government of Canada, 2026
- Guidance: Forms pattern, Validation sections (Primer, GitHub)GitHub
- Guidance: Technique G139: Creating a mechanism that allows users to jump to errorsW3C WAI
-
Show the summary as well as the message at each field, never instead of it.
The controlled study behind Error message content, rule 3 found top-of-form messages alone worse than messages at the field; it did not test a linked summary plus field messages. Rated 3.
- Applies when
- A summary is shown.
- Based on
- Research
- Principle
- Make controls match their effects
- ExperimentExperiment: User-friendly locations of error messages in web forms: Put them on the right side of the erroneous input fieldSeckler, 2012
- GuidanceGuidance: Error summary componentGOV.UK Design System, 2026
- Guidance: Error summary componentNHS digital service manual, 2025
The other rules
-
If focus doesn’t move to the error summary, make sure screen readers announce it.
WCAG 2.2 level AA. Reopened and checked in the pilot.
- Applies when
- A summary appears without a focus change.
- Based on
- Standard or law
- Principle
- Work for everyone
- StandardStandard: Understanding SC 4.1.3 Status Messages (Level AA)W3C WAI
-
Move focus to the summary when it appears.
Four government systems do this; the W3C tutorial suggests the first invalid field instead. No evidence either way, so 2.
- Applies when
- A summary is shown.
- Based on
- Convention
- Principle
- Keep people informed
- GuidanceGuidance: Error summary componentGOV.UK Design System, 2026
- Guidance: Error summary componentNHS digital service manual, 2025
- Guidance: Error validation pattern (CMS Design System)CMS Design System
- Guidance: Correct errors pattern (ONS design system)UK Office for National Statistics service manual
- Guidance: Forms tutorial: User NotificationsW3C WAI, 2022
- Guidance: Forms pattern, Validation sections (Primer, GitHub)GitHub
-
When the page reloads with errors, start the page title with “Error”.
Two systems from one family. Rated 2.
- Applies when
- The page reloads to show errors.
- Based on
- Convention
- Principle
- Keep people informed
- GuidanceGuidance: Error summary componentGOV.UK Design System, 2026
- Guidance: Error summary componentNHS digital service manual, 2025
-
Show the error summary every time a submit fails, even for one error.
GOV.UK, NHS and CMS always show it; Canada.ca from two errors; Primer from three. No evidence. Rated 1.
- Applies when
- One field is in error.
- Based on
- Convention
- Principle
- Leave out what is not needed
- GuidanceGuidance: Error summary componentGOV.UK Design System, 2026
- Guidance: Error summary componentNHS digital service manual, 2025
- Guidance: Error validation pattern (CMS Design System)CMS Design System
- Guidance: Error summary (GC Design System)Government of Canada, 2026
- Guidance: Forms pattern, Validation sections (Primer, GitHub)GitHub
Accessibility
- WCAG 2.2 · 3.3.1WCAG 2.2, 3.3.1 (A) requires errors to be identified in text; it does not require a summary or say where messages go.
- WCAG 2.2 · 4.1.3WCAG 2.2, 4.1.3 (AA) applies if the summary appears without taking focus.
- WCAG techniqueW3C technique G139 (links from a summary to each error) is advisory.
Open questions
- OpenNo controlled study or online experiment of summary against no summary was found.
- OpenA 2013 GOV.UK design note reports that people scrolled to the fields instead of using the summary links.
- OpenAn informal test in 2000 found blind users liked links from one error to the next. Nothing newer with screen reader users was found.
- OpenAbove or below the page heading: the systems differ.
Sources
- ExperimentExperiment: User-friendly locations of error messages in web forms: Put them on the right side of the erroneous input fieldSeckler, 2012
- StandardStandard: Understanding SC 4.1.3 Status Messages (Level AA)W3C WAI
- GuidanceGuidance: Error summary componentGOV.UK Design System, 2026
- Guidance: Error summary componentNHS digital service manual, 2025
- Guidance: Error validation pattern (CMS Design System)CMS Design System
- Guidance: Correct errors pattern (ONS design system)UK Office for National Statistics service manual
- Guidance: Error summary (GC Design System)Government of Canada, 2026
- Guidance: Forms pattern, Validation sections (Primer, GitHub)GitHub
- Guidance: Technique G139: Creating a mechanism that allows users to jump to errorsW3C WAI
- Guidance: Forms tutorial: User NotificationsW3C WAI, 2022
Related
- Error message contentSay which field is wrong and how to fix it, right next to the field.Answer: strong.
- When to validate a form fieldCheck on submit, and do not show an error until people have finished the field.Answer: moderate.
- Announcements to screen readersAnnounce results, errors and progress without moving focus, politely, and only what people need.Answer: moderate.