4 ms·
> It's awful for accessibility. What's on? What's off? There’s an accessibility mode where it says literally on and off as appropriate. It follows the same beh
by jsjohnst 3y ago
> It's awful for accessibility. What's on? What's off?
There’s an accessibility mode where it says literally on and off as appropriate. It follows the same behavior as native controls on the same platform, including aria behavior. Want to spread more fud?
- phkahler 3y agoThis was just discussed in several HN topics. Is "on" the current state, or what happens if you flip the switch? It's not obvious. Checkboxes are obvious.
- djbusby 3y agoReal life switch shows it's current state (eg: light switch, up for on (and some even have little text showing ON when on)). Like a checkbox shows it's current state.
- kube-system 3y agoNot that I disagree with you, but: > up for on .. is regionally specific. e.g. in some places, you turn on lights in a house by flipping the switch down.
- pjerem 3y agoIn my house, it’s random. Not because there is no standard around here (I live in the EU, The Holy Land Of The Mandatory Standards) but because it looks like the previous owners didn’t care enough. More seriously, it also depends if there is only one switch for the light. If there is two nothing makes sense anymore and if there is more, you are forced to use a relay so switches become one state buttons.
- Izkata 3y agoI didn't know anyone had any standard until a conversation on here where it came up a year or two ago. Every place I've lived had two switches somewhere (both ends of a hallway, both entrances to a room, etc) so I never internalized any directionality for switches - it's just always been "flip the switch if the light is in the wrong state". One or two of the switches I've had have even been sideways.
- riffraff 3y agoI've seen plenty of rooms with more than one switch, where it acts like a toggle, so "on" can be up or down. There is no standard.
- djbusby 3y agoSure, be pedantic. But look around, loads of switches in the real world show their current state. Hair Dryer, Stove, A/C. Mostly, toggle switches and dials show the current state. (And sure, 3x and 4x lighting circuits exist)
- Izkata 3y agoDon't know about the hair dryer, but a lot of other things have switched to buttons with indicator lights or screens nowadays. Dials and switches fell out of fashion like a decade ago.
- gostsamo 3y agoAs someone blind, I really hate the word "switch" because it is both a verb and a noun. So, I go to a page, reach an element with the text "something switch on" and I'm in the woods. Is this a switch in the on position or it is telling me that it is off and I can press to switch it on?
- Gigachad 3y agoHow is it any less obvious than a checkbox? If it looks like the empty/white, it’s off. If it’s the primary color, it’s on. Exactly the same as a checkbox.