Please please please don’t impose dark mode on your websites. Honor the user’s system settings.
There are plenty of people with visual impairments as common as astigmatism who can’t read light text on dark background, because it’s like staring at a strong lightbulb in the dark.
And it’s not hard. Just a few lines of CSS.
sknob
in reply to sknob • • •Yes, I can *somtimes* use reader mode, but 1/ I shouldn’t have to, and 2/ that means all the trouble you went to to design your site was for nothing wasn’t it?
#accessibility
LeMonolecte 2️⃣ 🆘
in reply to sknob • • •Ah mais tellement !
Je suis astigmate et ça me flingue la vue.
D’ailleurs, sur mes sites et RS favoris, j’ai souvent une surcouche CSS même en clair pour limiter les contrastes trop durs (Genre, noir-noir sur fond blanc-blanc, c’est pas terrible) et les typo pas assez grasses.
keef
in reply to sknob • • •Eckes
in reply to sknob • • •Nicod, The Fediverse Dude
in reply to sknob • • •👍
A few month ago, I noticed I had hard times reading code on my screen, its was blurry. And I stumble upon someone saying it can happen if you have astigmatism or other troubles.
I've read a bit about that, and I switched all my tools, terminal, IDE, database GUI etc on light themes, just to give a try.
It felt a bit strange strange the first days but I read really better.
I will no longer fall into the Dark Side.
elsemusic
in reply to sknob • • •When I encounter a dark mode site without that option I go straight to reader mode, losing all the author's formatting changes but, hey, it's readable.
If reader mode doesn't work, I close the tab and move on.
MidgePhoto
in reply to sknob • • •Kenny Park
in reply to sknob • • •John Morahan
in reply to sknob • • •as a large fashion model,
in reply to sknob • • •Pilum::🌞
in reply to sknob • • •@media (prefers-color-scheme: dark) {
…
}
@media (prefers-color-scheme: light) {
…
}
/* Done */
DeltaWye
in reply to sknob • • •I’m starting to think that some designers are just assholes.
“Yea let’s do 50% gray on an off-white background with a hairline font! Oh it’s hard for people to read? Tough shit LMAO.”
bri
in reply to sknob • • •revolutionary girl erin
in reply to sknob • • •Leeloo
in reply to sknob • • •kaiserkiwi
in reply to sknob • • •Just a few lines of CSS if you layed out your CSS in the correct way. If not it's a refactoring.
I don't say, don't do it. But sometimes it's much more work than just changing some lines of code.
Especially if your CSS is older than a year.
I made the mistake in one of my projects back then not thinking of light mode (and wasn't aware of the accessibility implications) and now it's a big refactoring. Yes the code is rushed and it's entirely my fault.
But the time needed to fix this properly I was able to add light mode (or dark mode respectively) to 6 other sites.
Jeff McNeill
in reply to sknob • • •ADisorderlyFashion
in reply to sknob • • •gaylie
in reply to sknob • • •