This page is in progress -
Why This is Important
It is natural for people to make mistakes and cause errors, since we are all human. Suggesting corrections to the errors is accessible to people with cognitive disabilities because the cause of the error might not be obvious to them.
Identifying errors to users is the first essential step to accessibility. Suggesting corrections to errors is the next level of support. This is especially helpful to people with cognitive disabilities because they might not understand the nature of the error, and the suggestions can help them correct it.
If the suggestions are known and they don’t pose a security risk, then it’s important to communicate them to the user. Suggestions might be unknown if the system cannot recognize the nature of the error beyond “invalid input.” It might pose a security risk if the error is the password or some other input for their unique login.
This references WCAG criterion 3.3.3 Error Suggestion (Level AA).
How to Implement This
Writing Effective Error Messages
Writing plays a significant role in accessible error messaging. UX World recommends the following 11 tips for writing a good error message:
- Be Clear And Not Ambiguous
- Be Short And Meaningful
- Don’t Use Technical Jargon
- Be Humble — Don’t Blame User
- Avoid Negative Words
- Give Direction to User
- Be Specific And Relevant
- Avoid Uppercase Text
- Provide Appropriate Actions
- Use Progressive Disclosure Approach
- Use Proper Placement
Here are some other resources on writing effective error messages:
- Adobe XD - How to Write and Design User-Friendly Error Messages
- UX Writing Hub - Best 10 Examples And Guidelines For Error Messages
- Boldist - How to Write User-Friendly Error Messages
Keep in mind that there may be some variations between your error messaging and others because of the tone and voice of your brand (i.e. if you’re more serious and formal, or if you’re more playful and casual). As long as the message is still clear, understandable, and actionable, then it is accessible!
Error Detection and Suggestion
Actually being able to systematically detect errors and suggest corrections requires an error detection algorithm.
This section is incomplete and could use more support. If you are interested, please fill out the form below!
How to Test This
This requires manual testing. Enter invalid content into the user inputs. Evaluate the error messaging for their suggestions.
Contribute and Give Feedback
If you would like to provide feedback or contribute content on this resource, please fill out the form below.