How to Make Form Error Summaries Accessible
When a form rejects a submission, give people a readable summary of what went wrong and place a clear message beside each affected field. Where it helps, link each summary item to its field. Test how users find, fix and resubmit errors without a mouse.
ADASupport · Published and sources checked November 24, 2026

What belongs in an accessible error summary?
Say the form was not submitted, name each affected field using its visible label, and explain the problem in text. When you know the correction and can disclose it safely, explain what would be accepted. Put a matching message next to the field so people can read it while making the repair.
For example, replace a bare “Invalid entry” with “Start date: enter a date on or after December 1.” If the system could not save the form because the network is down, say that separately. Do not call an outage a problem with a field.
See W3C’s error identification criterion and error suggestion explanation.
Where should focus go after a failed submission?
For a form with multiple errors, one useful pattern is to move keyboard focus to the error summary so people can find all the problems in one place. Give that summary a clear heading, and link each message to its field. Verify that each link actually places the user where they can make the correction.
Moving focus to a summary is one design pattern, not a universal WCAG requirement. Try the flow in the browser and screen reader combinations your users rely on. Make sure that moving to one field does not trap focus or send the next Tab back to the top.
W3C technique G139 describes linking from a summary to errors as one option, not a mandated implementation.
Which values should remain after a form error?
Keep unaffected entries when it is safe to do so. If a form clears a sensitive value for security, tell users which field they need to enter again without displaying that value in the summary. A failure in one ordinary field should not quietly erase unrelated work in the rest of the form.
Reproduce a failed server submission as well as a browser-side validation error. Test an optional field you filled in and a choice that controls a later section. Use dummy values; do not copy personal information into bug reports or repeat private information in alert text.
How can you verify the complete error recovery path?
Start with keyboard only and submit a form containing two different errors. Confirm that you can find both messages, move to the fields, correct one error, and resubmit without losing the other message or unaffected entries. Repeat with a screen reader, then correct the remaining error and verify the success message.
Check visual focus, whether the control and error are announced together, and whether the success message is identifiable after the final submit. Repeat with mobile zoom and with a failed server response. This walkthrough tests one interaction; it does not establish that the whole website meets WCAG.
Use our government payment portal test to check failures in a broader checkout flow, and read our accessible forms overview for guidance beyond validation.
This guide is educational and does not establish website conformance or provide legal advice.
Frequently asked questions
What belongs in an accessible error summary?
Say the form was not submitted, name each affected field using its visible label, and explain the problem in text. When you know the correction and can disclose it safely, explain what would be accepted. Put a matching message next to the field so people can read it while making the repair.
Where should focus go after a failed submission?
For a form with multiple errors, one useful pattern is to move keyboard focus to the error summary so people can find all the problems in one place. Give that summary a clear heading, and link each message to its field. Verify that each link actually places the user where they can make the correction.
Which values should remain after a form error?
Keep unaffected entries when it is safe to do so. If a form clears a sensitive value for security, tell users which field they need to enter again without displaying that value in the summary. A failure in one ordinary field should not quietly erase unrelated work in the rest of the form.
How can you verify the complete error recovery path?
Start with keyboard only and submit a form containing two different errors. Confirm that you can find both messages, move to the fields, correct one error, and resubmit without losing the other message or unaffected entries. Repeat with a screen reader, then correct the remaining error and verify the success message.