Skip to the checklist
The Focus RingWCAG · screen readers · assistive tech

Checklist › Cognitive

Error Messages That Tell You How to Recover

Filed 2026-10-14

1 Why this criterion exists

WCAG 3.3.3 Error Suggestion exists because error messages that merely indicate a problem without explaining how to fix it create unnecessary barriers. When a user submits a form and receives a vague message like "Invalid input," they are left to guess what went wrong and how to correct it. For people with cognitive disabilities, this guesswork can be frustrating, time-consuming, and sometimes impossible. The criterion ensures that when an input error is automatically detected, the system provides a suggestion for correction, unless doing so would jeopardize security or the purpose of the content. This transforms errors from dead ends into teachable moments.

The criterion sits under the Understandable principle of POUR, which focuses on making content and interface behavior predictable and learnable. Error suggestion is a natural extension of that principle: it helps users understand what is expected and how to meet those expectations. Without it, users may abandon the task entirely, leading to exclusion from essential services like banking, healthcare, or education. By requiring suggestions, WCAG 3.3.3 promotes independence and reduces reliance on external help, which is particularly valuable for users who may not have immediate access to support.

Moreover, the criterion acknowledges that errors are a normal part of interaction. Rather than penalizing users for mistakes, it encourages designers to build forgiving interfaces that guide users toward success. This aligns with universal design principles, benefiting not only people with disabilities but also anyone who encounters an error under stress or time pressure. Ultimately, 3.3.3 is about respect for the user's time and cognitive load, ensuring that error recovery is as smooth as possible.

2 Who it protects

This criterion primarily protects people with cognitive disabilities, including those with dyslexia, attention deficit hyperactivity disorder, autism, and intellectual disabilities. For these users, processing abstract or ambiguous error messages can be exceptionally difficult. A suggestion like "Please enter a valid email address" is far more helpful than "Error: invalid email," because it explicitly states the expected format. Without such guidance, users may repeatedly submit the same incorrect data, leading to frustration and task abandonment. The criterion also benefits users with memory impairments, who may forget the requirements between attempts, and those with learning disabilities, who may need step-by-step instructions.

Screen reader users also rely heavily on error suggestions. When an error occurs, assistive technology announces the message, but if the message lacks a clear corrective action, the user must navigate back to the field, decipher the issue, and guess the fix. This is especially burdensome for blind users who cannot visually scan the form for clues like red borders or icons. By providing programmatically associated suggestions, developers ensure that screen readers can announce both the error and the remedy, enabling efficient recovery. Users of speech recognition software or switch controls face similar challenges, as they cannot easily explore the page visually.

Additionally, the criterion supports users with low vision, motor disabilities, and situational limitations such as using a mobile device in bright sunlight or with a broken arm. Anyone who struggles with precise input benefits from clear guidance. By designing for these edge cases, we create interfaces that are more robust for everyone. The WCAG 3.3.3 requirement is not just about compliance; it is about empathy and inclusivity, recognizing that error recovery is a critical part of the user journey.

3 How conformance is measured

Conformance to WCAG 3.3.3 is measured by evaluating whether input errors that are automatically detected include a suggestion for correction. The criterion applies when an error is detected and the user can correct it. If the error is a security risk (e.g., login failure) or the suggestion would defeat the purpose (e.g., a CAPTCHA), then a suggestion is not required. Testers must first identify all input fields that can produce errors, then trigger those errors and inspect the resulting messages. A passing message must provide specific guidance, such as "Date must be in MM/DD/YYYY format" or "Password must contain at least one number." Generic messages like "Invalid input" fail the criterion.

Automated tools can flag some issues, but they cannot fully determine if a suggestion is adequate. For example, axe or WAVE may detect the presence of an error message but not assess its clarity or relevance. Therefore, manual testing is essential. Testers should simulate common error scenarios, such as submitting empty required fields, entering data in the wrong format, or exceeding character limits. They must then verify that each error message includes a suggestion and that the suggestion is programmatically associated with the field. This association is typically achieved with aria-describedby or by placing the message adjacent to the field and ensuring it is announced by screen readers.

Screen reader testing is a critical part of conformance measurement. Testers should use at least one screen reader to confirm that when an error occurs, the suggestion is announced automatically or upon focusing the field. The announcement should be clear and not interrupt other important information. Additionally, testers should check that the suggestion remains visible and accessible until the error is corrected. Conformance is not just about presence; it is about usability. A suggestion that is hidden, truncated, or poorly worded may technically exist but fail to meet the needs of users. Thus, a combination of automated checks, manual inspection, and assistive technology testing provides the most reliable assessment.

4 Where teams usually slip

One common pitfall is providing error messages that identify the problem but not the solution. For instance, a form might say "Username already taken" without suggesting alternatives like "Try adding a number or underscore." This leaves users to guess what might work. Another frequent mistake is using technical jargon or error codes that mean nothing to the user. Messages like "Error 422: Unprocessable Entity" are meaningless to most people and fail to guide recovery. Teams often assume that users will understand the underlying validation rules, but that assumption is risky, especially for users with cognitive disabilities.

Another slip is failing to programmatically associate the suggestion with the input field. Developers might visually place the message near the field but neglect to use aria-describedby or aria-live regions, so screen readers do not announce the suggestion when the error occurs. This creates a disconnect: sighted users see the guidance, but screen reader users only hear "invalid" or nothing at all. Additionally, some teams rely solely on color or icons to indicate errors, which excludes users who cannot perceive those cues. Without text-based suggestions, the error recovery path is broken for many.

