1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00
seirdy.one/content/notes/default-text-sizes.md
2023-05-27 14:33:54 -07:00

1.4 KiB

title date syndicatedCopies
Default text sizes 2023-05-27T14:32:30-07:00
title url
The Fediverse https://pleroma.envs.net/notice/AW5on8jqNn98LAp48O

I've previously been an advocate of making websites with long-form body text increase the default size just a bit, since their text should be larger than the one-size-fits-all browser default; interfaces and navigation can be smaller. I didn't think we should expect users to change their default zoom levels, as that's a potential JavaScript-free fingerprinting vector.

I'm thinking about revising this stance after using increased display zoom levels on mobile OSes for several months; with those modes, sites with large text are irritating to read: one line of text can barely fit a few words. Browser zoom increments are coarse, possibly forcing readers to choose between "too large" and "too small".

I removed the base font-size settings from the seirdy.one stylesheet (Codeberg mirror), and I made sure that my stylesheet and meta tags don't result in any requests influenced by zoom level. While having to increase the zoom level may inconvenience readers who prefer large text, it should also make the site massively more convenient to readers with increased display zoom levels. I'm open to feedback.