3 ms·
> I’m saying that you shouldn’t hide the elements themselves just to replace them with mimicking components... I've fallen into this trap before. It's easy to
by gitgud 7y ago
> I’m saying that you shouldn’t hide the elements themselves just to replace them with mimicking components...
I've fallen into this trap before. It's easy to make a component that's just a little different than a default HTML field e.g. a text input with auto-complete. If you start disabling/hiding the underlying input element, accessibility drops massively...
- Zarel 7y agoIt's funny that he says that, then suggests using Normform instead, which very much hides checkboxes to replace them with mimicking components. To be fair, it's not like I've found a better solution for styling checkboxes.
- bradley_taunt 7y agoCompletely agree! I've been meaning to jump back into that project and try some new things (maybe pull back on some of the custom styling even). It has been quite a while since I've updated that repo...
- x3haloed 7y agoYeah, checkboxes simply need better theming support. Hiding them is not good, but also having them break consistency and sticking out like a sore thumb because there's no way to skin them is also not good