5 ms·
This seems more like a gallery of art/starting point than a "use this as-is", so I'm sad to see this comment on the top of HN since as a show of what can be acc
by franciscop 4y ago
This seems more like a gallery of art/starting point than a "use this as-is", so I'm sad to see this comment on the top of HN since as a show of what can be accomplished with checkboxes it's amazing.
We front-end devs would benefit from a lot more works of art like this, and then people trying to implement them into real systems would need to make them accessible. Similar to how we benefit greatly from Dribbble. If we don't allow for unrestricted just artistic bits like this, then creativity suffers.
Counterargument to myself: the click to copy though makes it seem like it's ready to use, and many newer devs would just use them straight away. It's on the hands of more senior devs to tell them that these snippets, similarly to many StackOverflow ones, need to be adapted to integrate in an actual app for things like accessibility, uniformity, etc.
- CipherThrowaway 4y agoI agree with the sentiment but there are problems besides accessibility here: 1. Crosses and squares being used instead of check marks. 2. Circles being used as containers instead of boxes. 3. Toggle switches being presented as checkboxes. Maybe 5-10 of these are good inspiration for checkboxes.
- franciscop 4y agoI am so sad anyone can look at this amazing resource and with a straight face say that only 10% of it is valid as an inspiration. It's a magnificent source of inspiration! Sure some are not perfect, but that doesn't detract from the overall goal.
- miiiiiike 4y agoThey're fine. In other news: Nuclear power plant steering group improves reactor proposal! Committee stalls debating shade of yellow to be used for lines in parking lot.
- downvotetruth 4y agoNaming element types by their style or form (box) rather than features in an implementation that encourages separating style leads to a more general problem.