Decides to try a trendy new open source text editor

It launches in dark mode with tiny font sizes because the devs are obviously all teenagers with perfect vision and no astigmatism

Change the font size. Seems to work

Change to light mode. Seems to work

Touch another setting. App immediately switches back to dark mode and default font size and stays there

Coolcoolcool. I don't actually need to be able to read the fucking text to work on it, right?

Dark mode isn't the default in OSes for a reason folks. It's one of those accessibility aids that's grossly inaccessible to a ton of people.

Respect the OS settings if you're making an app!!!!!!!

If a user has chosen light mode and reduced motion, don't fucking launch with dark mode and swishy animations!

Don't be an asshole!

Too many devs are being absolute assholes!

@baldur what if, hear me out, what if we just try and reinvent every bit of understood human computer interface design from the last 70 years from scratch, mostly based on vibes, but in a browser with the useful bits removed
@baldur this is something I learned while setting up my parents' phones. I selected dark mode and later got yelled at because my mom couldn't read on the phone.
@baldur With a bit of luck, eventually they might discover "medium-contrast-without-transparency mode". We can hope.

@baldur
When I started in computing, all screens were "Dark Mode" (mostly green on black VDUs).

It was a readability revolution for most of us when modern screens appeared which supported 'paper-white' (black-on-white) screens. These worked well for the last couple of decades(?).

I'm still astonished that anybody wants to go back to the dark mode.

#Accessibility #DarkMode #LightMode

@tpuddle @baldur

Dark mode causes more eye strain and lower retention of what’s read. But “looks so cool”.

Got any links for that? I thought the lower light caused less eyestrain.

CC: @[email protected] @[email protected]
Thanks!
the positive polarity advantage linearly increased with decreasing character size.
I wonder if that's a function of eye acuity, or display resolution. If "the letters are doing the transmission," then maybe sufficiently large letters are spacious enough that the light they produce is equally effective as light transmitted from the background.

I also wonder if it's affected by ambient light levels. It is physically painful to be "blinded" by light mode, when working in low light conditions. I can't imagine that causes less eyestrain than something that isn't painful.

CC: @[email protected] @[email protected]
@cy @tpuddle @baldur since the light is trsnsmissive, I’m guessing — just guessing — there’s always going to be bloom. With light characters on dark the bloom is outward, with dark on light, the bloom is effectively erosion of the dark area.
@cy @tpuddle @baldur I always use dark mode for that reason. White background is too painful to my eyes, which are sensitive to light. (I almost always wear sunglasses outdoors during the day.) And no, I'm not a teenager. I'm way older than that.
@cy @tpuddle @baldur When you’re reading black letters on white paper, it’s the paper that’s bringing light to your eyes, ink that’s blocking it. The edges of glyphs are defined thus. In light letters on dark background, the letters are doing the transmission and the edges’ sharpness suffers.
@godofbiscuits @cy @tpuddle @baldur A word processor maker found orange letters on a brown background was the most preferred and least tiring
@godofbiscuits
I have light-on-dark terminals and dark-on-light for browsing, word processing etc. I wonder if that's just habit, or if it depends on what exactly it is ones doing / reading?
@tpuddle @baldur
@srtcd424 @tpuddle @baldur I have my terminal window set to green text on dark background, because I’m old and that’s what we had way back when, but even then the contrast is very low, and the dark background is actually grey, translucent and blurred.
@srtcd424 @tpuddle @baldur but everything else is dark text on white background. Since I got my first Mac in Feb 1984 in college.
@godofbiscuits @tpuddle @baldur tell that to my Migraine Brain again and you’ll pull back a stump where your neck was

@MishaVanMollusq @tpuddle @baldur

It's implied that idiomatic cases exist. Duh.

Tell *MY* migraine brain to look at dark mode for more than 10 seconds and all i'll see is after images of lines for the next 10 minutes.

@godofbiscuits @tpuddle @baldur my eyes a perm light sensitive now .
And I’ve managed to go without one for 9 or 10 days now

@MishaVanMollusq @tpuddle @baldur I don’t have my screens very bright at all, but they’re all still white background with black letters. Little glowy letters stab at my eyes no matter the brightness levels.

I have intermittent photophobia, photophobia, and the very trippy Alice in wonderland type visual distortions. (Things get larger and larger but never feel like they’re moving or changing position)

@tpuddle @baldur

I found the radiation ambience disturbing and the paper white monitors were like half a Chieftain Tank sized and gave you a suntan.

@tpuddle @baldur it's a bit of the same accessibility argument. My eyes are more sensitive to light than seems to be the average. Light mode is often too bright for me and gives me a headache after a couple hours.
@tpuddle @baldur I too am astonished that people have different preferences from me. They are all wrong and should be spanked.

@baldur Same from the other side. Don’t be an asshole. Respect my choice for a dark theme.

https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark

light-dark() - CSS | MDN

The light-dark() CSS <color> function enables setting two colors for a property - returning one of the two colors options by detecting if the developer has set a light or dark color scheme or the user has requested light or dark color theme - without needing to encase the theme colors within a prefers-color-scheme media feature query. Users are able to indicate their color-scheme preference through their operating system settings (e.g., light or dark mode) or their user agent settings. The light-dark() function enables providing two color values where any <color> value is accepted. The light-dark() CSS color function returns the first value if the user's preference is set to light or if no preference is set and the second value if the user's preference is set to dark.

MDN Web Docs

@lennybacon Yeah. Agree. Respecting basic accessibility configuration is table stakes for an app.

(Less concerned about content websites, personally, as long as the site works in reader/readability mode, but those modes fundamentally don't work with app UIs.)

@baldur Just added the link as most apps are just… web sites 🤷‍♂️

@baldur

It's sometimes developers, most often it will be product managers.

@baldur when I do CSS theming for websites, I make the dark/light mode depending on OS settings, but if the browser doesn't know what the user preference is (like in some Linux distributions), I default to dark mode. The physical pain a user can experience if everything is in dark mode and suddenly a website is all white is worse than the other way around.

Either way, the discussion here should be about font sizes and contrast-ratios, not about light vs dark.

@loucyx @baldur hello, dark mode is painful for me. It's not a one-way thing. Your experience is not universal.
@mike @baldur When I say "painful" I mean if everything is dark, and suddenly you get flashed with a white site, it's actually painful pretty much universally (you know, kinda when you're sleeping in the dark and suddenly someone turns on the light). Being on a light environment and flashing a dark site isn't. I'm not talking about "I find it painful because I dislike it"...
@loucyx @baldur I'm not suggesting you intended it as non-physical, and I wasn't saying that either. An inability to focus on tiny light points in a field of dark is also actually painful. Dark is not inherently better in any way.

@mike @baldur Thanks for clarifying. I still keep my point, tho. Ideally the OS you chose should let apps know what your preference is, and if a site doesn't respect that, that's a bad design. My point is that if I have to chose a default when I **can't** get user preferences, I default to dark because I find all the reasons to support dark mode have more weight than light:

- Sudden change is generally less harmful (what we discussed).
- Less energy consumption = More battery + Less emissions.

@mike @baldur My point isn't "dark is better than light always", it's more like "dark is a better default, but we should aim to support both".

@loucyx @baldur I feel very strongly that dark is only possibly a better default for people who use their computers in dark rooms, and I doubt this represents anything close to a majority.

I would like to see solid data, research, and analysis from experts on this topic.

@mike @baldur About the energy argument, here's a paper (TL:DR, depends on the screen, but the industry is moving to OLED and similar because it gives better blacks, so should be a net positive): https://dl.acm.org/doi/pdf/10.1145/3458864.3467682

About a11y the argument is wider, you can find that dark is better for people with migraines, while is worse for some types of astigmatism, there's all kinds of arguments in pro of one of the other. Either way for a11y is way more important to talk about high-contrast theming.

@mike @baldur The way I see it (and I know I'm not an expert, just a web dev) is that dark vs light from the a11y side is pretty even, but when we take folks with no a11y needs into consideration as well, the general preference goes to dark (for the whole argument I made about flashing a light site in a dark environment). Even if being in a dark environment wasn't common and you suggested (it is, tho), the other way around isn't painful for folks with no a11y needs.
@mike @baldur Just go to any Twitch stream that is in "just chatting" taking website suggestions, and see how they complain about light sites all the time. I've seen it with friends and co-workers as well (which is also kinda funny when they have cam on and you can see the moment they are flashed like someone throw a stun grenade in their room 😅).

@loucyx @baldur I'm done with this discussion as it's going nowhere, but I don't think using Twitch as a basis for this is at all helpful.

Right now I'm standing in the middle of an office building with approximately 200 screens under standard fluorescent lighting. This building has 30+ similar floors. There are hundreds like it in this city.

A Twitch chat does not represent general computer users and never will.

@mike @baldur office worker? Ohh yup, we'll never see eye to eye on this. I've been remote for more than 10 years, I have a whole other discussion I could start about how bad on-site work is when you could do the same from any location (good ol' "remote vs on-site"). Either way, good call ending the discussion. At least I think we agree sites and apps should support both modes, and a high-contrast as well ☺️

Have a good rest of your day! 👋🏻

@mike @baldur (it even has a "meme": https://youtu.be/qfxDEZX9K0o )
When you accidentally turn on light mode

YouTube
@baldur Both modes are accessibility aids!
@baldur I always feel like the odd one out because I'm consistently the only person in my circles who uses and prefers light mode. I generally find dark mode harder to read.
@baldur @dHeinemann harder to read and, oddly enough, pretty much nothing in your environment is anywhere near as dark as a dark-mode screen, so the moment you look *away* from your screen it hurts. Dark mode seems to me to be the preferred option for people who just keep their heads buried in their cubicle all day & minimise their exposure to natural light 😜

@baldur For the web developers reading this: these things are fairly easy to accomplish using modern CSS media queries. There are a whole slew of them that can be used.

prefers-color-scheme: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

prefers-reduced-motion: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion

prefers-color-scheme - CSS | MDN

The prefers-color-scheme CSS media feature is used to detect if a user has requested light or dark color themes. A user indicates their preference through an operating system setting (e.g., light or dark mode) or a user agent setting.

MDN Web Docs

@baldur @inthehands

I hear you … and yet::

I need dark mode and large font

Very typical 40 ish year old eyes need big text. Plus a smattering of retinopathy that make the light mode painful.

Pretty sure that light mode is the default for the reason that bright shiny things play well on camera.

Sigh

@atthenius @baldur
I believe the moral of that post was “respect the user’s chosen OS-level defaults,” not “Baldur’s preferences are best for everyone.”
@baldur

Ironically, the FAANGs are some of the biggest offenders on the "ignore the system settings" front.

@baldur very true, I don’t put that entirely on devs, the graphics design teams that don’t really take the time to brush up on the design rules/guidelines for a platform are usually the ones that can push for that change.

I feel like it’s far too often devs in companies don’t want to push that change because they’re told to implement the design and nothing more. accessibility should be in the mind of designers and really the whole chain of design/dev. indie devs have little excuse.

@baldur @NatalyaD Blame the designers, not the devs. Devs just build what design tells them to.

@jyarbrough @baldur I think it's a lack of training all round too, or a lack of prioritising from the top down as well.

I lost my main career in 2016 partly cos they procured new work software and didn't consider accessibility despite being rude to me in several meetings. The devs who they made me to access consultancy with had Zero Clue and I then got blamed for "not explaining it" despite not being a software engineer or access consultant. Priority has to come by law & from the top.

@NatalyaD @baldur Agreed that prioritizing a11y has to come from the top for it to work, and all the roles involved need to know their part in making a11y happen in the SDLC.

@baldur yep, and the inverse is also true: unless the user has specifically requested your app to use a theme other than the os default, if your app has a dark theme, and the user has their preferences set to that.. use it!!

basically, respect the os settings!

@baldur
It's also very annoying when you get apps that refuse to use anything else. I use apps in either mode, depending on which works better and it's infuriating when they won't let me choose.

(I also calibrate my monitors, the default brightness is almost always too bright. It's set to look good in brightly lit showrooms, not in offices or homes)

@baldur I don’t understand the hype for dark mode. It’s nice at night when I’m reading some things before I go to sleep, but using it during the daytime is complete ass.
@baldur And test your app in light mode. I recently switched the Affinity suite to light mode, and there were buttons I couldn’t see because they’re light grey on a light grey background in light mode.