Ask HN: Why are toggle switches replacing checkboxes? Isn't on/off less obvious?
445 pointsEvery website and software seems to move to the left/right sliding thingies.
I know the right side is on.
But whenever I have to use them, I always have this little doubt on my mind of "did I really set it correctly?"
Am I going crazy or are these things a fad with much worse usability than checkboxes?
Comments (367) 70 threads
Show all comments
Showing thread 1 of 70
1)I'm going to give you an easy one to start. You see a toggle switch. It is set to on (probably - the little colour bar in the switch is coloured in).
It is labeled "Disable fnurbification".
Okay now what? Does "on" mean I'm going to be fnurbified? Does switching the switch disable the fnurbification so I actually have to switch it to "off"? No that's crazy. "on" means "disabled", cognative dissonance aside.
2) You see a toggle switch. It is set to on like before. It is labeled "Disable fnurbification".
We learned before that "on" meant "disabled", but that filled us with a vague sense of unease. For whatever reason we try toggling the switch. The text changes to just "Fnurbification"
Okay really now what? Is my fnurbification on? You try flicking the switch back. The colour fills in and the label changes to "Disable fnurbification" again. Okay what are we supposed to do?
What's happened is the designer has read a post on medium about accessibility and that screen readers don't read out the colour of the filled in part of a toggle switch, and has decided to help by changing the label when the state of the switch changes.
The problem is now the label could either be describing the current state or be describing what happens when you flip the switch. And there's really no way of knowing. I've seen this very often with the UX for boolean selectors where they use things like buttons rather than toggle switches. Does pressing the button do the thing it says on the label or does the label describe where we are now and pressing the button will reverse that? No way to be sure.
Postscript: Notice that whatever you decide is correct in the second case could change what you would do in the first case if the first type of selector is one that would change label when you toggle it.
Clarification: the label should toggle when the GUI toggle switch is toggled.
That said, people use this UX pattern all over the place, and sometimes I'm sure on purpose. Istr one iteration of facebook's data privacy and sharing dialogue used to have it. There was a switch called something like "Enable privacy protection" and you see it set to "off". So you switch it "on" and the label changes to "Disable privacy protection". So which one gives me the privacy protection?
Privacy protection [ o-- ]
Privacy protection is disabled. Other users can blah blah blah
Privacy protection [ --o ]
Privacy protection is enabled. Other users cannot blah blah blah
I imagine at least 90% of people, upon seeing an option to enable privacy protection, would enable it. But by making the option confusing, you'll end up with people that want it on and inadvertently turn it off.
It certainly wouldn't be Facebook's only dark pattern.
I'm not a UI designer but I think this is pretty obvious to anyone that has used bad checkboxes (like OP). (I don't think the problem is unique to slide toggles; I've definitely seen similarly bad checkboxes.)
Hmm, I'd like it if that always made sense, but sometimes the default state, with nothing active, is for Foo to be on. So "Disable Foo" is doing something not normally required, or something most people don't want. Sometimes it does make sense that _not_ performing a reduction in Baz is default, and that default is off.
You could probably solve it by renaming a feature to used an antonym, but not everything has an antonym [that people know, or that makes sense].
Continue this thread — 3 replies
I personally prefer a balloon that says "x is on" that appears when you toggle the switch.
the people who think the button should show what state it is in.
and the people who think the button should show what state it will change to when activated.
https://pbfcomics.com/comics/skub/
Continue this thread — 1 reply
Should this show the state or the action?
This gets messiest imo when it's a toggleable button like thing, or an unclear link. Buttons seem good candidates for "trigger an action", checkboxes instead suit "this is the state".
"Flubber enabled" [toggle ON]
"Flubber disabled" [toggle OFF]
Continue this thread — 10 replies
Continue this thread — 4 replies
Continue this thread — 34 replies
Continue this thread — 6 more replies
Continue this thread — 24 more replies