Ask HN: Is non-adjustable mobile font size a real problem?
I find myself simply passing on sites/articles where I cannot adjust the font size on mobile. Care to take a guess on the percentage of sites that users choose not to read due to non-adjustable mobile font size? I'm getting the sense that a signficant portion of ones userbase is being ignored and alienated with sites that do not have pinch-zoom functionality. If this is the case, then it's fairly low hanging competitive fruit to enable this kind of functionality.
77 comments
[ 4.6 ms ] story [ 133 ms ] threadFull disclosure: I have great eyesight, so there isn't a font size too small for me on mobile browsers - the limit is what the screen can display. I sympathise with users with imparied vision, but I'd still claim that pinch-zooming is the generally-accepted answer.
As a user example, when I load the HN front-page on an iOS device in portrait mode, I'm lazy and switch to rotate to landscape mode to see more without trimming edges and scrolling around. On most sites, I expect to be able to double-tap on a paragraph column to toggle maximize-fit-to-display-width mode and return regular all-content-on-display-width mode.
If some site prevents this, I will not buy their products or use their services, because it's a signal they don't care about usability and will inevitably waste people's time. That's a form of laziness and failure that should not be rewarded. There are usually competitors that want you to switch to their brand (except with govts). Those annoying jQuery Mobile one-sized-fits-all sites deployed by pharmacies, banks, govts and so on.
On a side note, some of the best experiences I've personally had browsing on my phone have been through VNC, if I have a good network connection. I realize that a lot of the processing gets offloaded from the phone this way, but I would really just like a more desktop-like experience on my phone. I have always been annoyed by apps that are basically just websites...The browser is often the only app I need. And mobile websites just frustrate me because they often take away features of the desktop version or make me have to use it in a completely different way and make it obnoxiously difficult to switch back (some random link at the bottom, or having to go settings -> request desktop version -> retype the url because it was changed to a mobile one -> reload the page). Browsers have had ways to change the "User Agent", but more and more this feature is either removed or doesn't even work.
I still think that the industry trend has been towards zooming, rather than in-place size adjustment.
MobileSafari offers text size adjustment when in the article reading mode (via the paragraph icon at the left of the address bar), but that mode is only offered based on some heuristic.
edit: https://github.com/ftlabs/fastclick
I mean, I like nice scrolling / etc., please have it, but being about to read the content is a prerequisite.
I assume mobile Safari does something similar.
I frequently check HN and GitHub from my phone and try to fork projects for later cloning and hacking, and have to "view desktop mode" to fork, so... yeah, pretty often!
I at least appreciate that github gives this option.
I've made changes to the README.md file on a few projects from my laptop and imagine that I'd do something similar from mobile, but its surprising to hear you've actually submitted code changes to GitHub from a phone. :)
On Windows Phone there is a system-level setting "ease of access > allow zooming on all web content".
This basically solves the issue for me. I browse almost exclusively using Opera.
*(according to research from Peter Paul Koch from his Mobile web handbook)
javascript:document.querySelector('meta%5Bname=viewport%5D').setAttribute('content','width=device-width,initial-scale=1.0,maximum-scale=10.0,user-scalable=1');
But it's not a problem for me on my recent Samsung Galaxy. I actually prefer sites that don't delay to wait for a possible double-click. And accidentally resizing is a hassle because then I have to limit my thumb/finger movements to straight vertical lines, or else I'll end up scrolling horizontally as well.
When I had a smaller phone, I used a Dolphin browser, which reflowed text as well as resized fonts when I double-tapped. I thought that was fine. But if the default pinch/doubletap behavior is to zoom the whole page like Chrome does, I'd rather not deal with it.
The most vivid example is Reddit's text resizing but the actual interactive points of the site (like arrows and replying to comments) are tiny as hell. (Of course, it is Reddit, so it's not like anything of value is lost...)
I've even seen sites that try to mimic the behavior of the address bar where if you scroll down it disappears but if you scroll up it pops back in. I've never once clicked on anything these header bars have to offer except by mistake...
It is hard to implement a scaling function if you designed your page using absolute pixels as units. With relative font-sizes (em,rem,vh,vw,wmax etc) you could just change the (absolute) font-size of the body tag to resize everything else. Scaling would then be easy to do in with a little JavasSript, a plugin or by just honoring the default body font-size the browser set.
The problem is, that using em makes your styles more complex. They are difficult to use, because ems are relative to the parent element for font-size and to the element itself for other attributes. If you define a font-size in em for an element you have to know, where you are going to put this element on the page. Define the font-size for a list, put a list inside a list and you messed up your design. Unfortunately the other relative units are not as well supported, so most websites just use pixels.
Many websites use the Bootstrap framework these days and Bootstrap uses pixels, too. Here is a discussion about the topic in their issue tracker:
https://github.com/twbs/bootstrap/issues/1943
Ultimately their solution is to drop IE8 support and use rem, which is relative to the body font-size, in version 4. I look forward to that. While people could still mess up the scaling by adding their own absolute font-size declarations, Bootstrap websites will then default to being easily scalable.
I can read teensy text (although with my astigmatism not so easily as when I was 20), but my acquaintance can't. He seemed like a cool guy and I'd hate to see him disconnected from the resources I enjoy.