A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
1.4.6: Contrast (Enhanced)
This check ensures that all links that are positioned over a background image, gradient, or filter maintain a strong contrast ratio of at least 7:1 against their background. The ratio must persist across all link states, including normal, hover, focus, and visited.
It is important to fix this type of issue because high contrast is essential for readability and navigation. People with low vision or color blindness often struggle to perceive text that blends into complex backgrounds like photographs or gradients. Without sufficient contrast, these users can fail to identify a clickable link or read the link text. High contrast also benefits people who use devices in bright sunlight or high-glare environments where screen visibility is reduced.
This check affects individuals with:
A compliant link uses a solid background color behind the text or a dark overlay on the image to ensure the contrast ratio is at least 7:1. For example, white text placed over a dark, semi-transparent black box that is positioned over a light image.
HTML
<div style="background-image: url('mountain.jpg');">
<a href="/contact" style="background-color: rgba(0,0,0,0.8); color: white; padding: 5px;">
Contact Us
</a>
</div>A non-compliant link features light-colored text placed directly over a light or busy part of an image without any supporting background or text shadow. For example, yellow link text placed over a photo of a sunset, where the colors blend and make the text unreadable.
HTML
<div style="background-image: url('sunset.jpg');">
<a href="/services" style="color: #FFFFE0;">
Our Services
</a>
</div>This section provides information on how to review and fix this issue.
For more information, visit How to review an accessibility issue.
:hover, :focus, and :visited are styled with colors that also meet the 7:1 contrast threshold.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.