Text on top of image, gradient, or backdrop-filter should have minimum contrast
1.4.3 Contrast (Minimum)
Introduction
This success criteria is about contrast. This related accessibility check states that website owners must provide sufficient contrast between text and the background when the text is positioned over images, gradient background color, or a backdrop filter.
What
When text is placed on top of a background image, gradient, or backdrop filter effect, it must have a minimum contrast ratio of 4.5:1. This ensures that the text stands out against varying background colors and textures.
For large-scale text that is 18pt or larger, or 14pt and bold, the contrast ratio must be at least 3:1.
Elements that require contrast validation include:
Text over images: This includes banners, hero sections, watermarked backgrounds, and so on.
Text over gradients: This includes buttons, call-to-action sections, and other similar effects.
Text over semi-transparent overlays: This includes overlays such as modals and cards with backdrop filters.
Text with shadows: This covers text that uses a shadowing effect, the shadows must not reduce the overall contrast.
Why
When text is placed on complex or dynamic backgrounds such as images or gradients, it can become difficult to read. Ensure that sufficient contrast specifications are applied to enhance readability. This benefits:
Users with low vision, who rely on high contrast to distinguish text from the background.
Users with color blindness, who may struggle with certain color combinations.
All users in different lighting conditions, who find it difficult to distinguish text in bright sunlight or when the device is in dark mode.
Failure to meet the contrast requirements can result in poor readability and accessibility barriers.
Examples
This section provides some pass and fail examples of this check.
Text on top of image, gradient, or backdrop-filter should have minimum contrast
1.4.3 Contrast (Minimum)
Introduction
This success criteria is about contrast. This related accessibility check states that website owners must provide sufficient contrast between text and the background when the text is positioned over images, gradient background color, or a backdrop filter.
What
When text is placed on top of a background image, gradient, or backdrop filter effect, it must have a minimum contrast ratio of 4.5:1. This ensures that the text stands out against varying background colors and textures.
For large-scale text that is 18pt or larger, or 14pt and bold, the contrast ratio must be at least 3:1.
Elements that require contrast validation include:
Text over images: This includes banners, hero sections, watermarked backgrounds, and so on.
Text over gradients: This includes buttons, call-to-action sections, and other similar effects.
Text over semi-transparent overlays: This includes overlays such as modals and cards with backdrop filters.
Text with shadows: This covers text that uses a shadowing effect, the shadows must not reduce the overall contrast.
Why
When text is placed on complex or dynamic backgrounds such as images or gradients, it can become difficult to read. Ensure that sufficient contrast specifications are applied to enhance readability. This benefits:
Users with low vision, who rely on high contrast to distinguish text from the background.
Users with color blindness, who may struggle with certain color combinations.
All users in different lighting conditions, who find it difficult to distinguish text in bright sunlight or when the device is in dark mode.
Failure to meet the contrast requirements can result in poor readability and accessibility barriers.
Examples
This section provides some pass and fail examples of this check.