Previous rule | Règle n°39 | Next rule

Chaque lien est doté d’un intitulé dans le code source

A link consists of at least a URL and a label. A link without label is meaningless and risks not being perceived or understood correctly, whether by a person or a machine.

Objectives

  • Prevent possible incomprehension of links.
  • Avoid links that become invisible when CSS styles or background images are not included.
  • Improve accessibility of content to readers with disabilities

Implementation

  • Give each link a text label (between opening and closing tags of the elementa) or, if necessary, via the textual alternative of an img element or object, etc. Do not hide the text label of the element to replace it with a CSS style effect (background image).

Control

  • On each page containing hyperlinks :
  • check that there is content in the tag has a text link, even when styles are disabled or only colors are disabled
  • check that there is a textual alternative in case of an image link or equivalent, e.g. object and embed elements, even when styles are disabled

Validation

  • Needs to be verified by a human.

Information