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

Color contrast accessibility issue #1085

Open
eliotjordan opened this issue May 12, 2022 · 0 comments
Open

Color contrast accessibility issue #1085

eliotjordan opened this issue May 12, 2022 · 0 comments

Comments

@eliotjordan
Copy link
Member

There is a color contrast WCAG violation on the home page with the featured content cards:

       1) color-contrast: Elements must have sufficient color contrast (serious)
           https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI
           The following 1 node violate this rule:

               Selector: .col-lg-6.col-12:nth-child(5) > .card > .card-body > .grid-item > p
               HTML: <p>Data representing geographic features as points, lines, and polygons.</p>
               Fix any of the following:
               - Element has insufficient color contrast of 2.99 (foreground color: #92959a, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1

https://github.com/pulibrary/pulmap/blob/main/app/views/catalog/_featured_content.html.erb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant