Planning and Testing Tips to Meet Color Requirements
10/24/2022 2:10:31 PM
By Jennie Delisi, Accessibility Analyst
Color – something we use every day at work. Many of us don’t even think about it! It is part of:
And this list just relates to text!
This month we review the concept of color as a sensory characteristic of text. We cover who needs you to use color intentionally, what to consider when planning to use text with color, and how to test.
You may know someone that cannot tell the difference between red and green. Or someone that accesses text but not any of the visuals onscreen. People may find color difficult to perceive for a variety of reasons. Consider people who:
Use color – it helps many people engage with your content! And, add these concepts to your checklist (more details will follow):
Bonus if you are able to:
Each of us plays a role in planning to use color with text.
Selecting colors for specific tasks? Think about how you (and other people) will test them. Plan to use colors that meet the contrast requirements. Plan for use of text with color in:
There are few jobs today that someone may have where color is not a consideration.
In terms of text color, think about the color of:
Often I hear people say “I use the default colors, so those are accessible. Right?” Maybe.
The company or organization may not have tested the default colors for the specific way you are using them. It's best to test it yourself.
Consider:
Using something you haven’t used before or since the latest update? Consider that the default color of the text may not have enough contrast.
When planning to use color to communicate something like status of a project, or an alert, use text and color. Do not use color alone. Review your plan to determine if readers need to be able to perceive color of the text to understand the information. Examples include:
Revise your plan to ensure that color is not the only way the content communications information.
How IT projects will use color and text is an important consideration for
The information for individual contributors (above) will start you thinking about how this impacts your projects.
You may also want to add specific information in your plans that references the Web Content Accessibility Guidelines (WCAG). For state of Minnesota employees, this is currently version 2.0, A and AA. Consider building in greater accessibility by adding AAA and 2.1 success criteria. The How to Meet WCAG (Quick Reference) with color as a selected tag identifies the following success criteria to include:
Note: the success criteria listed above does not include color related to other uses, such as visible focus. This is important as well, but the scope of this article is on the use of color and text.
There are many tools available to help you select colors to use. Here are some examples:
Each has a style for adjusting potential colors and displaying colors for your consideration.
Test 1: check for color words.
A simple testing tool is your Find option within a browser, document, or content editor. Search for words related to the colors available on the page, e.g., the text “errors are shown in red.” Common examples are red, green, orange, yellow.
You may have access to other tools that use automated tests to search for the use of color words.
Test 2: check for text presented in different colors.
Examine the page and identify text that uses different colors. You may be able to determine this by scanning with your eyes. For some, this may be easier by examining the color codes. When encountering different colored text, review to determine if color change is required for understanding the content.
When testing text, review anything that is not black and white, or text with background colors you have previously tested and found to pass. Make a list of these elements. For testing text they could be:
Note: some text on the page may be part of images. This article will not cover specifics for testing this type of text.
Places to consider reviewing (often forgotten):
There are a variety of tools available for testing color contrast. Select ones that work with your abilities, type of technology, and display preferences.
Common to all is the need to determine:
Sometimes there are special considerations:
For testing to determine if content uses color alone, review the section above: Tools for Checking for Color Used Alone.
For testing color contrast, in addition to the testing tools in the section above (Color Contrast Planning Tools) some other examples are:
The Understanding Documents for each success criteria in WCAG have a section called Sufficient Techniques. Each Sufficient Techniques page has a Tests section. There is a procedure, followed by expected results. Here are some Test sections that may be helpful to review:
Looking for more test protocols? Start with the specific success criteria. Find its Understanding Document. Then, review the sufficient techniques for one that is close to your situation.
Still not sure how to test?
For people who want more resources about use of color here are some suggestions:
Would you like to learn more about the accessibility work being done by Minnesota IT Services and the State of Minnesota? Once a month we will bring you more tips, articles, and ways to learn more about digital accessibility.
Accessibility
Accessibility