Situation
I am unable to link a graph to its legend because I have difficulty distinguishing the colors used.
Information
Color perception is not universal: 8% of men have color discrimination problems. Information should therefore not be carried solely by a color code.
Our recommendations
- To guarantee readability, combine a color code with additional distinguishing elements (hatching, letter, arrow)
- Visibly attach the legend to the graphs or provide a textual description as an alternative (example)
- Keep in mind that a bad choice of color (too similar to each other, or too close to the background color) limits the readability of a graph for everyone.
Explore more!
- Contribute accessible: good practices related to colors (digital print)
- Introduction to web accessibility: the issue of color (code-garage.fr)
- Better understand color blindness (Atalan)
Status
- Sent to staff: February 12, 2024
- Modified on 26/02/2024 with the addition of the names of the referents in the “To go further” section