Live data from Hacker News

Please stop disabling zoom

matuzo.at

41–50 of 309 posts

Re: Please stop disabling zoom

#41

In the old days you needed to disable zoom in order to get click events immediately, rather than delayed a bit so it can tell whether it's really going to be a zoom operation. Is that still true?

Yea, still a 2-300ms delay, which is why I guess a lot of devs just disable zoom - that way they get that "instant native app" feel without actually having to think about it :)

Edit: Having just tried the sites in the Safari ... they zoom in just fine with that set, so .. Im a bit confused

Re: Please stop disabling zoom

#42

Earlier quoted context omitted.

Unfortunately people see accessibility as a burden that a small minority puts on the rest of us, but really it is something that benefits everyone. For instance, normally sighted people or even people with "normal" nearsightedness, farsightedness, or presbyopia benefit from adequate contrast. Text "size" is another thing because people should be able to control it, particularly given the wide range of different devic…

> ... a small minority ... presbyopia ... I think what you just indirectly pointed out is that software is largely written by young, ignorant people who don't appreciate that everyone will get to experience presbyopia, and it happens sooner than you think. Maybe we should require product owners to be at least 40 years old ;-).

I don't think this is reality. There might be some truth to it, but in my opinion the real problem is the platform itself. I'm going to blame it on browsers and web standards.

The web was not designed with accessibility as default. Instead it is a significant amount of work to make things accessible. Every project incurs huge cost in order to achieve it. I truly believe from an accessibility standpoint the web is simply broken. So sure, blame it on young programmers. But that's a poor excuse for where we are at today in my humble opinion.

Re: Please stop disabling zoom

#43

Earlier quoted context omitted.

Unfortunately people see accessibility as a burden that a small minority puts on the rest of us, but really it is something that benefits everyone. For instance, normally sighted people or even people with "normal" nearsightedness, farsightedness, or presbyopia benefit from adequate contrast. Text "size" is another thing because people should be able to control it, particularly given the wide range of different devic…

> ... a small minority ... presbyopia ... I think what you just indirectly pointed out is that software is largely written by young, ignorant people who don't appreciate that everyone will get to experience presbyopia, and it happens sooner than you think. Maybe we should require product owners to be at least 40 years old ;-).

For years my optometrist told me I would eventually get presbyopia and then finally I reached the point where I need two pairs of glasses.

It is on my mind because one of my hobbies is a cyberphysical artsystem that has a small book of design rules and presbyopia is what sets the limits on feature size. (You can't just tell people "hold the card closer")

Re: Please stop disabling zoom

#44
post #22

My pet theory: I'm pretty sure this is because when HTML5 became a thing, some major tech blog showed us what an HTML5 page would look like (simplified doctype, meta charset) and they included the viewport settings that disabled zoom. Then pretty much everyone copied from these guides, and here we are. I remember I had used HTML5 skeleton templates for a while before I learned that the "maximum-scale=1, user-scalable…

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 that way. Yet because the line gets included in boilerplates to make it easier to make PWA's, it ends up in a ton of stuff that definitely is not a PWA and should not have that.

Re: Please stop disabling zoom

#45
post #22

My pet theory: I'm pretty sure this is because when HTML5 became a thing, some major tech blog showed us what an HTML5 page would look like (simplified doctype, meta charset) and they included the viewport settings that disabled zoom. Then pretty much everyone copied from these guides, and here we are. I remember I had used HTML5 skeleton templates for a while before I learned that the "maximum-scale=1, user-scalable…

Classic Hanlon's razor "never attribute to malice that which is adequately explained by ignorance"

Copy-pasting a template and just not being aware of accessibility and functionality requirements is most likely explanation here. Or devs being given 4k UHD monitors and never looking at their work on a small laptop.

Re: Please stop disabling zoom

#46
post #40

My first reaction was "Who in their right mind would ask users to stop disabling zoo..oh wait, you meant THAT zoom" :)) Had a chuckle.

HR: "Hey Santa can you please disable Zoom, don't want you getting distracted with meetings"

Me: "ABSOLUTLEY!"

Re: Please stop disabling zoom

#47

Earlier quoted context omitted.

Unfortunately people see accessibility as a burden that a small minority puts on the rest of us, but really it is something that benefits everyone. For instance, normally sighted people or even people with "normal" nearsightedness, farsightedness, or presbyopia benefit from adequate contrast. Text "size" is another thing because people should be able to control it, particularly given the wide range of different devic…

> ... a small minority ... presbyopia ... I think what you just indirectly pointed out is that software is largely written by young, ignorant people who don't appreciate that everyone will get to experience presbyopia, and it happens sooner than you think. Maybe we should require product owners to be at least 40 years old ;-).

And they're using the very latest macbook pro with a fast and reliable internet connection, on which the site/app seems to work just fine and must therefore be ok.

Re: Please stop disabling zoom

#48

In the old days you needed to disable zoom in order to get click events immediately, rather than delayed a bit so it can tell whether it's really going to be a zoom operation. Is that still true?

There's now a specific CSS property for this which I believes disables specifically double tap to zoom (while leaving pinch-to-zoom working).

Re: Please stop disabling zoom

#49
Thank you! As a visually impaired user, disabling zoom is just incredibly stupid, except for a few edge cases such as games.

As per theories in this thread why this meta tag is so popular. I know a few UX designers who explicitly asked the web developers (also me) to disable zoom so that there precious design could not be broken by users. I simply refuse to do so.

Re: Please stop disabling zoom

#50
post #2

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.

Many websites have this problem with their main navigation bar.
Post reply on HN