Web Development
Your Form Says Something Went Wrong. Can a Customer Fix It?
A red border doesn’t tell a visitor what went wrong. A useful form error identifies the field, explains the fix, and lets the person finish without starting over.
Tell people how to finish the form
Try a fictional quote form with three required fields: name, email and project details. Submit it with an incomplete email address. Compare “Invalid input” with “Enter an email address in the format name@example.com.” Show the message near the field. Keep the label visible, associate the message with the field for assistive technology, and don’t depend on red color alone.
Make errors easy to reach
For several errors, consider a short summary near the top with links to the fields that need attention. When you move focus to the summary, make sure it’s announced and that its links can be used with the keyboard. If errors appear dynamically without navigation, test how they are announced with a screen reader. Don’t count on a temporary toast as the only way a person can discover the problem.
Preserve work and distinguish different failures
Keep valid values when the visitor corrects a field. Test a separate scenario in which the delivery service is unavailable. Don’t say the quote request was received unless your system has actually accepted it. Explain whether the visitor can retry, and give them a working alternative if your business has one.
Before release, try the form on a narrow screen, with only the keyboard and with a screen reader. Submit missing values, correct just one field, and finally complete the form. Make sure you can find the errors, keep previously entered details, and hear or see the confirmed outcome. Use test details so the exercise doesn’t create real customer records.
Serving the United States
Remote services nationwide. Local customer visits in Rockland, Westchester and Orange County, New York.
