Skip to content
Performance & Accessibility

Error Summaries in Forms: What Actually Works

A summary of validation errors shown at the top of a form, linking to each field that needs attention.

Marcus Adeyemi Technical Director 2 min read 22 views
Error Summaries in Forms: What Actually Works

Where most projects go wrong

The usual mistakes:

  • Errors shown only beside fields on long forms
  • Generic messages such as invalid input
  • Summaries that do not link anywhere
  • Errors announced only by color

What good looks like instead

  • Show a summary after failed submission
  • Link summary items to their fields
  • Move focus to the summary
  • Keep inline messages as well
  • Describe how to fix each error
What to do and what to avoid with error summaries in forms, side by side
Good practice against the usual mistakes, from the sources listed below.

Why it matters

Long forms scatter errors across the page, and a summary tells people what went wrong in one place.

The specs that matter

Published figures for Error Summaries in Forms
MeasureFigure
Placementsummaries appear at the top of the form
Linkseach item should link to the relevant field
Focusfocus usually moves to the summary after submission
Individual messagesfields still need their own error text

Knowing when to hand it over

Tip: Bring in help when long forms frustrate users.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on Performance & Accessibility work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

Marcus Adeyemi

Builds and maintains the web work. Writes about front-end architecture, performance, accessibility and the unglamorous parts of keeping a site alive.

Keep reading

More in Performance & Accessibility