Understanding WCAG SC 3.3.3 Error Suggestion
3.3.3 Error Suggestion: 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. (Level AA)
While SC 3.3.1 Error Identification talks about providing the errors in text format the SC 3.3.3 Error Suggestion is a little different & easy to follow. The intention of this success criterion is to help users identify the errors & provide them with right hints if the form validation fails. For example if an email address is left blank or entered incorrectly, the error message “invalid email address” is not sufficient. In this instance, the error message is not providing enough information to the user to fix the error & provide the right data to pass through the form validation. The right error would be “invalid email address, enter [email protected]”. In this example, users are aware of what pattern to enter in specific form fields that need a specific data pattern. The error suggestion also applies to the fields that are required to pass the form validation. Here letting the users know the specific field is required along with right hint of how to enter that data will enable them to complete the form submission.