Comment by thewebguyd
1 month ago
> And toggled / disabled states. With mobile’s lack of hover, it’s often a game of trial and error to figure out what’s even interactable.
The toggle switch is one of the worst UI conventions to come out of mobile IMO and I get irrationally irate when I see it in desktop UIs with a mouse and keyboard.
A simple checkbox would have done just fine, we've those since forever, and they clearly convey either an on or off state.
Nope, not good enough, we need a toggle switch. Which color or direction is on or off? Who knows, because everyone implements it differently.
> A simple checkbox would have done just fine
Simple is in the eye of the beholder. Try asking a younger person which one is simpler. The checkbox is tied to a form, ticking it doesn’t do anything until you submit, whereas a toggle switch activates immediately.
> Which color or direction is on or off?
The colored state (green or blue) means enabled. The switch knob is always to the right. I have seen confusing designs too, but they are rare.
I get your point but they’re all the same: colored/saturated: on. White/grey: off
Material v2 massively desaturated all colors though. On my phone it's technically a little purple but essentially light gray is on and darker gray is off.
https://i.imgur.com/QiCEguh.png
I know I said M2, but it's actually M3 that did that.
This is so unnecessary. Why would they do that? Just use a strong color.
True enough, but there's still UX improvements to be made.
Most toggles you could fit the word "On" and "Off" within the blank area of the switch to have text that indicates its state as well. Or maybe even vertical toggles that mimic physical light switches.
on iOS an I/O label to indicate the state can be added as an accessibility feature