Picto thématique

Rule n° 97 - Fields that support autocompletion are marked in the source code.

Autocompletion consists of providing suggestions as you type. These can be suggestions for queries in a search field or suggestions associated with the beginning of a word typed in another field. It is possible to flag this type of field in the source code, which will allow for optimal use, particularly for people who use screen readers.

#Accessibility #Development #Forms

Goal

  • Improve accessibility.
  • Facilitate the user experience.

Implementation

Use the autocomplete attribute of the input field, filled in with the standardized value corresponding to the field's content. For example:
  • username: login ID,
  • email: email address,
  • tel: phone number,
  • country-name: country name,
  • cc-name: name on a credit card,
  • cc-number: credit card number.

Control

Check each input field concerned for the presence of the autocomplete attribute, filled in with the standardized value corresponding to the field's content.

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 19,000 web professionals to have their skills certified. Train your teams, contact us

We offer a 1 hour free discovery module.