An accessible nested navigation

A11y 101 on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateAccessibility3 min

About this video

A short example of making a nested navigation accessible using several ARIA attributes and a little JavaScript. It illustrates how the behaviour is handled across different browsers and screen readers, and suits people who already build interface components.

What you’ll learn

  • Apply aria-expanded and aria-haspopup to a nested navigation menu
  • Use aria-hidden and aria-label to control what screen readers announce
  • Compare how a nested navigation behaves in different screen readers