Live data from Hacker News

Please stop disabling zoom

matuzo.at

241–250 of 309 posts

Re: Please stop disabling zoom

#241

Earlier quoted context omitted.

Firefox has an override for that, shift+right mouse should ignore the click handlers and show the browser context menu. This is something I really miss in other browsers, especially the ones that decide that they know better than me about how things like copy/paste are supposed to work.

I have never heard this before. Is there more stuff like this? Note: I can't test this right now because I don't have any sites that do this particular bad thing

This website [1] (actually, its codepen [2]) has a demo and even describes all the user-hostile reasons why developers might want to disable the right click menu.

There are some other accessibility tricks that Firefox advertises [3] like ignoring website font and color choices.

Firefox also has native support for overriding website CSS [5] but "modern" websites often come with impossible to understand DOM and CSS structures (if they even use CSS and not just forcefully insert style into the DOM directly because separation of concerns is for losers I guess).

Then there are websites like Github and some shitty forum software that insist on hijacking keyboard shortcuts like Ctrl+F and Ctrl+K. You can go into about:config and set permissions.default.shortcuts to 2 (Services.perms.DENY_ACTION) to block websites from overriding shortcut settings by default. You can go into the site settings and manually enable them again by going to page info (ctrl+i), then tabbing over to permissions, and changing the value for "override keyboard shortcuts" from "default" to "allow". Or, you could simply block the websites that offend you from that screen without changing the default.

[1]: https://www.codeinwp.com/snippets/disable-right-click-contex...

[2]: https://codepen.io/impressivewebs/embed/zYYxepW?height=265&t...

[3]: https://support.mozilla.org/en-US/kb/accessibility-features-...

[4]: https://superuser.com/questions/318912/how-can-i-override-th...

Re: Please stop disabling zoom

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

Safari only zooms if your input text is too small (less than 16px). The answer to defeating autozoom is to not make inputs that many people would need to zoom manually.

Re: Please stop disabling zoom

#243

Earlier quoted context omitted.

I went through a phase of making sales presentations aimed at C-levels at big co's and was trained to pack the information on two slides into one slide and then consolidate two of those slides into one slide... And do it all without big blocks of texts or small fonts but rather well-planned complex diagrams that would draw people in and provide a great foil for spoken explanation, answering questions, etc. In the han…

If you know what the presentation is about from reading the slides then those are bad slides. Slides exist to support a presentation and should not make sense without someone explaining it. If you want to understand without attending a presentation then what you want is a paper, or book. Those are very different formats.

This is true if the slides are for a presentation, but unfortunately, many people in business (coughconsultantscough) use the deck as their deliverable and cram all the information in there. A memo or report would be better in most cases, but the culture is what it is, and at the end of the day, if the CEO expects a deck, the CEO is going to get a deck.

Re: Please stop disabling zoom

#245
post #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?

Yes, this is really why most mobile sites disable it (at least it's the primary reason I do).

Latency matters a lot and everyone taps, not everyone zooms.

Re: Please stop disabling zoom

#246

Yes it is silly. The article actually ends with some useful tips: As a user, you can force allow zooming: In Firefox find the settings, select “Accessibility” and activate “Zoom on all website” In Chrome find the settings, select “Accessibility” and check “Force enable zoom”

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…

Yep, exactly this. I have that setting enabled myself due to e.g. Blogspot inappropriately blocking zoom in its default mobile template — but on the other hand it does unfortunately mean that e.g. on openstreetmap.org I occasionally end up zooming the page instead of zooming the map…

Re: Please stop disabling zoom

#247

Earlier quoted context omitted.

I went through a phase of making sales presentations aimed at C-levels at big co's and was trained to pack the information on two slides into one slide and then consolidate two of those slides into one slide... And do it all without big blocks of texts or small fonts but rather well-planned complex diagrams that would draw people in and provide a great foil for spoken explanation, answering questions, etc. In the han…

If you know what the presentation is about from reading the slides then those are bad slides. Slides exist to support a presentation and should not make sense without someone explaining it. If you want to understand without attending a presentation then what you want is a paper, or book. Those are very different formats.

In many organizations this is bad advice.

I've given many presentations where I has to provide the slides, which were then repeatedly emailed as samizdat. Easy 10x as many people only read the slides, but a document would not have reached them at all.

It all depends on your audience.

Re: Please stop disabling zoom

#248

Earlier quoted context omitted.

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!

1900x1200 on 24" is definitely not HiDPI. That's 93.625 PPI. HiDPI generally starts at 200 PPI and goes up from there.

Re: Please stop disabling zoom

#249
Could you add the watts, voltage & amperage, to each of the standards? https://en.wikipedia.org/wiki/USB.

USB Power Delivery Rev. 1.0 (V. 1.0) 2012-07-05 100 W (20 V, 5 A) USB Power Delivery Rev. 1.0 (V. 1.3) 2014-03-11 100 W (20 V, 5 A) USB Power Delivery Rev. 2.0 (V. 1.0) 2014-08-11 100 W (20 V, 5 A) USB Power Delivery Rev. 2.0 (V. 1.1) 2015-05-07 100 W (20 V, 5 A) USB Power Delivery Rev. 2.0 (V. 1.2) 2016-03-25 100 W (20 V, 5 A) USB Power Delivery Rev. 2.0 (V. 1.3) 2017-01-12 100 W (20 V, 5 A) USB Power Delivery Rev. 3.0 (V. 1.1) 2017-01-12 100 W (20 V, 5 A) USB Power Delivery Rev. 3.0 (V. 1.2) 2018-06-21 100 W (20 V, 5 A) USB Power Delivery Rev. 3.0 (V. 2.0) 2019-08-29 100 W (20 V, 5 A) USB Power Delivery Rev. 3.1 (V. 1.0) 2021-05-24 240 W (48 V, 5 A) USB Power Delivery Rev. 3.1 (V. 1.1) 2021-07-06 240 W (48 V, 5 A) USB Power Delivery Rev. 3.1 (V. 1.2) 2021-10-26 240 W (48 V, 5 A)

Re: Please stop disabling zoom

#250

Yes it is silly. The article actually ends with some useful tips: As a user, you can force allow zooming: In Firefox find the settings, select “Accessibility” and activate “Zoom on all website” In Chrome find the settings, select “Accessibility” and check “Force enable zoom”

Yup but it seems to me like the default behavior should be reversed. It should be accessible by default, and for the few special cases sites where zoom interferes with their functionality, then the setting could be toggle to disable it.
Post reply on HN