DEV Community

Discussion on: Let's build a responsive navbar and hamburger menu using HTML, CSS, and Javascript.

Collapse
angeliquejw profile image
Angelique

This is a great start, but does not resolve anything about the accessibility of this menu. Two immediate things to fix would be to make the hamburger menu itself a button element (which would make it clear that it's interactive) and to add some text that labels the button in some way (which would make it meaningful to a screen reader user). 👍🏻

See these examples for more detail and other fixes:

Collapse
devggaurav profile image
Gaurav Author

Thank u so much for the feedback and suggestions! Appreciate it. And i will surely fix it and implement your suggestions 😊