3 ms·
One can create interactive trees in pure HTML with a single CSS rule
- chiefalchemist 4y agoAfaik, the details tag is said to have accessiblity issue*. I can't imagine nesting them is going to help. *I've read what feels like conflicting opinions with the consensus being: maybe it's accessible, maybe it's not. I would love to get a definitive answer either way. Tho' it does feel odd that a native tag isn't accessible out of the box.
- netsharc 4y ago"Let me make a tweet of a screen capture of a JSFiddle"...
- karmakaze 4y agoI've been using the <details><summary> tags in Github comments without even thinking about general HTML usage.