text-size-adjust: none has been previously used in order to stop font size adjustment for text on mobile browsers, unfortunately this can lead to some desktop browsers being unable to zoom making it an accessibility concern. A better solution to this would be to specify text-size-adjust: 100% (to inflate text sizes at an exact proportion).
The bad way:
body {
text-size-adjust: none;
}
The good way:
body {
text-size-adjust: 100%;
}
This property is not standard and may need to be prefixed to work cross browser.
###Futher Reading [http://www.456bereastreet.com/archive/201011/beware_of_-webkit-text-size-adjustnone/] (http://www.456bereastreet.com/archive/201011/beware_of_-webkit-text-size-adjustnone/) [https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust] (https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust)
@clarehyam
I'm trying to determine if this is an article more about how to avoid a
webkit
bug over creating something accessible (It's kind of 50/50 here). Vendor prefixes are on their way out as we speak which is why I say this.Is there a way we can make this sound more like a best practice over how to avoid a bug? What do you think @davatron5000
Cheers 🍻