It’s not just accessibility. I’ve last track of the number of times I’ve seen a mobile website with a table that extends past the right side of the viewport and zoom disabled. You can’t scroll, and you can’t zoom, so you can’t read the table.
Another maddening thing are tiny fonts on mobile devices and pinch zoom does not reflow text. So you can't read without zooming in, and you can't see the whole page when you do, so you need to put your phone in landscape mode and drag left and right to read each and every row.
Please stop disabling zoom
291–300 of 309 posts
Re: Please stop disabling zoom
#292Earlier quoted context omitted.
Almost all major template for JS frameworks these days include that line. And there are tons of guides that specify adding that in. I get why it's there, if you're building a PWA that is supposed to mimick a mobile app, you have to enable that to override some annoying mobile browser behaviors like zooming on an input. The problem is that the above scenario is about the only time you would want to set the viewport in…
Fun fact: the reason why browsers sometimes zoom in on an input is because the input's font size is too small, less than 16px, which is considered not accessible. So it's ironic that to counter that behaviour some people make the page even less accessible by disabling use zoom.
Re: Please stop disabling zoom
#293Earlier quoted context omitted.
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.
Hmm 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).
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-...
Re: Please stop disabling zoom
#294My mother-in-law has severe eye problems and MS type symptoms. 16 years ago, I showed her how ctrl shift +/- could make her fonts huge. This one tip that is not obvious to most folks improved and continue to improve her quality of life _drastically_.
Increase at OS level, instead of having to repeat this step manually for every app and website.
Re: Please stop disabling zoom
#295It should be fairly straightforward (1 line of JavaScript required to actually get the job done) to make a user-script, or even a browser extension that obliterates any offending ` ` tag like this. Something like: document.querySelectorAll('meta[name="viewport"][content*="user-scalable=no"]').forEach(tag => tag.remove()) And if you wanted to get really fancy, you could use window.setInterval or a Mutation Observer to…
Re: Please stop disabling zoom
#296Vision: Game Boy Advance-sized website. Problem: Very tiny. Solution: Scale to viewport in integer increments. Result: https://anaminus.github.io/ This disables zoom. In fact, it actively fights the zoom level to always fit the viewport. Have I committed a great sin?
Yes. Scaling to the screen size is fine, overriding the users's attempt at zooming in is not.
Re: Please stop disabling zoom
#297I actually prefer it when sites have zoom disabled on mobile. It's very jarring having the entire viewport zoom in on input elements on focus.
The simple solution for that would be for mobile browsers to provide an quick toggle to disable zoom.
Re: Please stop disabling zoom
#298Earlier quoted context omitted.
I have decent eyesight post-LASIK, but I have a lot of trouble reading small text. I almost always read books in large-print if it's available, and the Kindle has been a godsend for this particular reason. I've been tested for dyslexia and I don't have it, I just have a weird brain that has trouble with small text. 95% of the time this is a complete non-issue for me, since my monitor (for home and work) is a 50" 4k T…
Hey, this is an issue I'd like to work on. My eyesight is good but not as good as before, and it made me reconsider my font and contrast choices on allaboutberlin.com. I find myself zooming a lot more too. Can you tell me what you think of the font sizes? Is it readable enough? Is there room for improvement?
I'm not a designer but I don't think it looks terrible at that percentage, and I personally found it a bit more readable.
Re: Please stop disabling zoom
#299I guess the issue now is it has become part of the cargo cult with people including these meta tags in their base templates without knowing what it does and failing to implement a suitable layout for all mobile device screen sizes and DPIs.
https://github.com/h5bp/html5-boilerplate/blob/main/src/inde...
Re: Please stop disabling zoom
#300But then the website might not look like the designer's glistening perfect vision, that only ever worked properly in their browser on their desktop in the first place.
The reason this is done is to get rid of extra latency when processing user input. I guess detecting zoom gestures needs some time to distinguish them from normal clicks?
* Some number of people are sensitive to latency
* Some people are unable to read my website
You're gambling that there are more people who would walk away due to latency, than there are who would walk away due to being unable to interact with your site at all.
Personally I suspect that to be a poor tradeoff.