WebAIR

If a user makes an error in a form and submits it, are they provided with an error message as to what the problem was? (FAC29)

Why Is This Important?

There are numerous errors that can occur when a user submits a form. They may have failed to complete a "required" field or they may have entered data in the wrong format (e.g. a date field entered as MM/DD/YY instead of DD/MM/YY). They may have attempted to purchase something that is no longer available or they may not have selected what they want to purchase! Regardless of the error, it is important to provide clear feedback as to what the problem is so that the user can make adjustments and not repeat the error.

How To Fix The Problem

Once a form has been submitted and error(s) have been detected, provide a clear error message that conveys this to the user. The more specific the error message, the easier it will be for the user to correct it. For example, "Error: Q6 has not been completed" is better than "There are errors with this form". Try to ensure that the other information entered by the user is retained so that the user does not have to complete the entire form again.

Example

No example is available.

Further Information

  1. http://webaim.org/techniques/formvalidation/#error
  2. http://www.w3.org/community/webed/wiki/HTML5_form_additions
  3. http://www.standards-schmandards.com/2005/accessible-errors/
  4. http://juicystudio.com/article/accessible_browser_validation_html5.php