Open bmaupin opened 2 years ago
As a quick workaround, I set the default link colour to @blue
(#0e6eb8
) and it fixed the contrast errors.
Thanks for the hint. Awesome website for a11y check!
To completely pass the a11y contrast test this needs a whole refactoring of the default theme (or an additional a11y theme), so only changing the link color is unfortunately not enough. Therefore, I tag this as enhancement.
Btw: the @blue
variable of the default theme is #2185D0
, which is still not passing the contrast test
https://github.com/fomantic/Fomantic-UI/blob/0091dab5e46a101e105cea89d47d5c81261c827f/src/themes/default/globals/site.variables#L243
Bug Report
I'm not sure if accessibility is a goal of this library, but the default CSS link colour generates contrast errors when using the WAVE Web Accessibility Evaluation Tool.
Here's the colour, as per https://github.com/fomantic/Fomantic-UI-CSS/blob/master/semantic.css
Steps to reproduce
Expected result
I would expect the library to generate accessible links
Actual result
The aforementioned contrast errors
Screenshot (if possible)
Version
2.8.8
Thanks!