Live data from Hacker News

Please stop disabling zoom

matuzo.at

231–240 of 309 posts

Re: Please stop disabling zoom

#231

Earlier quoted context omitted.

I've become "that guy" in presentations who constantly tells people "fonts too small", "can't read cause the contrast isn't enough", etc... My hope over time is that I stop being invited to meetings or people actually take the time to fix their presentations before it is presented to a wider audience.

A simple rule: Minimum font size >= Age of oldest attendee

I think 20 years olds can read fonts smaller than 20 light years just fine. In facts, font that big may in fact be rather troublesome…

Re: Please stop disabling zoom

#232

Earlier quoted context omitted.

I'm so sorry, I'm not 100% sure I understand this comment. Would you mind explaining what you mean by asking others to adjust for your sake in the context of mobile web accessibility? I'm having trouble connecting it to the content of the article. I'm not the writer, but would love to better understand your point of view here.

Ah, remote zooming is being given in a different context. I had thought it was about allowing other people to play with the gimbal and focus and that kind of “zoom” … of a remote camera variety. My bad. Still, asking others to adjust is a nice thing. Demanding to do things on their end, not so much.

Ah, I see. Thanks for clarifying!

Re: Please stop disabling zoom

#233
post #228

Earlier quoted context omitted.

Unfortunately this also disables it on sites where it makes sense. For example I have a simple tool to pick a random person or split people into groups https://playerone.kevincox.ca/ Without zoom disabled 5 people putting their fingers on a screen looks a lot like a pinch gesture. Disabling the default event handlers only works some of the time. This is a common problem with the web, we can't have nice things because…

That tool is a gem! I didn't have many situations where I could have used this during the past two years, but things seem to become a little better now.

Thanks for the kind words. The same for me, I used to use this at least weekly, but now I'm lucky if I open it in a month (although regular board games are coming back to my life).

Pro tip: Double tap for a few more options.

Re: Please stop disabling zoom

#234

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 Depends on the individual case — I’ve seen entire projects get scrapped because it wouldn’t be feasible to make an “accessible” version. Some things just aren’t work for everyone and that’s okay.

When building new commercial buildings (in the US,) accessibility is a non-negotiable requirement. And for good reason. If an accessible version wasn’t feasible in software, then it’s likely the project should have been scrapped just as a commercial building would never be built without accessibility as part of the core design. There shouldn’t be an “accessible version,” accessibility should be the default. Accessibi…

But what counts as needing to be accessible?

A staircase isn't accessible, but still allowed. The accessibility is in an alternate implementation provided for those who need it.

A phone call is an accessible alternative to a website. US law says that the phone call must be offered at the same price as the website, for those who need it.

Re: Please stop disabling zoom

#235
post #116

I've never experienced any zoom problems (as opposed to Zoom problems...), and I just had a look at all the sites mentioned in TFA. In all cases, I can zoom all elements (text, images, the works) just fine, up to 500%. Firefox 100 on Windows. Is this just another one of those "Safari on IOS is broken, so the Web is broken" things, or is there more to it?

No, this is actually "Safari on iOS" isn't broken, and allows the user to remain in control (thankfully).

I'm still confused. So, can you zoom any site on Safari on iOS or not? And if you can't, what definition of 'control' is that, again?

Re: Please stop disabling zoom

#236
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.

Sometimes you need to prevent zoom in order to implement your own zoom though.

For example if you're making a WebGL app, or if you're making a map zooming widget that needs to progressively load more local detail as the user zooms in on an area.

If you don't disable zoom, the OS and your zoom logic will be fighting over the pinch gesture.

Re: Please stop disabling zoom

#238
If you leave zoom enabled on mobile, then the browser tries to handle double-tap-to-zoom, which adds a surprisingly large delay to all taps while it waits to see if there is a second tap coming. This makes websites feel sluggish and unresponsive.

Is there a good way to get lightning-fast response times to tap events without disabling zoom in 2022?

Re: Please stop disabling zoom

#239
post #209
post #199

If we want a free and open internet, why is the current web designed to let server owners control our experience? This leads to accessibility fails like the inability for visually challenged people to control font size or contrast, but also leads to lots of other bad effects, like the fact that my browser gets more and more bloated every year and essentially has become a tool to let other people run programs (javascr…

>If we want a free and open internet, why is the current web designed to let server owners control our experience? Because server owners have the freedom to publish whatever they like (within the bounds of the law) and design their sites however they wish. An internet on which servers are only allowed to provide "structured content" would be significantly less free and open. You may be interested in the Gemini Protoc…

They can send whatever data they like but they have no right of control over what I do with it or how it’s rendered. Browsers would be better if they prioritised user preferences over website designers.

Re: Please stop disabling zoom

#240
post #193
post #176

Earlier 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).

1 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_...

Post reply on HN