Re:JavaScript hydration is a workaround, not a solution
by naet on Thursday September 01, 2022 @03:42PM
(#32681966)
"Just compromise your design", surprisingly, isn't a one size fits all solution. Especially when you can implement things yourself. Yes, it's harder than you think, but sometimes it needs to be done.
[ Parent
| on HN ]
Re:JavaScript hydration is a workaround, not a solution
by wpietri on Thursday September 01, 2022 @05:21PM
(#32683388)
One of the things that the words "just compromise your design" make clear is that the focus is on the designer, not the users. Which in my view is often the problem. It's especially hollow here given that much of Karellen's point is about what's best for the users.
Re:JavaScript hydration is a workaround, not a solution
by blep_ on Thursday September 01, 2022 @04:25PM
(#32682618)
It is for things like checkboxes. If your design requires checkboxes to be special and different from everyone else's checkboxes, your design is wrong.
Re:JavaScript hydration is a workaround, not a solution
by tshaddox on Thursday September 01, 2022 @07:13PM
(#32684602)
Everyone else’s checkboxes aren’t all the same though.
Re:JavaScript hydration is a workaround, not a solution
by marssaxman on Thursday September 01, 2022 @08:26PM
(#32685165)
They used to be, and it was better that way.
Re:JavaScript hydration is a workaround, not a solution
by fleddr on Thursday September 01, 2022 @06:04PM
(#32683943)
No, your designer sucks.
Don't reinvent well known controls. Stop doing it. You can give it a border color and an accent color (check out the new accent-color CSS property) and for the rest you leave it alone.
Re:JavaScript hydration is a workaround, not a solution
by tsimionescu on Friday September 02, 2022 @05:28AM
(#32688629)
This is completely silly, and no one does this. If I'm going for a square design, I'll want my checkboxes to be square, not rounded squares like Firefox offers for example.
Try to extend this idea to a game menu and see how much sense it really makes to you: would anyone really want default browser checkboxes in an otherwise medieval styled game UI, for example?
Also, if you truly believe that all checkboxes in all apps should look exactly the same (per browser/OS, and except for color), then why not extend this to other aspects of design? Why even allow different sites to use different fonts? That is much harder to adjust to than a different roundness on checkbox corners.