liferay / clay

A web implementation of the Lexicon Experience Language
http://clayui.com
Other
208 stars 467 forks source link

fix(@clayui/css): LPD-15629 Accessibility link and text should have 3… #5761

Closed pat270 closed 5 months ago

pat270 commented 5 months ago

…:1 color contrast

https://liferay.atlassian.net/browse/LPD-15629

This changes body text color to #1c1c24 so it will have at least a 3:1 contrast ratio with link colors #0b5fff. When we have inline links with text, the contrast between link and text wasn't high enough.

The quick brown fox jumped <a href="#example">over</a> the lazy dog.

color-contrast

ethib137 commented 5 months ago

Please use this subtask for this fix instead. The changes LGTM. Thanks.

pat270 commented 5 months ago

Thanks @ethib137