1.4.6 Contrast (Enhanced)
The color of link text in all user-induced states such as hover, focus, active, and visited, must have enhanced contrast with its background. The required contrast ratios are:
This ensures that link text remains highly legible for users with visual impairments.
Enhances readability in all interactions:
Ensures that link text remains visible across different states.
Improves accessibility for visually impaired users:
Higher contrast helps users with low vision to distinguish link text.
Prevents usability issues:
Links that change color on hover or focus must remain easily identifiable.
This section provides some pass and fail examples.
Sufficient contrast for all states
a {
color: #003366; /* Contrast ratio: 12.6:1 on white */
}
a:hover,
a:focus {
color: #002244; /* Contrast ratio: 9.5:1 on white */
}
Why this works:
Large-scale text meets enhanced contrast minimum
.large-link {
font-size: 24px;
color: #444444; /* Contrast ratio: 5.2:1 */
}
.large-link:hover {
color: #333333; /* Contrast ratio: 4.8:1 */
}
Why this works:
Insufficient contrast in default state
a {
color: #777777; /* Contrast ratio: 4.3:1 on white */
}
Issue:
Fix:
a {
color: #003366; /* Contrast ratio: 12.6:1 */
}
Hover/focus state fails enhanced contrast requirement
a {
color: #003366; /* Good contrast */
}
a:hover {
color: #555555; /* Contrast ratio: 5.1:1 */
}
Issue:
Fix:
a:hover {
color: #002244; /* Contrast ratio: 9.5:1 */
}
Large text fails enhanced contrast minimum (requires 4.5:1)
.large-link {
font-size: 24px;
color: #888888; /* Contrast ratio: 3.2:1 */
}
Issue:
Fix:
.large-link {
color: #444444; /* Contrast ratio: 5.2:1 */
}
This section provides instructions on how to review and fix the issue.
This section provides instructions on how to review this issue.
This section provides some ways to fix the issue.
Use sufficiently contrasting colors
a {
color: #002255; /* Contrast 9.8:1 */
}
a:hover {
color: #001133; /* Contrast 7.4:1 */
}
Use a contrast checking tool such as:
Ensure that large text meets the 4.5:1 requirement
.large-link {
font-size: 24px;
color: #444444; /* Contrast 5.2:1 */
}
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Tue Mar 18 2025 15:05:51 GMT+0000 (Coordinated Universal Time)