dark (o ) lightThis is absolutely a dark pattern.
"opt-out options"
"annoying marketing emails (o )"
am i... enabling the thing? opting out of the thing?
Is this the same thing that separates those that like to mash all the buttons and twist all the knobs to see what happens vs those that don't want to touch anything because they don't know what will happen?
Depends on the setting. Sometimes they're for things that have greater than usual effects, like getting locked into a subscription payment or agreeing to additional charges for Spirit Airline flights. Other times they're for things that I have difficulty taking the initiative to address, like notification/unsubscribe settings, for which my ADHD only allows me occasional "windows" of time where I'm able to initiate or follow-through on changing the settings.
Sometimes it doesn't really matter and I just scoff at the bad UI and it's not a problem.
Of course part of what makes it ambiguous is that there is a setting somewhere completely different which when set will add a teams link whether the slider is set or not.
(o foo)
(bar o)
And I don't know if I'm supposed to click it to change to `foo`, or if that means it is already in the `foo` mode.There's a small problem with your example: Dark mode isn't a binary setting.
For modern applications, there should be 3 settings: System, Light, and Dark. (I like to use a dropdown menu to select the theme).
This makes it work for people whose theme changes automatically between day and night (it's a built-in system setting on macOS, and possibly Windows). L
For a web app, Light and Dark can set a value in localStorage which sets the theme manually, but System should remove the setting.
You can detect the correct theme when the page is loaded, and also add an event listener to detect theme changes (so that either the user or the OS can change the current theme). It's actually not too difficult to set up properly.
The core function of a toggle is to - well - toggle.
Off (o ) On
And the way it was used was Dark (o )
or
Dark ( o)Checkboxes are easy to understand.
If there is immediate effect then using a checkbox also works perfectly fine.
The switch is just always worse (IMO).
I once visited a site that had a hamburger menu holding the navbar that auto-hid if you clicked away. They also had a switch on the corner of the opposite side of the screen that opened the navbar and kept it open
I still sometimes wonder what was going through the UI guy's head when they made that
For the "off" state though, I've never found an empty square outline being that clear (this looks similar to a button or a text field) or easy to spot, and a cross/X in the square instead can also be confused with "on". Not saying a switch fixes this however.
> When turning airplane mode on for iOS, Apple provides immediate results by changing the cellular bars in the upper left-hand corner to an airplane icon.
To summarize, it sounds like the toggles you've experienced haven't led to an immediate state change, which likely identifies them as better candidates for a checkbox like you mentioned.
That separation between immediate and delayed effect seems quite artificial to me, and doesn't exist at all on other types of inputs. It looks like a bad, post-fact justification created just to placate some masses instead of for good fundamental reasons. (And yeah, I do know who I'm criticizing here.)
Anyway, it's a lost battle, so whatever, let's leave with the bad consequences.