Build Navbar Menus That Actually Work for Everyone

Coding2GO on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateAccessibility17 min

About this video

A walkthrough of building a responsive navigation bar with HTML, CSS and JavaScript, using ARIA attributes such as aria-expanded and aria-controls. It also explains the inert attribute and how it differs from hidden for a collapsed menu.

What you’ll learn

  • Use ARIA attributes such as aria-expanded and aria-controls in a navbar
  • Build a responsive navbar with Flexbox and media queries
  • Compare the inert and hidden attributes for a collapsed menu