Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color Contrast: Accessibility meets Art Direction => add Display Options Control #86

Open
1 of 2 tasks
openmindculture opened this issue Jun 7, 2022 · 2 comments
Open
1 of 2 tasks
Assignees
Labels
bug Something isn't working

Comments

@openmindculture
Copy link
Owner

openmindculture commented Jun 7, 2022

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:

  • check if these are actual issues, and
  • find a solution to satisfy both human readers and automated linting tools.

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+

@openmindculture openmindculture self-assigned this Jun 7, 2022
@openmindculture openmindculture added the bug Something isn't working label Jun 7, 2022
@openmindculture openmindculture changed the title False Positive Color Contrast Warnings in axe Accesibility Linter Color Contrast Warnings in axe Accesibility Linter Jun 8, 2022
@openmindculture
Copy link
Owner Author

As a pragmatic approach,

  • the default color scheme should ensure a higher contrast,
  • there should be alternative definitions using the original colors, in a media query for @media (prefers-contrast: less) like shown in https://codepen.io/openmindculture/pen/eYVPgoo
  • and there should be an option to actively switch / toggle, as discussed an described in the answer to my StackOverflow question;
  • possible combined with other display options (light/dark mode, stop/restart animation) in an expandable control item next to the language switcher at the end of the navigation menu

@openmindculture openmindculture changed the title Color Contrast Warnings in axe Accesibility Linter Color Contrast: Accessibility meets Art Direction => add Display Options Control Jun 8, 2022
@openmindculture
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant