JavaScript Lesson 38 | Accessibility | ARIA, Keyboard Navigation and Focus Management

DeveloperMaroof on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateAccessibility12 min

About this video

A JavaScript lesson on building accessible web interfaces with ARIA attributes, keyboard navigation and focus management, using an accessible navigation menu as the example. It is aimed at frontend developers who already know some JavaScript.

What you’ll learn

  • Set ARIA attributes such as aria-expanded and aria-controls on menu controls
  • Support keyboard navigation with Escape and arrow keys in a JavaScript menu
  • Manage focus with tabindex and .focus() and listen for focus and blur events