a11ySea / testing

Collect accessibility issues for public websites
3 stars 3 forks source link

CDC COVID-19 - Bug: Cases in the US / Data & Surveillance section's description text does not meet color contrast requirements #4

Open tiffanyjc opened 4 years ago

tiffanyjc commented 4 years ago

Issue Summary

The description text in the "Cases in the US" and "Data & Surveillance" section on the CDC page has insufficient color contrast (4.35).

Steps to reproduce

  1. Go to https://www.cdc.gov/coronavirus/2019-ncov/index.html
  2. Scroll down to the Cases in the US and Data & Surveillance section (they are adjacent)
  3. The description text does not meet expected contrast ratio (but the header is OK)

Behavior

Expected behavior

Expected contrast ratio for this text size is at least 4.5:1.

Actual behavior

The description text in the "Cases in the US" and "Data & Surveillance" section on the CDC page has insufficient color contrast of 4.35 (foreground color: #007d91, background color: #ebf5f6, font size: 15.0pt (20px), font weight: normal). Expected contrast ratio is 4.5:1.

Specifications