Overview
Syllabus
- Introduction
- Maybe tabs are a bad idea
- The HTML
- Showing only the active tab content
- Showing the correct tab panel when we click on a new tab
- Assistive technologies, ARIA, and roles
- Adding roles to the list and list items
- How to know the expected and best ways for interaction like this
- aria-controls don’t actually do anything?
- Making the panels focusable and the tabs and panels the correct roles
- Adding aria-selected to the active tab
- Styling it up with semantic CSS
- Updating the active panel when we select a new tab
- Giving screen readers more information
- Adding keyboard navigation to switch between tabs
- Improvements and changes that you can make to this
Taught by
Kevin Powell