Address insufficient contrast accessibility findings in cloud.gov Pages public site
svenaas opened this issue · 3 comments
Address insufficient contrast accessibility findings in cloud.gov Pages public site:
Links in the side nav in the Documentation section (.usa-sidenav a
) have "very low" visual contrast — 4.19:1 — a WCAG failure under AA or AAA.
Contrast errors found:
- https://cloud.gov/pages/documentation/
- https://cloud.gov/pages/documentation/why-use-pages/
- https://cloud.gov/pages/documentation/adding-users/
- https://cloud.gov/pages/documentation/customer-responsibilities/
- https://cloud.gov/pages/documentation/sandbox/
- https://cloud.gov/pages/documentation/21st-century-idea/
- https://cloud.gov/pages/documentation/getting-started-with-jekyll/
- https://cloud.gov/pages/documentation/getting-started-with-netlify-cms/
- https://cloud.gov/pages/documentation/included-with-pages/
- https://cloud.gov/pages/documentation/instructional-demos/
- https://cloud.gov/pages/documentation/previews/
- https://cloud.gov/pages/documentation/custom-domains/
- https://cloud.gov/pages/documentation/before-you-launch/
- https://cloud.gov/pages/documentation/migration-guide/
- https://cloud.gov/pages/documentation/forms/
- https://cloud.gov/pages/documentation/search/
- https://cloud.gov/pages/documentation/templates/
- https://cloud.gov/pages/documentation/customization/
- https://cloud.gov/pages/documentation/resources/
- https://cloud.gov/pages/documentation/content-guide/
- https://cloud.gov/pages/documentation/custom-headers/
- https://cloud.gov/pages/documentation/federalist-json/
- https://cloud.gov/pages/documentation/how-builds-work/
- https://cloud.gov/pages/documentation/build-errors/
- https://cloud.gov/pages/documentation/env-vars-on-pages-builds/
- https://cloud.gov/pages/documentation/cloud-gov/
- https://cloud.gov/pages/documentation/node-on-pages/
- https://cloud.gov/pages/documentation/rvm-on-pages/
- https://cloud.gov/pages/documentation/bundler-on-pages/
- https://cloud.gov/pages/documentation/cache-dependencies/
- https://cloud.gov/pages/documentation/supported-site-engines/
- https://cloud.gov/pages/documentation/large-file-handling/
- https://cloud.gov/pages/documentation/renaming-site-repository/
- https://cloud.gov/pages/documentation/monorepos-on-pages/
- https://cloud.gov/pages/documentation/external-tools-and-resources/
- https://cloud.gov/pages/documentation/access-permissions/
All of the above share the same contrast issue with the gray links in the left nav that's displayed in the documentation section (most pages have 36 links with such an issue; the main Documentation page has 35).
“Get in touch” button has very low contrast
38. https://cloud.gov/pages/federalist-migration/ (Deleted in #2299)
“Try it out” button has very low contrast
Scanned; no contrast errors found:
The .usa-sidenav a
theme color of #171716
, would result in a contrast ratio of 17.93:1, which passes WCAG AA/AAA.
But this is being overridden to the much lighter #71767a
by a rule on .usa-sidenav a:not(.usa-button):not(.usa-current)
that I haven't tracked down yet.
Note: Although I only scanned the Pages section of the site, this issue is not limited to that section. It's also present, for instance, in the Documentation section of the cloud.gov site (e.g. /docs/overview/cloudgov-benefits/
).