Picto thématique

Rule n° 77 - If any data entered in the form are rejected, the fields containing the rejected data are indicated for the user.

Filling in a form is not always an easy task: save your users the trouble of having to search for their mistakes as well.

#Accessibility #Forms #Conception #Development

Goal

  • Provide feedback to users on the actions they just performed.
  • Guide users directly to the items with which they must interact.
  • Improve the accessibility of content for people with disabilities."

Implementation

Include at the beginning of the form a message indicating that all or part of the fields require a correction of the previous input. Also indicate this information in the title element of the page.

Optionally add to the message at the beginning of the form the list of fields to be corrected.

Indicate explicitly in the label of each relevant field that it must be corrected.

Control

For each form:

  • Submit various possible errors in each form such as failure to enter a mandatory field, non-compliance with a requested or predictable format (email address format, date, etc.), case sensitivity.
  • Then, check that the user is informed of errors to be corrected at least in the title element of the page and that each erroneous field is reported via its label.

By Opquast - Read the license


Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 14,500 web professionals to have their skills certified. Train your teams or your students, contact us