Picto thématique

Rule n° 176 - Information is not conveyed by color alone.

This rule implies not using color alone to refer to content or a function. For example, the mandatory nature of a form field marked in red may not be perceived by everyone.

#Accessibility #Conception #Presentation

Goal

  • Enable access to information for users whose browsers, platforms, technical aids or disabilities (such as color blindness) prevent them from viewing or differentiating between colors
  • Make information accessible by web crawlers.
  • Improve content accessibility for people with disabilities.

Implementation

In addition to colour, provide an additional mechanism to convey the information provided by the colour. This mechanism, independent of the CSS formatting layer, can consist of several types:

  • Provide semantic markup (strong, em, etc.)
  • Add text indications (asterisk indicating a mandatory field)
  • Add hatching, patterns, borders, etc. in maps and charts.

Control

Checking requires visually comparing two versions of the page: the normal version and a version where the colours are disabled. It is therefore easier to work with two screens.

For each page checked:

  • Disable colour support via your test toolbar then switch the images to grayscale.
  • Check by comparing the two versions whether the version without colours shows any loss of information. This will be the case, for example, in a navigation menu where the current heading is only differentiated by its colour, or even in a map whose areas are simple solid areas of colour without borders or patterns.

Attention: Information may sometimes be independent of the colour in a title attribute, causing a tooltip to appear when hovering over the content. Because access to the tooltip from the keyboard is not currently possible by default in all browsers, this solution must be ruled out.

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.