This concerns not only individuals with severe vision impairments, but also the typical age-related decline in contrast vision. Therefore, it is relevant for the majority of the aging population.
This check affects the following users who have:
Low Vision: Including many elderly due to natural age related vision loss.
Color Blindness: Colorblind individuals have a better ability to distinguish graphics and user interface controls when there is a good contrast ratio.
No impairments: All users benefit from good contrast when they view content under special lighting conditions, such as in bright sunlight or on a screen that is dimmed due to low battery mode.
Emily, 63 years:
“When they use those light pastel colors on a website, I really, really struggle to see anything. When I want to check the three-day forecast, they display it with those small light blue icons and arrows showing how the weather will be. It's on a light gray background, and it's nearly impossible for me to make it out.”
This section provides some examples of the issue.
A button for the user to send a message is white with a light gray mail icon. The entire button background is white. The ratio between the gray and the white is 2:1. In this case, there is not sufficient contrast to perceive the location of the button on the page or what the icon represents.
A button for the user to send a message is white with a darker gray mail icon. The entire button background is white. The ratio between the gray and the white is 7:1. In this case, there is sufficient contrast to perceive the location of the button on the page and what the icon represents.
A button for the user to send a message is white with a darker gray mail icon. The overall background of the button is white. Additionally, the button includes the text "Send" in black alongside the icon. The ratio between the black text color and the gray background is 12:1 which is sufficient for text contrast requirements.
In this scenario, the text alone serves as an adequate means for the user to locate and comprehend the function of the button. Therefore, no additional contrast specifications are necessary for the icon button.
This section provides information on how to review and fix the issue.
How to review it
You need to manually examine the website to locate and measure contrast on the relevant graphical elements. Before you measure the contrast ratios, you must identify all active user interface components, states, and graphical objects.
Look through the examples in Understanding SC 1.4.11 Non-text Contrast to better understand which graphical elements and combinations of elements in various states are important to review in this check.
For more information, visit How to review an accessibility issue.
To calculate the contrast ratio, you need to know the color code for the foreground color and for the background or adjacent color. The elements in the image versus the background of the page as well as adjacent colors should meet the minimum contrast requirements of 3:1.
You should, for example, use the background color to assess whether there is sufficient contrast between an icon's foreground color and the icon's background color. However, if you are measuring the contrast on a pie chart, it is typically the adjacent colors that you should measure, such as the color of two neighboring segments. You must therefore assess for yourself which color combinations are essential to distinguish from each other in order for the user to perceive the meaning of your content.
Follow these steps to alculate the luminosity contrast ratio between the text on the component, the component itself as in a pie chart for example, and the background color:
Use the color picker to “pick” the color from the component background. In this example, the component (a button) background is pink.
Paste the color code into the “Background color picker” on the Acquia Color Contrast Checker.
Repeat for adjacent colors, for example on a pie chart or a varied background, to make sure that the contrast between each adjacent area is easy to distinguish. Do this if it seems like the button or image does not meet the minimum contrast requirements of 3:1.
Web team: (Visual Design and front-end developer) for changes in your CMS/website template.
Content Authoring: for issues that are found in content such as diagrams and info graphics.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.