WCAG AA Color Contrast Violations Test Page

This page contains various examples of color contrast violations according to WCAG AA guidelines. Use it to verify that the functionality correctly identifies and fixes these issues.

Case 1: Very Light Text on a Very Light Background

This block has a background color of #f7f7f7 and text in an almost identical shade (#fefefe), creating readability issues.

Case 2: Small Text with Insufficient Contrast

The small font (12px) with text color #d1d1d1 on a background of #cccccc does not meet WCAG AA guidelines.

Case 3: Large Text with Insufficient Contrast

Despite the large font size (20px), the contrast between the text color (#3a3a3a) and the background (#333333) remains insufficient.

Case 4: Nested Elements with Low Contrast

The parent block has a background of #e0e0e0 and text color #e5e5e5, while the child element has the color #f0f0f0. This combination creates a contrast issue.

Case 6: Mixed Colors with Borderline Contrast Issues

The background of this block (#fafafa) and the text (#f0f0f0) have nearly identical shades, which may not meet WCAG AA standards.