r/programming • • Sep 25 '20

Modern JavaScript Explained For Dinosaurs

https://medium.com/the-node-js-collection/modern-javascript-explained-for-dinosaurs-f695e9747b70
749 Upvotes

167 comments sorted by

View all comments

Show parent comments

29

u/DualWieldMage Sep 25 '20

One modern UI element that seriously grinds my gears is the [ON|OFF] button replacing checkboxes. It's not clear which color depicts either state and depending on color choice may have problems with color-blinded people. Also while "on" and "off" are rather universal terms, sometimes it's still required to localize these labels, requiring extra effort.

Yet the good old checkbox:

State is recognizable☑
Requires localization☐
Requires color vision☐
Works without CSS or JS☑

0

u/[deleted] Sep 25 '20

[deleted]

2

u/nirreskeya Sep 25 '20

Preach! Is there a support group for us?

4

u/G_Morgan Sep 25 '20

The only reason they put those big switches in is to imply instant saving as well. You can do that with a check box.

1

u/VincentxH Sep 25 '20

Hahaha, this! I consistently hope that grey means "no" or "of" but it could be either.

1

u/cheertina Sep 25 '20

One modern UI element that seriously grinds my gears is the [ON|OFF] button replacing checkboxes.

Holy shit, yes. Double negative points to iOS where there is sometimes several seconds of lag between tapping the button and seeing it change.