If a graphic is needed to understand the content or functionality of the webpage then it should be perceivable by people with low vision or other impairments. Low contrast graphics are more difficult to perceive, and may be completely missed by people with a visual impairment.
This success criteria was added to WCAG 2.1 so that contrast requirements for text in WCAG 2.0's 1.4.3 Contrast (Minimum) are applied to key graphics as well.
The term "required for understanding" is used in the success criteria as many graphics do not need to meet the contrast requirements. If a person needs to perceive a graphic, or part of a graphic (a graphical object) in order to understand the content it should have sufficient contrast. That is not a requirement for:
The term "graphical object" applies to stand-alone icons such as a print icon (with no text), and the important parts of a more complex diagram such as each line in a graph. For simple graphics such as single-colour icons the entire image is a graphical object. For images made up of multiple lines, colours and shapes they will be made of multiple graphical objects, some of which are required for understanding.
Not every graphical object needs to contrast with its surroundings, only those that are required to understand what the graphic is conveying. Gestalt principles such as the "law of continuity" can be used to ignore minor overlaps with other graphics or colors.
Icon | Notes |
---|---|
![]() |
A magnet can be understood by the U shape with lighter coloured tips. Therefore to understand this graphic you should be able to discern the overall shape (against the background) and the lighter coloured tips (against the rest of the U shape and the background). The graphical objects are the U shape (by outline or by the solid red colour), and each tip of the magnet. |
![]() |
The low-currency symbol can be understood with recognition of the shape (down arrow) and the currency symbol (pound icon with the shape). To understand this graphic you need to discern the arrow shape against the white background, and the pound icon against the yellow background. The graphical objects are the shape and the currency symbol. |
![]() |
In order to understand the graph you need to discern the lines and shapes for each condition. Therefore each line and coloured shape is a ‘graphical object’ in the graph (which is over 3px in the original page) and should be over 3:1 against the white background. Most of them have good contrast except the green triangles. Notably the purple crosses are not 3px thick, but the contrast is 5:1 and the main line width is 3px wide. The graphical objects are the lines in the graph, including the background lines for the values, and the coloured lines with shapes. |
![]() |
To understand the pie chart you have to discern each slice of the pie chart from the others. The graphical objects are the slices of the pie (chart). |
Taking the magnet image above as an example, the process for establishing the graphical object(s) is to:
Due to the strong contrast of the red and white, it would also be possible to only put the outline around the white tips of the magnet and it would still conform.
Gradients can reduce the contrast apparent contrast between areas, and make it more difficult to test. The general principles is to identify the graphical objects required for understanding, and take the central color of that area, and compare it to the other end of the gradient of the nearest adjacent color or colors. @@@ Need to create one or more examples for this.
Graphics that are very thin are harder to perceive, therefore have a higher contrast requirement of 4.5:1. Graphics that are thicker or are solid shapes have a lower requirement of 3:1.
For designers developing icons that need to be perceived clearly, see the following example:
Example of several sizes of icon having sufficient contrast at different sizes.
The thicker lines (3px or more) have 3:1 contrast (#949494 on #FFFFFF), the small lines (2px or less) need a darker grey (#767676 on #FFFFFF).
Some graphics may have interactions that either vary the contrast, or display the information as text when you mouseover/tap/focus each graphical object. In order for someone to discern the graphics exist at all, there must be contrasting colours or text in order to find the graphics. Within that area, information available by a conforming method (e.g. focusable elements) can be used to make that information available dynamically as text.
If an image changes size depending on the size of the viewport, the image should be tested at the smallest size. Then you can use a contrast analysis tool to pick a colour, and the magnified view with the "eye-dropper" will show the pixels.
Another option is to use the browser's code inspection tools to add a 3px border around the image and compare the size. The measure is in CSS pixels.
People with low vision often have difficulty perceiving graphics that have insufficient contrast. This can be exacerbated if the person has a color vision deficiency that lowers the contrast even further. Providing a relative luminance (lightness) difference of 4.5:1 or greater can make these items more distinguishable when the person does not see a full range of colors.
Pie charts make a good case study for this success criteria, the following pie charts are intended to convey the proportion of market share each browser has. NB: The actual figures are made up, these are not actual market shares.
Fail: The pie chart has labels for each slice (so passes 1.4.1 Use of Color), but in order to understand the proportions of the slices you must discern the edges of the slices (the graphical objects conveying essential information), and the contrast between the slices is not over 3:1.
Not applicable: The pie chart has visible labels and values that convey equivalent information to the graphical objects (the pie slices).
Pass: The pie chart has visible labels, and sufficient contrast around and between the slices of the pie chart (the graphical objects). A darker border has been added around the yellow slice in order to achieve the contrast level.
Note that on the last example, the spaces between the small slices are less than 3px wide, therefore those slices need a 4.5:1 contrast ratio against the white background.