Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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...



It'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.


Yeah, 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


Completely 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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: