Loading content...
Loading content...
Never rely on color alone to convey information. Add icons, text labels, or patterns.
Why it matters: Color blind users and screen reader users cannot perceive color differences.
Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.
What This Means: This success criterion requires that color cannot be the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element. Information must be available through additional means such as icons, text labels, patterns, shapes, or other visual indicators.
Why It's Important: Approximately 8% of men and 0.5% of women have some form of color vision deficiency (color blindness). These users cannot distinguish between certain colors, making color-only information inaccessible. Additionally, screen reader users cannot perceive color at all. By providing multiple visual indicators, we ensure that all users can access the information regardless of their ability to perceive color.
When using color to convey information (like red for errors, green for success, or colored status indicators), always add additional indicators. Use icons (⚠️ for errors, ✓ for success), text labels ('Error: ', 'Required: ', 'Status: '), patterns, shapes, or other visual cues. For links, ensure they're distinguishable by more than just color (underline, bold, or icons). For form validation, use icons and text in addition to color coding.
This criterion ensures that color blind users can access and understand the content, improving their overall experience and ability to use the website effectively.
This criterion ensures that blind users can access and understand the content, improving their overall experience and ability to use the website effectively.
This criterion ensures that users with low vision can access and understand the content, improving their overall experience and ability to use the website effectively.
Impact: When this criterion is properly implemented, it removes barriers for these user groups and creates a more inclusive web experience for everyone.
An error is indicated only by red text, with no other indicator. Color blind users may not see the difference.
<span style="color: red;">Error occurred</span>An error is indicated by both red color and an error icon, making it accessible to all users.
<span style="color: red;"><span aria-label="Error">⚠️</span> Error occurred</span>This success criterion benefits the following user groups:
Tip: Use this checklist during development and testing to ensure all requirements for 1.4.1 Use of Color are met. Check off items as you complete them.
To meet this success criterion, ensure the following requirements are met:
While meeting the minimum requirements ensures compliance, consider these enhancements for a better user experience:
If I use green for success and red for error, that's accessible.
Color alone is not sufficient. Users with color blindness may not distinguish these colors. Add icons, text labels, or other indicators.
Links are always blue, so they're accessible.
If links are only distinguished by color (even if it's the default blue), they may not be accessible to color blind users. Add underlines or other visual indicators.
I can use color if I also provide a text description somewhere else on the page.
The alternative must be immediately associated with the color-coded element. Users shouldn't have to search elsewhere to understand the information.
Links distinguished only by color (no underline or other indicator).
Add underlines, bold text, or icons to links. Ensure links are distinguishable even in grayscale.
Form validation errors shown only with red color.
Add error icons (⚠️) and explicit error text messages. Use aria-invalid and aria-describedby for screen readers.
Required fields indicated only with red asterisk or red text.
Add text labels like 'Required' or use multiple indicators (asterisk + text + color).
Charts and graphs using only color to distinguish data series.
Add patterns, textures, labels, or different shapes in addition to color. Provide a legend with multiple indicators.
Status indicators (online/offline, active/inactive) using only color.
Add icons, text labels, or other visual indicators. Use semantic HTML and ARIA attributes.
Note: These are official W3C resources for 1.4.1. For the most up-to-date information and detailed technical guidance, always refer to the official W3C documentation.
Implementing 1.4.1 Use of Color correctly requires understanding your specific context. Code solutions vary significantly based on multiple factors:
HTML, React, Vue, Angular, PHP, Python, and other frameworks each have different patterns and best practices.
Server-side rendering, client-side rendering, static generation, and hybrid approaches require different solutions.
Your existing components, styling approach, and UI library influence how accessibility must be implemented.
Your specific user base, content type, and interaction patterns determine the most appropriate implementation.
We provide tailored implementation guidance by analyzing your specific technology stack, coding patterns, design system, and project requirements. Our team reviews your codebase and provides custom solutions that integrate seamlessly with your existing architecture.
Get Custom Implementation HelpPart of
Perceivable PrincipleGuideline
1.4 Distinguishable