ARIA tabpanel Role
The tabpanel role marks the content panel that belongs to a tab in a tabbed interface. Only the panel of the selected tab is shown.
Description
The tabpanel role identifies a container for the content of a tab. Each element with the tab role controls one tab panel, and only the panel for the selected tab is shown; the others are hidden, typically with the hidden attribute.
Label each panel with its tab using aria-labelledby, and point the tab at the panel with aria-controls. If the panel doesn't start with a focusable element, give it tabindex="0" so keyboard users can move into it from the tab list with Tab.
Properties
- Category
- Widget
- HTML equivalent
- None
- Accessible name from
- author
- Required parent role
- None
- Required child roles
- None
ARIA Attributes
- Required
- None
- Supported
- None
- Prohibited
- None
- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="tabpanel">
Example
Browser Support
The following information will show you the current browser support for the tabpanel ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





