Create Accessible Tabs with HTML, CSS & JS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI53 min

About this video

Walks through building progressively enhanced tabs in HTML, CSS and JavaScript, with attention to ARIA roles, aria-selected and keyboard navigation. It is aimed at people who already write front-end code and want accessible interface patterns.

What you’ll learn

  • Build a tabbed interface with HTML, CSS and JavaScript
  • Apply ARIA roles and aria-selected to tab components
  • Add keyboard navigation between tabs