Also, inspired by this post by Axel Rauschmayer (npub10fa…rdvy) I made the Navigation menu toggle in mobile/narrow viewports work without JS. Neat!
https://fosstodon.org/@rauschma/114099045695366948
However to make it more accessible I set aria-expanded to true or false, which you can't do with CSS. So I had to use JS for that. So JS is a requirement for accessibility apparently.
#CSS #JS #a11y