Design form errors that help people finish.
A visual walkthrough of field corrections, preserved input, keyboard focus, and honest submission feedback—using an original browser-tested example.

A person has written a useful workshop brief, mistyped their email, and pressed Send. The next screen has a simple job: help them fix that one detail without losing the work they already did. A red border is only the beginning of that job.
Treat recovery as a small interaction to design in full: what happened, where to act, what remains saved in the current form, and what the next action will do. This walkthrough uses an original browser-rendered teaching example with fictional data and simulated outcomes. It is not a live booking service.
Separate a bad value from a failed request
An invalid address and an unavailable service can produce the same generic “Something went wrong” toast. They require different action. One asks the reader to edit a field; the other may require waiting, checking delivery, or retrying. Decide which situation you actually know occurred before choosing the message.
Two failures, two recovery paths
The value needs attention
The address is team.example.com.
- Identify the email field and explain the missing @ and domain.
- Keep the workshop note exactly as entered.
- Return the reader to the correction, then allow another submission.
The request did not complete normally
The address may already be correct.
- Explain what is known about delivery.
- Keep valid fields out of the error styling.
- Offer the next safe action for this outcome.
For automatically detected input errors, W3C’s explanation of WCAG 3.3.1 calls for identifying the affected item and describing the error in text. Color can reinforce that message. The criterion itself does not require every form to use the same summary, toast, or inline layout.
Make the correction visible in context
Actual Chromium capture of our original teaching example, 1440 × 1100 viewport, October 16, 2026. The outlined summary has keyboard focus; the note remains intact. All outcomes are simulated.The screen gives the reader three things in order: a starting point, a specific correction beside the email, and the note they already wrote. The summary links to the email input. Its wording matches the field message, so following the link does not introduce a second diagnosis. On a narrow screen, those same pieces stay in reading order.
The GOV.UK error-summary pattern is a useful reference for focus and linked messages. Our example borrows that navigation idea, not its component styling. For a longer form, a summary can provide an overview of several corrections; for a short form, direct focus on the first invalid field may be enough. Choose and test a deliberate path.
Keep the screenshot’s meaning available as text: the email needs an @ and a domain, the workshop note is unchanged, and the next action is to correct the address and submit again. A small image on a phone should support the explanation rather than carry essential instructions by itself.
Connect the visible message to the control
A nearby sentence is not automatically associated with an input. W3C’s form notification guidance demonstrates associating an error through aria-describedby. Preserve the existing hint as well. The aria-invalid technique describes marking a field invalid after validation finds a problem. Remove that state when the error has been resolved.
<!-- Fragment shown after validation finds an error. -->
<label for="email">Email address (required)</label>
<p id="email-hint">Use an address you can check.</p>
<input id="email" name="email" type="email" required
aria-invalid="true"
aria-describedby="email-hint email-error">
<p id="email-error">
Error: Add an @ and a domain, such as team@example.com.
</p>
This fragment shows the relationship, not a complete validator. Our demo checks on submit, reveals the summary, and focuses it. After a valid correction, it removes the error association and keeps the ordinary hint. In a product, align the client and server rules so the same answer does not receive contradictory guidance.
Start with meaningful labels and suitable HTML input constraints. W3C’s validation tutorial explains that client-side checks still need corresponding server-side validation. A polished browser state cannot establish that an address is reachable, that a request was stored, or that the server accepted it.
Give submission feedback its own place
A practical state map for this example| Observed state | Visible response | Keep or change |
|---|
| Invalid email | Specific correction and a route to the field | Keep the note; mark only the email invalid. |
| Sending | A short, persistent progress message | Keep input; guard repeated submissions. |
| Confirmed failure before sending | Explain that nothing was sent and offer another attempt | Keep the values; do not blame valid fields. |
| Delivery uncertain | Say that delivery could not be confirmed | Keep the values; check the original request before repeating it. |
| Confirmed success | Describe what was received and what happens next | Show confirmation before clearing the form. |
When a submission changes status without moving focus, the update needs a programmatic way to reach assistive technology. W3C’s status-message guidance explains this distinction. A persistent status region is suitable for ordinary progress or confirmation; a validation summary can instead receive focus when the reader needs to make corrections. Avoid announcing the same message through several competing mechanisms.
Review the recovery, not just the empty form
A compact review sequence
Submit one plausible mistake
Use a malformed email and a meaningful note. Check whether the message describes a correction rather than merely announcing failure.
Follow the keyboard route
Reach the summary, follow its field link, edit the value, and submit again. Check visible focus and that no sticky header hides the destination.
Interrupt the delivery path
Exercise known failure, uncertain delivery, and confirmed success separately. Compare the wording against what the service actually knows.
Read it at phone size
Check long messages, retained text, and the submit action. Test with the browser and assistive technology combinations your audience uses.
For this article, the original demo was exercised in Chromium at 1440 and 390 CSS pixels. The summary-to-field keyboard path worked, the note survived validation and simulated failure, and a subsequent simulated success was reachable without page overflow. These are observations about this example, not conversion results or a complete accessibility audit; screen-reader speech was not tested.
Bring that sequence into your next design review. Ask someone to recover from a mistake before showing them the finished success screen. The useful question is whether they can keep going with confidence and with their work intact.
Cover: original AI-generated conceptual illustration of a stitched paper repair. It represents continuity after a mistake and is not a product screenshot. Primary guidance checked October 16, 2026.
Back to the LOOKFILE blog