Schrödinger's switches.
@stevensrmiller Only you can see the cat but you still don’t know whether it’s alive or dead.
Schrödinger was too narrow. That app has moved past him.
@aral I bet its the "Legitimate interests" legal loop bullshit. I've seen this on other sites as well.
@somewhat_damaged They took a toggle switch and added an indeterminate state. I have a legitimate interest in slapping them.
@aral and those subdivisions, wtf
@aral indeterminate checkboxes are definitely a thing. We use them in @nodebb when we need to render a checkbox state that is not explicitly checked.
@devnull They definitely are a thing. They’re an abomination :)
They violate the affordance of the control, not to mention conventions and expectations.
A checkbox is either checked or it is not. There is no intermediary indeterminate state. (It can also be disabled.) Ditto for a toggle switch which is modeled on an actual toggle switch; a switch that toggles between two states. If such a switch is stuck in the middle, it’s broken.
@aral ha! As with all abominations sometimes there are places they can be helpful?
I was building out additive permissions in #nodebb when I needed to communicate to the end user that even though a specific privilege was not checked, that in reality, though the additive nature, it may as well have been. (e.g. a particular user group may not have the privilege to post new topics, but if the global registered users group does, then all other groups do too). An indeterminate checkbox was perfect
@aral ... that it was purely aesthetic (so it didn't muck up the backend), was available as an HTML attribute, and enjoyed full support ... was icing on the cake
@gooberking @aral nope, sounds like a perfectly cromulent way to express that state to me
@aral It's actually a common pratice (websites)… I've been complaining about these specific kind of dark pattern for years.
Undefined state is still opt-out, by definition, as users still need to explicitly put all switches in "False" state… Can't see why this practice is "tolerated"¹, opt-out being illegal
1. Either tolerated or totally ignored. Anything less than dissuasive sanctions including fines (and not ridiculous, useless ones) is an invitation to continue this shitty practice…