Tab- When the tab list contains the focus, moves focus to the next element in the tab sequence, which is the
tabpanel element.Right Arrow, Left Arrow- Activates the newly focused tab.
- If focus is on the last tab, moves focus to the first tab.
Home, Endaria property:aria-label="STRING"aria-description="STRING"role="tablist"role="tab"role="tabpanel"tabs-item serves as a container for tabpanel content.aria-label="STRING"tabs-item based on the label property.aria-selected="BOOLEAN"aria property, e.g.:
<p-tabs aria="{ 'aria-label': 'Some label for the tablist', 'aria-description': 'Some description for the tablist' }">.aria prop when multiple tab groups appear on one page.label text on each p-tabs-item.aria-* attributes directly on the component host.aria-controls<p-tabs aria-label="Product details">
<p-tabs-item label="Overview">
...
</p-tabs-item>
</p-tabs><p-tabs aria="{'aria-label': 'Porsche 911 configuration details'}">
<p-tabs-item label="Overview">
...
</p-tabs-item>
<p-tabs-item label="Equipment">
...
</p-tabs-item>
</p-tabs><p-tabs aria="{'aria-label': 'Product details'}">
<p-tabs-item label="Details">
...
</p-tabs-item>
<p-tabs-item label="More">
...
</p-tabs-item>
</p-tabs><p-tabs aria="{'aria-label': 'Porsche 911 configuration details'}">
<p-tabs-item label="Overview">
...
</p-tabs-item>
<p-tabs-item label="Equipment and packages">
...
</p-tabs-item>
</p-tabs>