This post makes the common mistake of avoiding JS (generally a good idea) in a way that hurts a11y. The proposed solution is a broken experience for screenreaders and keyboard navigation.
https://www.pausly.app/blog/accessible-hamburger-buttons-without-javascript π«
For a correct implementation, see https://web.dev/website-navigation/ β
JavaScript, used sparingly, is *necessary* here. Donβt try t β¦ β Read more