Sources checked 2026-11-09. This article is informational and describes a bounded method, not a guarantee of results.
Identify the problem and correction
An error should help a person understand what happened and what to do next. A missing field, an unavailable service, and an uncertain submission are different situations; a single generic message can send the visitor in the wrong direction.
For a fictional contact form, an empty required email field needs a clear explanation connected to that field. W3C's guidance on error identification addresses describing automatically detected input errors in text; its error-suggestion guidance addresses known corrections, subject to the criterion's security and purpose exception. One message alone does not establish page-wide conformance.
Distinguish service failure from input error
If valid information was entered but a service is unavailable, asking the visitor to change the email address does not address the problem. Explain what the system knows and offer an appropriate retry or alternative.
A timeout may leave it uncertain whether an action completed. Do not claim definite failure or encourage repeated submissions without considering duplicates. Preserve entered information where safe, and do not promise preservation if it did not occur. An unavailable report may have several causes; do not label it expired or deleted without evidence.
Protect information in feedback
A useful message can explain a problem without repeating a password, private message, or customer record. Review logs and analytics separately: the text visible in a form does not establish what a server or provider retains.
Google Analytics cautions that page paths and parameters can contain personal information. That guidance is not a complete privacy or legal analysis. Decide what information is needed for recovery, who may access diagnostic records, and how long the actual policy retains them.
Test the whole recovery path
Provide useful format instructions before an error, and do not rely on color alone. Test whether a person can find the problem, understand it, correct it, and continue with keyboard and relevant screen-reader and browser combinations. Check focus when a control disappears and ensure announcements are useful rather than repetitive.
Record the page and version, environment, steps, expected behavior, observations, and uncertainty. Use safe test data. One automated scan or successful submission does not establish complete accessibility or privacy compliance.
Sources
- W3C: Error identification — Guidance on identifying automatically detected input errors.
- W3C: Error suggestion — Guidance on known suggestions and its exception.
- W3C: Form notifications — Examples of accessible feedback patterns.
- Google Analytics: Avoid sending personal information — Provider guidance on personal information in analytics data.
Explore the preliminary checker · Browse research · Discuss your next step
