A page to test various examples of informational graphics with a proposed success criteria.
The visual presentation of important information in graphical elements has a contrast ratio of at least 4.5:1 against the immediate surrounding background, except for the following:
- Thicker lines: where the minimum width of the line is at least 3px the graphic has a contrast ratio of at least 3:1;
- Incidental: Graphical elements that are not required for the understanding of the graphic, that are pure decoration have no contrast requirement;
- Alternative: Graphical elements that have an alternative conforming version available from the same page have no contrast requirement;
- Logotypes: Graphics that are part of a logo or brand name have no minimum contrast requirement.
The term "graphical element" is intended to apply to stand-alone icons such as a print icon (with no text), and each part of a more complex diagram such as a line in a graph. Any part of an info graphic that is intended to be discerned from the other parts is a "graphical element".
Important information is defined as:
- information the user may need to complete any action or task including an offline task.
- information the user may need to know related to safety, risks, privacy, health or opportunities.
ID | Example | Pass/Fail? | Notes |
---|---|---|---|
1 | (source) | Fail |
Taking the main understanding bit as the email on grey background, the contrast ratio is 1.9 : 1. |
2 | (source) | Pass |
Taking the main understanding bit as the clock on grey background, the contrast ratio is 3.8 : 1. |
3 | (source) | Fail |
The telephone is the aspect of the icon that needs to be understood. Both the foreground and background have gradients, so I took the least contrasting area to test - the top of the phone icon. Although the icon is thick (well over 3px) the contrast ratio is only 1.9 : 1. |
4 | (source) |
Pass |
The icons within the circles are reasonable thick (over 3px), and have a contrast of 3:1 exactly so they just pass. |
5 | (source for full size) |
Pass |
The information is available in large text with sufficient contrast, so it passes on the Incidental clause. If the percentages in text were not available you would need to discern the blue and pink bars from each other, in which case it would fail with a ratio of 1:1. |
6 | (source for full size) |
Pass? |
NB: For the purpose of this testing we will assume it is a non-interactive graphic, ignoring the mouse-over aspects. In order to understand this graphic, you need to discern the states, either by the outlines or the text label over each state. Therefore I checked the contrast of:
This is a tricky one, if you think the state labels are enough to understand the map, then they have good contrast. If you think you need to discern the state lines, then there is not enough contrast. |
7 | (source for full size) |
Fail |
NB: For the purpose of this testing we will assume it is a non-interactive graphic, ignoring the mouse-over aspects. In order to understand the graphic, you need to discern the labels on the right (otherwise it is using colour-alone), and the lines from the background.
So assuming you think people need to discern the Johnson line (?), then the yellow line fails for this graphic. |
8 | (source for full size) |
Fail |
The labels indicate each pie slice (so not using colour alone). To understand the sizes you need to discern the edges of the slices. The blue-to-blue and yellow-to-green colours to not have sufficient contrast, and there is no border between them to help with the contrast. |
9 | (source for full size) |
Fail |
The white text on the coloured backgrounds provide the information of how large each slice is, so if they had sufficient contrast against the background slices then it would pass. Unfortunately the (quite small) text does not have sufficient contrast therefore it fails. |
10 | (source for full size) |
(Pass) |
The chart relies on colour, so fails on the 'colour alone' checkpoint. However, if it used patterns or labels, to understand the chart you would need to discern the sizes of the blocks. The reasonably high-contrast lines (5:1) do indicate the sizes, so it would pass the contrast requirement. |
11 | (source for full size) |
(Pass) |
The chart relies on colour, so fails on the 'colour alone' checkpoint because you might not be able to associate the colours with the key at the side. However, looking at the contrast aspect then to understand the chart you would need to discern the sizes of the pie. The white 'border' between each slice assists with the contrast, however, about half the slices do not have sufficient contrast with white. The labels are black though, so with a white background and a black foreground, you can discern the sizes of every slice in some fashion. Question for people with low vision: where there are really big blocks (more than 10px squared), is a 2:1 contrast ratio ok? (e.g. the 27% orange in the pie chart.) |
12 | (source for full size) |
Fail |
NB: The source graphic has interactions that assist with contrast, but for the purpose of this we will assume it is a static image. The chart uses labels for each area and has a border between each area, but the contrast of the areas against white is still not sufficient. |
13 | (source for full size) |
Pass |
To understand this graphic you need to understand where along the X axis the strongest points of heat are. Therefore you need to discern the points A, B and C (explained in the source document) against the dark blue background. Although it is a rough gradient, I think the bright-green to dark blue is sufficient with a 3:1 ratio for quite a large area. |