40 lines
1.6 KiB
Markdown
40 lines
1.6 KiB
Markdown
[Back to 3 Understandable index](index.md)
|
|
|
|
# 3.3.3 Error Suggestion
|
|
|
|
- Level: AA
|
|
- Guideline: 3.3 Input Assistance
|
|
- Principle: 3 Understandable
|
|
|
|
## What it is
|
|
|
|
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.
|
|
|
|
## How to test
|
|
|
|
- Check: 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.
|
|
- Use the sufficient techniques below as acceptable methods when applicable.
|
|
|
|
## Sufficient techniques (W3C)
|
|
|
|
- ARIA18: Using aria-alertdialog to Identify Errors
|
|
- G85: Providing a text description when user input falls outside the required format or values
|
|
- G177: Providing suggested correction text
|
|
- PDF22: Indicating when user input falls outside the required format or values in PDF forms
|
|
- G84: Providing a text description when the user provides information that is not in the list of allowed values
|
|
|
|
## Advisory techniques (W3C)
|
|
|
|
- G139: Creating a mechanism that allows users to jump to errors
|
|
- G199: Providing success feedback when data is submitted successfully
|
|
- SCR18: Providing client-side validation and alert
|
|
- SCR32: Providing client-side validation and adding error text via the DOM
|
|
|
|
## Resources
|
|
|
|
- WCAG 2.2 SC: https://www.w3.org/TR/WCAG22/#error-suggestion
|
|
- Understanding: https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html
|
|
- Quick reference: https://www.w3.org/WAI/WCAG22/quickref/?versions=2.2#error-suggestion
|
|
|
|
[Back to 3 Understandable index](index.md)
|