-
Notifications
You must be signed in to change notification settings - Fork 503
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
Dark theme causing eye strain #7705
Comments
Light themeDark theme |
@schalkneethling Chiming you in for your a11y expertise: Would it maybe make sense to have the current According to WCAG, a contrast of 7:1 is recommended for text (see here), so 10.83 would still be a bit too contrasty, but already better. |
I talked about this with @fiji-flo and since we don't have a high contrast theme (in contrast to GitHub), reducing the contrast makes our site less accessible for folks requiring high contrast. This means that this has to wait until our designer has time to take a look at this issue. Thank you for your patience. 🙏 PS: In the mean-time, you could use an extension like Dark Reader, which is also available for Firefox for Android. |
Discussed in https://github.com/mdn/yari/discussions/7704
Originally posted by J-Cake November 27, 2022
I'm lucky enough to be blessed with good eyesight, so generally I don't have an issue with taxing colour schemes or bright lights etc. but I can't help but notice that when ever I'm reading MDN with the dark theme, my eyes hurt after a few seconds, and I start to feel dizzy within a few minutes. I've never encountered this anywhere else so I assume it's related to the contrast or something technical (I have no idea about colour theory) but I thought I'd mention it.
Perhaps lighten the blacks and dim the whites?
I do have to mention though, the light theme is 👌🏻 and the design scheme is pretty sleek.
The text was updated successfully, but these errors were encountered: