Reading is a physical thing: eyes, screens, rooms with different light. A site should adapt to that and not argue with it.
Three Themes
There are three choices: light, dark and system. System is the default, so the site follows your device. If you change it, your choice is remembered, and if you are signed in it follows you to your other devices.
The theme is applied before the page is first drawn, so there is no flash of the wrong colours when a page loads.
Everything Works in Both
A dark theme is easy to do badly: a colour that reads well on white can disappear on black. So both themes are tested, not assumed.
Diagrams are drawn twice at build time, one version for each theme, so they are as readable in the dark as in the light.
Reading Without a Mouse
The same checks cover the way you move around the page:
- A Skip to content link appears for keyboard users as soon as they press Tab.
- Search opens with /, moves with the arrow keys and closes with Esc.
- Buttons and links have names a screen reader can read out.
- Anything that moves, like a counting number or a scrolling band of words, stands still if your device asks for reduced motion.
The Checks Behind It
These are not intentions. They run as part of the deploy, and a failure stops it.
The scans also cover the signed-in screens: the account menu, the profile, the inbox and the comment box.
A site is only readable if it is readable for the person who is reading it.
Comments
PrivateOnly you and the author can see what you write here. The author replies, and you can answer back.