logoalt Hacker News

tapirlyesterday at 5:51 PM1 replyview on HN

The pure-css effects I mentioned both don't use <detail>/<summary>.


Replies

jakelazaroffyesterday at 6:49 PM

Same caveat applies to the "checkbox hack" or any other pure CSS solution. You cannot create accessible versions of most complex controls like tabs without JavaScript.

(That first example could be created semantically and accessibly with <details> / <summary> though!)

show 2 replies