from Hacker News

Ask HN: Why does the HN CSS stylesheet block font size adjustments?

by busymichael on 8/10/20, 5:13 PM with 2 comments

Line 91 of the news.css for HN:

    body { padding: 0; margin: 0; width: 100%; -webkit-text-size-adjust: none; }
The webkit-text-size-adjust overrides the minimum font size settings in Chrome. I use Chrome's minimum font size settings to help make up for my declining eyesight. This css property prevents Chrome (and other webkit browsers) from increasing the font size.

I suspect this property is causing accessibility problems for many users with poor or declining eyesight.

Is there a reason to include this property, beyond just to ensure consistent design?

I respectfully request that you remove the -webkit-text-size-adjust property entirely.

  • by detaro on 8/10/20, 5:19 PM

    https://news.ycombinator.com/newsguidelines.html

    > Please don't post on HN to ask or tell us something. Send it to hn@ycombinator.com.

  • by maxbaines on 8/10/20, 5:20 PM

    You likely already know this but in case not, you can use zoom (CTRL + / -) and the font size increases. Once set it remains each time you visit.