DEV Community

Discussion on: What are the most underrated browser features and APIs?

Collapse
 
giovannimazzuoccolo profile image
Giovanni Mazzuoccolo • Edited

Html offers a basic accordion just using details and summary html tags. More on mdn developer.mozilla.org/en-US/docs/W...

Collapse
 
stephanie profile image
Stephanie Handsteiner

The <details>-Tag is still not a replacement for an accordion.

adrianroselli.com/2019/04/details-...

Collapse
 
giovannimazzuoccolo profile image
Giovanni Mazzuoccolo

Thanks for the article!
Some reasons are valid however other ones are outdated (browser support, for example). It is not a replacement. It is something with basic functionality that reseems the behiavor of the accordion. And not using a javascript library to achieve something simple for me is a big win.