Tabs
A row of tabs. By default it is a tablist: one tab in the page's tab order, the arrow keys of its orientation moving between tabs, Enter or Space selecting.
Keyboard
| Key | Does |
|---|---|
| Right / Left (horizontal), Down / Up (vertical) | The next / previous enabled tab, coming round at the ends. Left and Right swap right to left. |
| Home / End | The first / last enabled tab |
| Enter / Space | Selects the focused tab |
| Tab | Leaves the tabs - into endContent, or the panel |
A navigation (as="nav") keeps every tab in the page's tab order instead, as links are.