Picto thématique

Rule n° 93 - Email, URL, telephone number, search, password, and date and time input fields are assigned an appropriate input type.

In forms, you can specify what types of data are expected. This has many advantages. This allows mobile operating systems to display alternative keyboards or to verify that the data meets some form or syntax. In short, it ihas great value.

#Accessibility #Development #Forms #Mobile

Goal

  • Allow the use of virtual keyboards adapted to the different input modes on mobile devices.
  • Facilitate submission of the input data.
  • Improve compatibility with mobile terminals.

Implementation

Provide each input element concerned with a type attribute corresponding to the expected input: email, url, tel, number, search, password, date, time.

Control

Check, for each input element concerned, that there is a type attribute with the value corresponding to the type of input expected: email, url, tel, number, search, password, date, time.

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.