Use Semantic HTML to Improve Hamburger Menu Accessibility

Share this video with your friends

Send Tweet

Instead of using divs to create a Hamburger Menu, we are going to improve the accessibility using Semantic HTML.

You'll see that a simple adjustment from a div to a button allows users to navigate our menu with their keyboard.

Srinivas  Kasiriveni
Srinivas Kasiriveni
~ 6 years ago

Nice tip