diff --git a/understanding/20/img/buttons.svg b/understanding/20/img/buttons.svg new file mode 100644 index 0000000000..84d4d75cb8 --- /dev/null +++ b/understanding/20/img/buttons.svg @@ -0,0 +1,293 @@ + + + + diff --git a/understanding/20/img/textlink.svg b/understanding/20/img/textlink.svg new file mode 100644 index 0000000000..6b55b9d34e --- /dev/null +++ b/understanding/20/img/textlink.svg @@ -0,0 +1,139 @@ + diff --git a/understanding/20/use-of-color.html b/understanding/20/use-of-color.html index ebd406cc0b..7b1cceab98 100644 --- a/understanding/20/use-of-color.html +++ b/understanding/20/use-of-color.html @@ -154,21 +154,34 @@
A form contains both required and optional fields. Instructions at the top of the form explain that required fields are labeled with red text and also with an icon. Users who cannot perceive the difference between the optional field labels and the red labels for the required fields will still be able to see the icon next to the - red labels.
Students view an SVG image of a chemical compound and identify the chemical elements present based both on the colors used, as well as numbers next to each element. A legend shows the color and number for each type of element. Sighted users who cannot perceive all the color differences can still understand the image by relying on - the numbers.
A block of text contains a non-underlined blue hyperlink that has a contrast of 3.8:1 to the surrounding text. When receiving keyboard focus, the link's text color changes to a darker blue. The contrast difference between the link color in the focused and the unfocused state is only 2:1. In addition, when focused the contrast difference between the link's text color and the surrounding text falls to 2:1, i.e., it is now well below a 3:1 ratio. However, to further emphasize the focused state the link is provided an additional underline. Due to the additional underline, color is not used as the only visual indicator of the focused hyperlink, so it passes Success Criterion 1.4.1 Use of Color. Without the underline, the hyperlink would have failed this Success Criterion. (Note that the underline must have a contrast of at least 3:1 against the background, otherwise it would fail Success Criterion 1.4.11 Non-text Contrast.)
+A page has a row of buttons with white text on a medium blue background. When one of the buttons receives keyboard focus, its background turns black. The difference of contrast between the unfocused and the focused button background is above 3:1. This difference of contrast means that a change of color is not the only indicator of focus.
+