This section provides some pass and fail examples.
High contrast blue link on a white background
<a href="#" style="color: #0055FF; background-color: #FFFFFF;">Click The contrast ratio is 8.6:1, which exceeds the 4.5:1 requirement.
Dark blue link (#003366) on a white background (#FFFFFF)
<a href="#" style="color: #003366; background-color: #FFFFFF;">Accessible Link</a>The contrast ratio is 7.8:1, which exceeds the 4.5:1 requirement.
Large bold link with lower contrast to meet the requirements for large text
<a href="#" style="color: #666666; font-size: 18pt; background-color: #FFFFFF;">Learn More</a>The contrast ratio is 3.5:1, which is acceptable for large-scale text.
Light gray link on a white background has an insufficient contrast ratio
<a href="#" style="color: #AAAAAA; background-color: #FFFFFF;">Click Here</a>The contrast ratio in this example is 2.5:1, which fails to meet the WCAG requirements.
Pastel blue link on a light gray background is hard to distinguish
<a href="#" style="color: #99CCFF; background-color: #DDDDDD;">More Info</a>The contrast ratio in this example is 2.8:1, which fails to meet the WCAG requirements.
This section provides instructions for how to identify and fix the issue.
The Acquia Web Governance platform highlights elements that contain text with insufficient contrast levels, including standard text on the website as well as link text in various states.
<a> elements or other interactive text styled as links.Adjust the link color
Ensure that the link text color provides sufficient contrast with the background:
<a href="#" style="color: #0055FF; background-color: #FFFFFF;">Accessible Link</a>Add a distinct background for low-contrast links
Ensure that the the background provides sufficient contrast with the link text color:
<a href="#" style="color: #666666; background-color: #F8F8F8; padding: 4px;">Better Contrast Link</a>Use text decoration for additional visibility
Add an underline or bold style to improve link visibility:
a {
color: #0055FF;
text-decoration: underline;
font-weight: bold;If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.