Main Objective:
To ensure that when errors occur during user interaction with interactive form controls, suggestions and hints are provided to the user for corrections. This success criterion is akin to Success Criterion 3.3.1 (Error Identification), but it specifically focuses on providing hints and suggestions for errors, whereas Success Criterion 3.3.1 focuses on identifying and presenting errors.
Authors can often anticipate specific errors that users may encounter and prepare suggestions accordingly. Error hints may be dynamically provided before the user submits the form or upon form submission.
Errors can be displayed in various formats such as text, radio groups, select inputs, or via group of checkbox fields. The author can predict what the user intended to enter and offer the user options to choose the correct value.
For instance, if a user is required to enter the month they intend to start a subscription and enters a numeric value like '3', upon form submission, an error message could appear indicating an issue with the date field and suggesting a correction like: 'An error has occurred. Please select the start month of the subscription (e.g., January, February, March, April, May, ...).