Picto thématique

Rule n° 136 - The website applies a different style to visited and unvisited links.

By default, browser style sheets provide different colours for visited and non-visited links. It is quite legitimate to change this unseemly blue and purple, but why not keep this difference which is useful to the visitor?

#Links #Conception #Development

Goal

  • Facilitate the identification of content that has already been visited.
  • Facilitate the identification of content that has yet to be explored.
  • Encourage users to navigate to new pages.

Implementation

Apart from the navigation menus, do not apply the same default CSS styles for unvisited links (a or a:link selectors) and for visited links ( a: visited selector). To do this: either provide a specific rendering for the links visited, or do not indicate a rendering rule for them (the default browser style can then be applied without difficulty).

_ x000D_

Find out more:

Control

In each page containing hyperlinks:

  • Check that the : visited selector is in the CSS style sheets and used, and that the style used is different from that applied to a or a: link or else;
  • Check that the : visited selector is not in the CSS stylesheets to let the default browser style apply

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