newjersey / njwds

NJ Web Design Standards
https://newjersey.github.io/njwds/
MIT License
9 stars 2 forks source link

Bug: Accessibility testing fails using side nav due to contrast #24

Open abroddrick opened 1 year ago

abroddrick commented 1 year ago

As a developer, using the side-nav component with nav-future set to be lighter, the default color becomes #adadad which results in cypress a11y testing failing as the color is too light compared to the other default text colorations.

In this context nav-future was set to be .text-base-light and the accessibility issue was changed fixed by overriding it to #72777a. Using just the uswds package didn't result in the same issue.

Screenshot of error Screen Shot 2022-10-20 at 11 18 23 AM