News for hackers. Stuff that matters.
Re:Accessible hamburger buttons without JavaScript by toastal on Friday January 27, 2023 @02:17PM (#34550420)
Referenced in that article is: https://adrianroselli.com/2019/04/details-summary-are-not-in...

Which says JavaScript is required and simplest solution for building this menu. It also states to try to avoid them when possible.

Re:Accessible hamburger buttons without JavaScript by jazzyjackson on Saturday January 28, 2023 @04:08AM (#34556282)
> Which says JavaScript is required

Only if you want to polyfill for pre-2019 browsers

https://caniuse.com/?search=details

Re:Accessible hamburger buttons without JavaScript by toastal on Saturday January 28, 2023 @11:14AM (#34558786)
You missed the point then. You're probably going to need to use ARIA to attach and toggle the appropriate states in real time and that is only going to work with JavaScript.