Open applegz opened 2 years ago
Thank you for reporting @applegz. I am doing a larger investigation into our use of color to ensure we not only meet AA for contrast against the background but, that the color contrast between surrounding content is also appropriate.
Summary
The color in code snippets might create difficulties for people who are colorblind to tell the difference, especially in the dark mode.
Where did you spot the bug?
I first notice on this page in dark mode, I believe it's the same on every page that has code snippets.
What is the problem?
Current code snippet color with regular rendering in dark mode: Current code snippet color in emulator with deuteranopia vision deficiency in dark mode:
It's also an issue not in the dark mode:
What did you expect to happen?
Everyone should be able to tell the code syntax by just looking at the color. It should be accessible for anybody.
Steps to reproduce the issue
more tools
rendering
emulate vision deficiencies
Environment
Device
Browser
Operating system
Screenshots