News for hackers. Stuff that matters.
Re:Accessible hamburger buttons without JavaScript by exogen on Friday January 27, 2023 @12:34PM (#34549002)
The latter would probably work, but the first is invalid HTML – you can't nest interactive elements. Will browsers allow it? Yes. But it's still invalid per the spec.

There are no comments on this comment yet.