by pgrimes · 11y ago · 0 comments
Also horrible is the tri state or undeterminate checkbox.
All of the above are very trendy pieces of 'css and html codes' commonly found on popular DIY web dev sites.
*edit: spelling
Why on earth would you prefer to pan around a desktop site designed for a big screen with a tiny cursor when you've got a tiny screen and a massive cursor (fingertip)?
I simply don't get the calculus, people who don't need to zoom won't and they get to see a nice site. What on earth do you win by preventing people that need to zoom from doing that? That they get to see a nice design that they can't use? And that is supposed to be better than seeing a usable site that needs panning? That's insane. I certainly hope your kind of thinking will go away quickly.
I would not prefer to pan - if I resort to it, it's because I have to because the site design is broken.
At that point you better not have disabled zoom too, if you want me to come back to your site.
THIS! This is how I feel exactly! When you load up a site I do it is as well designed as a mobile app. Surely people don't complain about the inability to zoom in their iOS settings app, or in the clocks app. Why would my site be any different?
What? There's plenty of reasons to zoom even if the design is perfect.
Not everyone has the same eyesight or the same size phone.
The great part is, with recent support in CSS we can build one site and target desktop users and mobile users with entirely different hardware, and give them a unified experience and layout that's tailored to their device. When they use the desktop it's the same website, fit to their screen and ready to be used with a mouse and keyboard. When it's from a mobile device - all of the same information and actions are still there, just presented in a way that's intuitive and natural to users of a mobile device.
If you've ever used a mobile simulator on a computer you'll know how awkward it is to emulate the most natural and smooth fingertip gestures with a mouse. It's clunky! Well trying to pretend you're a desktop with a mouse when youve got a tiny screen and a big mouse (fingertip) is just as awkward and useless.
With zooming enabled, every tap you make takes 300ms longer to register because it's listening to see if that tap is a tap or going to be part of a zooming gesture.
I design my stuff to look good well beyond normal tolerances for screen sizes, and trust me - I am not your enemy here. I do what I do to give the best experience and if zooming ended with an easier-to-use experience then for sure I would enable it.
I do a lot of other things to make it easy for mobile users too:
- use tel inputs for numerical entry (mobile users get a keypad instead of a keyboard)
- user email inputs for emails and turn off autocapitlize (mobile users get a keyboard with an '@' symbol)
- use retina graphics, or render imagery in code for retina and pixel-dense displays
- every layout I create works from 300px-1500px, and some of the more important elements in the layout I may get working from 200px-2000px to be certain they will work everywhere.
- I use a massive wish-list of fonts that includes great defaults for OS X, Windows, Linux, Android, and iOS
- I use the least amount of JavaScript that makes sense to accomplish what I need to do (I hate sites that constantly crash the tab on mobile)
- I add offline and web-app tags according to the project to help users who may add the site to home screen have the best experience (not all sites are built for web app mod)
- I also add in special icons just for mobile users so if they bookmark the site they will have a nice icon as well
- I disable text-selection or pointer-events for items that may be errantly tapped on, or to help you be able to more easily select text you are trying to select on mobile. Text selection, copy, and paste on mobile is a magnitude more difficult than for a desktop user
So I'm not just disabling it because somebody told me to, or showed me that's how it's done. I work hard and develop, and use these devices, and building a desktop site you can pan around does not provide as good an experience as a properly designed responsive site.
I'm a mobile user too, trust me when I say I fight for your experience to be the best there is!
Furthermore, even on my desktop I'll use zoom sometimes (you know you can zoom on the desktop too right?) because I can't read something, and it's a lot easier to zoom than to try and screenshot it and then enhance in some other program.
Further down you said you've been on sites where you wish zoom was disabled. Can you show me even a single example? Did you mean that you wish the designer hadn't relied on zoom for their page to work? Because that's a very different thing than "the site was perfectly ok on mobile but they had zoom on and I didn't want it on". In fact, if their design was good enough for zoom to be off, how did you even know they had it on?
Have I been on sites where I wished zoom was DISabled? Yes
The point is, I design my stuff so it feels like a native app. I design my stuff so it is as accessible as the apps that came with the device. Zooming is a feature added to mobile browsers so mobile users have a fallback to view websites that dont support mobile screen sizes, but designing websites for mobile intentionally to make use of a fallback for non-mobile support isn't using the mobile device to its fullest potential?
Without zooming, how do you all use things on your phones that ARENT websites? They don't zoom either...
If I enable zooming for users, every tap on every mobile device is going to get slower for every user. Is that in the interest of better UI?
Do you think users tap more, or zoom more when using web apps?
Would you rather fill out a desktop Credit Card subscription form by zooming and panning around, or using a form designed to be input with a thumb where all of the fields are fit to the screen width?
I can tell you right now, if I designed our sites like some of these HN commenters want it would be comfy for them to browse and we would lose thousands of dollars revenue. As others have noticed, there are browsers that have a zoom override, as well as bookmarklets and other ways you can bypass the no-zoom thing if you're a mobile user with special needs or who likes zooming. YOU can enabled that device-wide for yourself if that's how you like it, but it doesn't make sense for all projects to be built the same way when the goals and intended support for projects varies widely.