Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update tabs.md
  • Loading branch information
anle9650 committed Jan 14, 2024
commit 090561de2eacab68576a390cadf0eb58cd7d5bd6
6 changes: 3 additions & 3 deletions docs/data/material/components/tabs/tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Tabs are implemented using a collection of related components:

- `<Tab />` - the tab element itself. Clicking on a tab displays its corresponding panel.
- `<Tabs />` - the container that houses the tabs. Responsible for handling focus and keyboard navigation between tabs.
- `<TabList />` - an alternative to the Tabs component, which automatically implements accessible tabs following [WAI-ARIA authoring practices](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/).
- `<TabPanel />` - an optional card that hosts the content associated with a tab, which automatically implements accessible tabs following [WAI-ARIA authoring practices](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/).
- `<TabContext />` - an optional top-level component that wraps the Tab List and Tab Panel components, which automatically implements accessible tabs following [WAI-ARIA authoring practices](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/).
- `<TabList />` - an alternative to the Tabs component, which automatically injects props to implement accessible tabs.
- `<TabPanel />` - the card that hosts the content associated with a tab.
- `<TabContext />` - the top-level component that wraps the Tab List and Tab Panel components, and automatically injects props to implement accessible tabs.

{{"demo": "BasicTabs.js"}}

Expand Down