Picto thématique

Rule n° 140 - Telephone numbers can be enabled using the appropriate protocol.

In a mobile context, when this rule is respected, a simple click on a number opens the telephone functionalities of your mobile. It's practical! So, of course, in a desktop context, the disadvantage is that it opens up software like Skype. But there are tricks to avoid this.

#Accessibility #Development #Links #Mobile

Goal

  • Facilitate easier use of telephone numbers, particularly on mobile devices.

Implementation

Tag phone numbers with an a link endowed with an href attribute of the type href="tel: + xx x xx xx xx xx".

_ x000D_

Find out more:

Control

In the generated HTML code, check the markup of the telephone numbers in the form a href="tel: + xx x xx xx xx xx".

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.