Live data from Hacker News

Please stop disabling zoom

matuzo.at

201–210 of 309 posts

Re: Please stop disabling zoom

#201
post #108
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.

Maybe this is a good place to ask since there's a lot of web devs here: What is SO effing hard about drawing within the screen on web?! I can't tell you the number of times I've seen this issue. Just the other day I saw reddit's sign up form is totally broken on iOS, you have to swap between landscape/portrait multiple times and hope whatever garbage layout engine it uses redraws the button inside the screen.

It's because designers work with placeholder data. I worked full-time as a dev and saw this over and over and over again. The good designers would adapt, but some never learned.

As soon as you put real data into a website, especially if the website is a CMS that you've handed-off to a _non-technical_ client, it's going to overflow every pretty, grid-based box.

Re: Please stop disabling zoom

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

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…

I have the default font size boosted slightly. A large percentage of web sites and applications don't work with it, the text is cut off. Even ones from Microsoft.

The irony is you have to work to get this to not work. HTML by default will render just fine. Developers just can't resist customizing it so it doesn't work.

My web sites use plain HTML as much as possible. They're derided for being "Web 1.0", but they work, load in a flash, can be resized by the user, are legible, etc.

Even Apple went with pages that were light grey text on white with a tiny font. My eyeballs would just hurt trying to read it. This was a few years ago, maybe they fixed it, but I grew to avoid reading Apple's online docs because it was literally painful.

Re: Please stop disabling zoom

#204
1000% agree, one of my biggest pet peeves. Glad the article shares the (user-side) solution: force enable zoom in accessibility.

One of my other pet peeves is web sites that shrink the default text size. Why??? I set my browser and OS to a text size that is useable for me, please defer to me, your user.

Thanks muchly.

Re: Please stop disabling zoom

#205
post #154

Earlier 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…

> override some annoying mobile browser behaviors like zooming on an input. Yep, I've seen some people disable zoom in their webpages specifically to prevent Safari from auto-zooming all over the place as the user moves from this to that input. It gets really annoying if you have anything but the simplest form. And what webpage doesn't have at least one form on it, even just the search box? I fully agree with OP that…

> Until browsers stop trying to pretend that they know better than both the developer and the user

I don't think browsers or users are really the problem. Browsers are paving cattle paths. Users are stuck with what they get.

Developers on the other hand. They're the ones who insist on using a document markup language to describe and build user interfaces.

Re: Please stop disabling zoom

#207
post #146

Earlier quoted context omitted.

The goal isn't to help the readers though, it's to convince web developers to fix their websites. It seems like that battle is already lost, this isn't some default setting that they are just accepting, web developers are doing it because they think they have a good reason, some random blog post isn't going to change their minds.

For those of us with disabilities, this is every situation of our lives all the time. The disadvantage of being disabled doesn’t come from the way that disability limits us as much as it comes from the countless ways it makes all the normal things people do slightly harder. Advocates fight to change these things not because it’s easy to do but because eliminating at least some of the hurdles in life makes our overall…

Being left handed is a mild version of this.

I think it cultivates a healthy mindset though: At an early age, you learn that all assymetric tools were designed by idiots, so by kindergarten, you're already questioning everything.

I suspect this is why lefties are drastically overrepresented in leadership positions, NASA, etc.

Re: Please stop disabling zoom

#208
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…

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

#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 Protocol[0], on which sites are built according to that general principle.

[0]https://gemini.circumlunar.space/

Re: Please stop disabling zoom

#210

yeah, I know a thing or two about zooming in, having set HN to 190%. On an unrelated note, why is HN text so small? I understand if it were a hunting site, where you're naturally supposed to use a scope, but for an IT forum that's unusual, given half of us wear glasses!

It's easily readable on my display, but I'm not using one of those fancy HiDPI displays. The bigger problem is when posts are printed with a 50% grey font on top of a 25% grey background. Like it's such an obvious usability issue that I have no idea why the developer who set it up didn't have a little laugh at their own expense for the mistake the first time they saw it and then immediately went back and fixed it. Wh…

not sure I qualify for hidpi - 1900x1200 on a 24". Also I never had issues regarding different shades. Hah just goes to show - hard to please everybody!
Post reply on HN