coopdigital / coop-frontend

Co-op CSS Foundations and design system mono-repo
MIT License
0 stars 0 forks source link

fix: update custom property for form and label hints to pass WCAG AAA… #466

Closed dalecreativ closed 2 years ago

dalecreativ commented 2 years ago

… colour contrast failures

The colour contrast of our hint text in code currently fails WCAG AAA. We are using the incorrect colour variable for our .coop-label_hint, .coop-form_hint classes.

Old value

--color-grey-dark: #6e6e6e;
color: var(--color-grey-dark);

New value

--color-text-alt: #595959;
color: var(--color-text-alt);