cal-itp / benefits

Transit benefits enrollment, minus the paperwork.
https://docs.calitp.org/benefits
GNU Affero General Public License v3.0
27 stars 9 forks source link

Docs: Docs site theme does not have sufficient color contrast/link contrast #2404

Open machikoyasuda opened 4 days ago

machikoyasuda commented 4 days ago

The Benefits docs site theme, which uses Cal-ITP's default docs theme, is not color contrast sufficient in a few areas:

I believe the changes need to be made upstream, in this repo, https://github.com/cal-itp/mkdocs-template, but I wanted to document the bug in Benefits first.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Run a11y tests
image

Expected behavior

Ideas:

thekaveman commented 3 days ago

The settings initially come from https://github.com/cal-itp/mkdocs-template, but that is only a template repo for creating other repos, so making changes there won't automatically reflect out to all other docs sites.

These are OOTB mkdocs-material styles, but there are a lot of customization options: https://squidfunk.github.io/mkdocs-material/customization/

It would be nice to normalize the look and feel with the app itself.