DEV Community

Discussion on: Dropdowns Without Javascript

Collapse
 
joshichinmay profile image
Chinmay Joshi • Edited

Very cool. I like to do stuff without taking any help of JavaScript.

CSS is very powerful. Thanks for sharing this.

Collapse
 
equinusocio profile image
Mattia Astorino

CSS was not made for that. Using these hacks can put you inside a tunnel of accessibilities and usability issues

Collapse
 
briankephart profile image
Brian Kephart

Please elaborate, and please be kind. These are basic features of CSS, not hacks, but we could all stand to learn more about accessibility and usability.

Collapse
 
joshichinmay profile image
Chinmay Joshi

Hey @equinusocio , I am just saying its very beautiful how you can create things with CSS, without using any JavaScript.

Can you tell me how it can cause issues? I would love to learn more about it!

Thread Thread
 
briankephart profile image
Brian Kephart

@joshichinmay check out the CSS-Tricks link in the post. It has a long discussion about the accessibility of this approach, both in the main content and the comments.

Thread Thread
 
joshichinmay profile image
Chinmay Joshi

Hey, thank you. :)