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