Settings

Theme

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

1 points by busymichael 5 years ago · 2 comments · 1 min read


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.

detaro 5 years ago

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

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

maxbaines 5 years ago

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection