News for hackers. Stuff that matters.
Re:My Current HTML Boilerplate by Spivak on Tuesday April 27, 2021 @11:53AM (#26957634)
I'm sympathetic to the argument that you shouldn't have to pay to play on iOS devices but that doesn't mean that the browser has to cater to every possible use-case especially when that use-case hurts accessibility for almost all real web pages if used.

If you give web developers any way to disable zoom they will disable zoom whether it's appropriate or not. With an app that gets human reviewed you can make rules like "this feature can only be used for full-screen games" but not on the web where there's one set of rules for everyone.

Re:My Current HTML Boilerplate by dheera on Tuesday April 27, 2021 @02:42PM (#26959798)
No, it's shitty developers that hurt accessibility. There are so many other worse ways to wreck accessibility than disabling zoom, including popup modals, grossly large banner ads, JS that consumes CPU and huge amounts of bandwidth, supporting only English, putting text in images without alt text, hard-to-read font choices, and so on. People do all of the above. There are good devs and crappy devs. If a website is made by crappy devs it will naturally lose reader interest.

There are actual accessibility reasons for wanting to take control of pinch zoom behavior. As long as I'm actually catering to accessibility, if I have to be forced to use the OS pinch zoom to do that it's going to be LESS accessible. The OS pinch zoom only works for text and static 2D images and nothing else. If you try to OS-pinch-zoom a 3D object on a web page, it zooms the whole UI and not the object. That's a major accessibility problem for say a website that offers 3D models.

And no, I don't think "create an app" is the answer as another comment said. I want LESS apps, LESS spyware, and more in-browser, fully-featured, perfect mobile experiences designed in HTML5 because it's MUCH harder to invade privacy with HTML5 than it is with a native app, and if Apple would stop compromising HTML5 features, a huge number of mobile apps can be implemented in it.

Re:My Current HTML Boilerplate by anoncake on Wednesday April 28, 2021 @03:35AM (#26966756)
> If you try to OS-pinch-zoom a 3D object on a web page, it zooms the whole UI and not the object. That's a major accessibility problem for say a website that offers 3D models.

Why doesn't it zoom the object along with the rest of the page?

Re:My Current HTML Boilerplate by CRConrad on Wednesday April 28, 2021 @07:17PM (#26975457)
Probably meant "it zooms the whole UI and not just the object". (WAG.)
Re:My Current HTML Boilerplate by anoncake on Wednesday April 28, 2021 @07:44PM (#26975648)
Sounds like the expected behavior to me.