Loomi Web
ServicesPricingService AreasCustomersAboutBlogContact
Book a demoSign up for free

How to Make Website Form Errors Easier to Fix

Identify each problem in plain text, explain the correction beside the affected field, and preserve entered answers so visitors can edit them. After an unsuccessful submission, provide a linked error summary and an accessible path to each correction. Check the correction process with a keyboard, on a phone and with a screen reader.

By Loomi Web · November 3, 2026 · 4 min read
Paper service-request form with one incomplete answer circled for correction.

Concept illustration of correcting one answer while keeping the rest of a form intact.

Make the correction clear and keep the visitor’s work

Someone who has described a furnace problem should be able to fix a missing email address without typing the description again. Make form errors specific, preserve entered answers and let visitors reach each problem without hunting.

Use three questions to review your form: Can the visitor find the problem? Do they know what to change? Can they make that change without losing their other answers?

W3C explains that automatically detected input errors must identify the affected item and describe the problem in text. A red outline alone does not provide that explanation. See its [Error Identification guidance](https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html).

Write a message that tells someone what to change

Replace vague messages such as “Invalid input” with a correction that names the field. Distinguish an empty required answer from an answer in the wrong format.

For a hypothetical service form, an empty service selection could say “Choose the service you need.” An email address missing its domain could say “Enter an email address with a domain, such as name@example.com.” These are proposed examples; choose wording that describes the form’s actual requirements.

W3C’s [Error Suggestion guidance](https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html) says to provide known correction suggestions for automatically detected input errors, except where doing so would compromise security or the content’s purpose.

Keep the message beside the affected question and use the same field name throughout. If the label says “Town,” use “Town” in the correction too. GOV.UK’s [error-message guidance](https://design-system.service.gov.uk/components/error-message/) recommends matching message language to labels.

Preserve both correct and incorrect answers

When validation fails, keep the visitor’s contact details, service selection and description in place. Keep the rejected answer too, so the person can inspect and edit it.

GOV.UK recommends retaining both passing and failing answers in its [error-message guidance](https://design-system.service.gov.uk/components/error-message/). Ask your developer to demonstrate this after the server rejects an answer, as well as during checks performed in the browser.

Try this review task: enter a detailed description, select a service and leave one required field empty. Submit, correct only that field and continue. The description and selection should remain throughout.

Preserving answers during correction is a separate feature from restoring drafts after someone closes the browser. Specify draft saving separately if you need it.

Provide a summary that leads directly to each problem

After an unsuccessful submission, place an error summary above the form. List each problem and link it to the relevant input. Keep a matching message beside that input.

GOV.UK’s [error-summary pattern](https://design-system.service.gov.uk/components/error-summary/) combines a summary with field messages, even for one error. It moves keyboard focus to the summary and uses identical wording in both places. This is an implementation pattern you can adopt; its individual details are not all universal accessibility requirements.

For example, a hypothetical repair form might list “Choose the service you need” and “Enter your email address.” Each link should take the visitor to the corresponding control.

After another submission, update the summary to show the remaining problems. Remove errors for answers the visitor has corrected.

Make corrections usable without a mouse

Ask your developer to connect each field’s error message to its input programmatically. W3C’s [form-notification tutorial](https://www.w3.org/WAI/tutorials/forms/notifications/) describes aria-describedby for this purpose, so assistive technology can associate the instruction with the field.

If errors appear without a page reload, provide an accessible notification of the update. W3C describes an alert region for a dynamically inserted error list. Have the developer check announcement and focus behavior together.

Submit using only the keyboard, reach the summary, activate an error link and edit the answer. Check that focus is visible and that you can continue through the form. On a phone, check whether the field and correction remain understandable with the keyboard open.

Request a screen-reader demonstration too. A screenshot shows placement but cannot demonstrate an announcement or the keyboard route.

Check answers at a useful moment

For an ordinary contact form, checking on submission is a sensible starting point. GOV.UK’s [validation guidance](https://design-system.service.gov.uk/patterns/validation/) recommends waiting until someone tries to continue or submit, unless user research supports earlier checks.

Review format restrictions. Where the system can safely interpret an answer, accept harmless variations. Ask whether a phone field needs to reject spaces or parentheses.

Have the developer confirm that browser and server checks agree. GOV.UK explains that server validation remains necessary because browser checks can be bypassed or fail to run.

Keep technical failures separate from input mistakes. If the form service is unavailable, marking a correct email address as invalid gives the visitor an unhelpful correction task. GOV.UK’s [error-message guidance](https://design-system.service.gov.uk/components/error-message/) distinguishes input errors from service problems.

Give your designer a concrete review task

Ask for a demonstration using invented details: leave a required answer blank, enter a malformed email address and complete the other fields. Check that both problems are named, the answers remain, the summary links work and a keyboard user can reach each correction.

Fix one answer and submit again. Confirm that only the remaining problem is reported. Finally, correct it and check that the form accepts the answers without requiring completed fields again. Use a preview or agreed test process to avoid creating misleading office inquiries.

For broader decisions about service-site content, see the [home-service website checklist](/blog-buffalo-home-service-quote-website.html).

Sources