HTML is powerful. You often don’t need JavaScript
RT @everestpipkin
how did i not know about the html <details> tag?? oh my god??? brb gotta rewrite my website to remove the last remaining javascript

@dunglas This is excellent ! I had no idea it existed.

@sebsauvage et après test, ça marche pour n'importe quel contenu à l'intérieur en plus 🤩

@gub @sebsauvage ah ben parfait, c'est super largement supporté en plus 👍

@dunglas est-ce que par hasard tu saurais si c'est accessible au lecteur d'écran comme balise ?

That's like litterally the only reason why I use JS on a page 99% of the time. This is sooo useful!

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!