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

https://news.ycombinator.com/item?id=24111588
by busymichael • 6 years ago
1 2 6 years ago

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.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com