Error correction suggestions

Rule ID Error 4
Definition When input error is automatically detected and suggestions are automatically known, the suggestions must be provided to the user (some exceptions).
Purpose
  • Users benefit from being informed of invalid input and on how to correct invalid input.
Required Yes for HTML5 and ARIA Techniques ruleset mapping
WCAG Success Criteria

3.3.3 Error Suggestion (Level AA, Primary Success Criterion)

Rule Category Forms
Scope Element
Target Resources textarea and input[type="text"] elements, and ARIA textbox, gridcell and combobox widgets
  • select
  • textarea
Techniques
  • Add aria-describedby reference on the form control or widget to the suggestion information.
  • Use a popup list to provide suggested values for valid input.
Informational Links