3 ms·
Websites have that ability, both in CSS with types that are defined relative to the users set font size, and to detect it in JS. The platforms capability is not
by detaro 5y ago
Websites have that ability, both in CSS with types that are defined relative to the users set font size, and to detect it in JS. The platforms capability is not the problem here.
- agust 5y agoHmm really? How do you do that? The `rem` and `em` CSS units do not reflect iOS font-size settings if this is what you mean (I don't know about Android).
- rascul 5y ago1 rem is supposed to be the font size of the root element. 1 em is the font size of the parent. If a browser isn't implementing those in such a manner then it seems like it would be a bug. https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_...
- detaro 5y agoDoes Safari not have a UI for the user to set a font-size preference? Most browser do.
- extra88 5y agoIt's true that mobile Safari seems to lack a setting for default font size or what Mac Safari has, a minimum font size setting. It does have a default Page Zoom setting and it will remember Page Zoom changes per-domain (e.g. I have this site set to 115%). There is a way for web sites to make use of iOS's Dynamic Type setting [0] to make text larger, but it's up to each site's author to include the requisite values in their CSS. [0] https://www.interactiveaccessibility.com/blog/text-resizing-web-pages-ios-using-dynamic-type https://www.interactiveaccessibility.com/blog/text-resizing-...
- bornfreddy 5y agoThis. HTML was actually created to be accessible by default. One needs to make an effort (unfortunately not very big effort) to break it.