Open openmindculture opened 2 years ago
As a pragmatic approach,
@media (prefers-contrast: less)
like shown in https://codepen.io/openmindculture/pen/eYVPgoohttps://trello.com/c/aMVa9Qvs/79-issues-list-false-positive-color-contrast-warnings-in-axe-a111y
re-test after actually increasing contrast: https://github.com/openmindculture/ingo-steinke.de/issues/154
After optimizing headlines and markup, there are even more, probably false positive, color contrast warnings when linting the website using axe accessibility linter. Maybe related to pseudo content, transparency, gradients, background animations.
TODO:
Expected behaviour: zero errors, zero warnings.
(Possible related issues deleted, as both have already been fixed.) Not a false positive, but a very strict one: my site actually fails to ensure minimum color contrast defined by WCAG 2, which brings back an art direction vs. accessibility problem: https://dev.to/ingosteinke/how-to-provide-an-accessible-high-contrast-alternative-to-a-pastel-color-scheme-396g https://stackoverflow.com/questions/72547565/how-to-provide-an-accessible-high-contrast-alternative-to-a-pastel-color-scheme+