sarapis / orservices

ORServices is an open source, smartphone-friendly directory application that enables you to collect, verify, organize and share information about social services in your community with your stakeholders, beneficiaries, partner organizations and more.
https://sarapis.org/human-services/orservices/
22 stars 16 forks source link

Improve color contrast for accessibility #69

Open HaSistrunk opened 3 years ago

HaSistrunk commented 3 years ago

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:

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 commented 3 years ago

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

d9it commented 3 years ago

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

HaSistrunk commented 2 years ago

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 commented 2 years ago

The button background is managed from the admin side. Screenshot