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

Improve color contrast for accessibility #69

Open
HaSistrunk opened this issue Jul 24, 2021 · 4 comments
Open

Improve color contrast for accessibility #69

HaSistrunk opened this issue Jul 24, 2021 · 4 comments

Comments

@HaSistrunk
Copy link

HaSistrunk commented Jul 24, 2021

Is your feature request related to a problem? Please describe.

Some elements on the site lack sufficient color contrast between their color and the background color. On the dev instance, I'm seeing this in the:

  • navbar header in the contrast between the links and navbar color
  • The footer between the white text and orange background
  • The gray (color: #9195a2) text used for services and orgs description and information against its white background
  • In many of the link background-color choices for the Service Category and Service Eligibility links
  • Links in pagination
  • The <th> text against its background color in the tables
  • The "scroll to see all categories" link on the homepage. I see another issue open about that - if I had a vote, I'd say it isn't a necessary element and could be removed since the browse section is immediately below and doesn't require long scrolling.

Describe the solution you'd like

Adjust those colors to meet the WCAG color contrast criteria. This specifies that text and images of text have a contrast ratio of at least 4:5:1. The ratio can be 3:1 if the text is large. Large means at least 18 point (pt not px) or 14 point bold.

Additional context

There are a lot of nice tools that will automatically check color contrast or test color combos for accessibility. Running automated checks on the site using a tool like WAVE, SiteImprove, or Accessibility Insights for Web can help id this and other issues.

This accessibility guideline is specified in WCAG 2.x Level AA (SC 1.4.3).

@d9it
Copy link
Collaborator

d9it commented Aug 19, 2021

The menu color & the footer color is dynamic from admin.

@d9it
Copy link
Collaborator

d9it commented Aug 19, 2021

Change color contrast from the admin side. Below is the link
https://nimb.ws/HXyN8r
Let me know if you have any doubts.

@HaSistrunk
Copy link
Author

HaSistrunk commented Aug 30, 2021

Thanks @d9it! Good call and thanks for the link. There are just a few things that don't seem to be dynamic from admin that I'm seeing with contrast issues. I've described below with some screenshots if that's useful:

  1. The gray (color: #9195a2) text used for services and orgs description and information against its white background. An example is the description text for this resource:

image

  1. Many of the background colors for the Service Category and Service Eligibility links. For example: Housing, Homeless, Men/Boys, Ages 18+, DC Resident, Care, Legal, Immigrants, Advocacy and Legal Aid... etc. all can be tough to read. This is a nice resource to generate a lot of color-safe colors if it's useful:http://colorsafe.co/
    image
    image
    image

@d9it
Copy link
Collaborator

d9it commented Sep 14, 2021

The button background is managed from the admin side.
Screenshot

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

No branches or pull requests

2 participants