A third area where teams slip is timing. If error suggestions are only displayed after the user submits the form, users must wait and then navigate back through the entire form to find the errors. Best practice is to validate on blur or inline, providing immediate feedback. However, even with inline validation, teams sometimes forget to include suggestions. They may simply highlight the field in red and display a generic message. Finally, teams may overlook the need for suggestions in complex widgets like date pickers or file uploads, where errors can be particularly confusing. By addressing these slips, teams can significantly improve the accessibility and usability of their forms.

5 Fixing it in your markup

To meet WCAG 3.3.3, start by ensuring every error message includes a clear, actionable suggestion. Write suggestions in plain language, avoiding jargon and technical terms. For example, instead of "Invalid date," use "Please enter the date in MM/DD/YYYY format, like 12/31/2024." Keep suggestions concise but specific. Then, associate the suggestion with the input field using ARIA attributes. The most common approach is to use aria-describedby, which references the ID of the element containing the suggestion. This ensures screen readers announce the suggestion when the user focuses the field. Alternatively, you can use aria-live regions to announce errors dynamically as they occur, but be cautious not to overwhelm users with too many announcements.

In your HTML, structure the form so that each input has a corresponding label and error message container. For instance, place the error message immediately after the input in the DOM, and give it a unique ID. Then add aria-describedby="error-id" to the input. When an error is detected, populate the error container with the suggestion and make it visible. If the error is corrected, clear the message and remove the aria-describedby reference or update it accordingly. For complex fields, consider using aria-invalid="true" to indicate the error state, but remember that aria-invalid alone does not provide a suggestion; it must be paired with a descriptive message.

Additionally, ensure that error suggestions are persistent and not solely reliant on color. Use text, icons with alt text, and borders to convey the error. For screen reader users, the suggestion should be announced automatically when the error occurs, or at least when the field receives focus. Testing with a screen reader will confirm that the association works. Finally, consider providing a summary of errors at the top of the form with links to each erroneous field, which can help users with cognitive disabilities navigate directly to the issues. This summary should also include the suggestions. By implementing these markup patterns, you create a robust error recovery experience that satisfies the criterion and genuinely helps users.

6 Testing before you ship

Before shipping, conduct a thorough accessibility test focused on error suggestion. Begin with automated tools like axe, WAVE, or Lighthouse to catch common issues such as missing aria-describedby or empty error containers. These tools can quickly scan your forms and flag potential violations, but they cannot judge the quality of suggestions. Therefore, follow up with manual testing. Create a test plan that covers all input fields: required fields, format-specific fields (email, phone, date), and fields with character limits. For each, trigger errors by submitting invalid data, and verify that the resulting message includes a suggestion for correction. Check that the suggestion is specific, clear, and written in plain language.

Next, test with a screen reader. Use at least one popular screen reader, such as NVDA, JAWS, or VoiceOver, to navigate the form and trigger errors. Confirm that when an error occurs, the suggestion is announced automatically or upon focusing the field. The announcement should be intelligible and not cut off. Also, test keyboard-only navigation to ensure that users can reach the error message and understand it without a mouse. Check that the error message remains visible until corrected and that it does not disappear prematurely. For users with cognitive disabilities, consider testing with a simplified language checklist or involving users with disabilities in usability testing, if possible.

Finally, test on mobile devices and with different browsers, as screen reader behavior can vary. Ensure that error suggestions are not hidden by responsive layouts or overlays. Pay attention to timing: if validation occurs on blur, make sure the suggestion appears promptly. If you use a summary of errors, verify that links jump to the correct fields and that the suggestions are included. Document your findings and fix any issues before release. Remember that conformance is not a one-time event; incorporate error suggestion checks into your regular QA process to maintain accessibility as your forms evolve.

7 Frequently asked questions

What if the error is a security risk, like a failed login? WCAG 3.3.3 allows exceptions when providing a suggestion would jeopardize security or the purpose of the content. For login failures, it is acceptable to say "Invalid username or password" without specifying which is wrong, as long as you do not reveal whether the username exists. However, you can still offer general guidance like "Check your username and password and try again." The key is to avoid helping attackers while still being as helpful as possible to legitimate users.

Do I need to provide suggestions for every possible error? The criterion applies to input errors that are automatically detected. If your system cannot automatically detect an error (e.g., a typo in a free-text field that is still valid), then no suggestion is required. Focus on errors that your validation logic catches, such as missing required fields, invalid formats, or out-of-range values. For those, always include a suggestion.

How can I make suggestions helpful for users with cognitive disabilities? Use simple, direct language and avoid negative phrasing. Instead of "Don't use special characters," say "Use only letters and numbers." Break down complex requirements into bullet points or short sentences. Provide examples. Ensure suggestions are visible and not hidden behind tooltips or expandable sections. Consistency is also key: use the same phrasing for similar errors across your site. This predictability reduces cognitive load and helps users learn from previous interactions.

Can I use placeholders as suggestions? Placeholders can provide hints, but they disappear when the user starts typing and are not reliably announced by screen readers. Therefore, they should not replace persistent error suggestions. Use placeholders for format examples, but always provide a separate, programmatically associated error message when validation fails. This ensures all users receive the guidance they need.

What about client-side vs. server-side validation? Both can meet the criterion, but client-side validation offers immediate feedback, which is generally better for usability. However, always duplicate validation on the server side for security and to handle cases where JavaScript is disabled. Ensure that server-side errors also include suggestions and are presented accessibly. The method of validation is less important than the outcome: a clear suggestion for correction.