Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USWDS-Site - Bug: Content does not meet color contrast minimum #2829

Open
2 tasks done
alex-hull opened this issue Sep 13, 2024 · 0 comments
Open
2 tasks done

USWDS-Site - Bug: Content does not meet color contrast minimum #2829

alex-hull opened this issue Sep 13, 2024 · 0 comments
Labels
A11Y Audit Findings Findings from the accessibility audit A11y Audit Issues related to the accessibility audit Affects: Accessibility 🟡 Relates to the accessibility of our components Needs: Confirmation We need to confirm that this is an issue SiteImprove issues Issues found to improve accessibility score Type: Bug A problem in the code

Comments

@alex-hull
Copy link

Describe the bug

Note: This appears to be a false negative at least for the web standards button. It is reading the background as white versus the dark blue. Other tests are just slightly off from passing. It may be a matter of increasing the font by a single point.

Siteimprove is flagging that content on pages does not meet minimum contrast standards. This is bringing the score down .03 points. After going through the issues, it appears it is flagging three main things: the red and gold subheadings on the Transforming the American digital experience pages, and the "Read website standards" button at the top of each page. This is being flagged on 207 different pages.

Steps to reproduce the bug

  1. Take the hex codes of each color
  2. Run the codes through a color contrast checker
  3. Check that it meets a contrast of 4.5:1, in accordance to WCAG standards

Expected Behavior

The contrast reader will say that our ratio is above a 4.5:1 ratio

Screenshots

Screenshot 2024-09-13 115626 Screenshot 2024-09-13 154438 Screenshot 2024-09-13 154531

System setup

No response

Additional context

Siteimprove and CCA are reading the background on the Transforming the American digital page as off white, and you will see that as such.

Code of Conduct

@alex-hull alex-hull added Type: Bug A problem in the code A11y Audit Issues related to the accessibility audit A11Y Audit Findings Findings from the accessibility audit SiteImprove issues Issues found to improve accessibility score labels Sep 13, 2024
@github-actions github-actions bot added the Status: Triage We're triaging this issue and grooming if necessary label Sep 13, 2024
@alex-hull alex-hull added the Affects: Accessibility 🟡 Relates to the accessibility of our components label Sep 13, 2024
@brunerae brunerae added Needs: Confirmation We need to confirm that this is an issue and removed Status: Triage We're triaging this issue and grooming if necessary labels Sep 26, 2024
@brunerae brunerae moved this to Ready to Schedule in USWDS Core Project Data Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11Y Audit Findings Findings from the accessibility audit A11y Audit Issues related to the accessibility audit Affects: Accessibility 🟡 Relates to the accessibility of our components Needs: Confirmation We need to confirm that this is an issue SiteImprove issues Issues found to improve accessibility score Type: Bug A problem in the code
Projects
Status: Ready to Schedule
Development

No branches or pull requests

2 participants