Skip to content

Commit 48eb830

Browse files
committed
docs(tabs-overflow): update a11y docs
1 parent 143634a commit 48eb830

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

packages/tabs/tabs-overflow.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
1-
## Description
1+
## Overview
22

3-
The `<sp-tabs-overflow>` is a decorative component that works in conjunction with the `<sp-tabs>` component. It enables horizontal tab scrolling in cases where the available width is insufficient to display all tabs.
3+
The `<sp-tabs-overflow>` is a decorative component that works in conjunction with the `<sp-tabs>` component. It enables horizontal tab scrolling in cases where the available width is insufficient to display all tabs. Multiple tab items should not be truncated solely to accommodate horizontal layout constraints.
44

5-
_Note: Veritical scrolling is not yet supported._
5+
_Note: Vertical scrolling is not yet supported._
6+
7+
[View the design documentation for this component.](https://spectrum.adobe.com/page/tabs/)
68

79
### Usage
810

911
[![See it on NPM!](https://img.shields.io/npm/v/@spectrum-web-components/tabs?style=for-the-badge)](https://www.npmjs.com/package/@spectrum-web-components/tabs)
1012
[![How big is this package in your project?](https://img.shields.io/bundlephobia/minzip/@spectrum-web-components/tabs?style=for-the-badge)](https://bundlephobia.com/result?p=@spectrum-web-components/tabs)
1113

12-
```
14+
```zsh
1315
yarn add @spectrum-web-components/tabs
1416
```
1517

1618
To import the `<sp-tabs-overflow>` component with its associated side effects, use the following import statement:
1719

18-
```
20+
```js
1921
import '@spectrum-web-components/tabs/sp-tabs-overflow.js';
2022
```
2123

2224
To utilize the `TabsOverflow` base class as a type or for extending its functionality, utilize the following method:
2325

24-
```
26+
```js
2527
import { TabsOverflow } from '@spectrum-web-components/tabs';
2628
```
2729

0 commit comments

Comments
 (0)