WCAG 3.3.3: Error Suggestion
WCAG 2.x Success Criterion 3.3.3: Error Suggestion (Level AA)
This criterion ensures that when users make input errors that are automatically detected, and if a known correction can be suggested, that suggestion is provided to the user. This helps users recover from mistakes more easily and efficiently, reducing frustration and improving the overall user experience.
Why Error Suggestion Matters
Input errors are a common occurrence for all users, but they can pose significant barriers for individuals with certain disabilities:
Success Criteria and Requirements
WCAG 2.0 and 2.1 Success Criterion 3.3.3 Error Suggestion (Level AA) states:
If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.
Key aspects of this criterion include:
Practical Guidelines for Compliance
To meet SC 3.3.3, focus on making error messages informative, actionable, and accessible:
Examples of Correct Implementations
Example 1: Email Address Typo Correction
When a user types a common misspelling of an email domain, the system suggests the correct domain.
HTML
JavaScript
CSS
Example 2: Date Format Suggestion
When a user enters a date in an incorrect format, the system provides an example of the correct format.
HTML
JavaScript
CSS
Examples of Incorrect Implementations
Example 1: Generic Error Message Without Suggestion
The user is told there’s an error but receives no guidance on how to fix it.
HTML
Issue: This message identifies an error (SC WCAG 3.3.1) but offers no suggestion for correction (fails SC 3.3.3). What makes it invalid? Is it too short, does it contain special characters, or is it already taken?
Example 2: Suggestion Jeopardizing Security
Attempting to suggest a correction for a password error could be a major security vulnerability.
HTML
Issue: Directly suggesting a password is a severe security risk and explicitly prohibited by the criterion. Instead, offer generic advice like "Check your Caps Lock" or "Forgot your password?".
Best Practices and Common Pitfalls
Best Practices:
Common Pitfalls:
By thoughtfully implementing WCAG 2.x SC 3.3.3 Error Suggestion, you significantly enhance the usability and accessibility of your forms, enabling more users to successfully complete their tasks.
Related posts
- WCAG 5.2.3: Complete processes
- WCAG 5.2.4: Only Accessibility-Supported Ways of Using Technologies
- WCAG 5.2.5: Non-Interference
- WCAG 5.3.1: Required elements of the conformity declaration
- WCAG 5.3.2: Optional Components of a Conformance Claim
Still looking for answers?
Ask our experts using online chat