Visually hidden
A utility that hides content from the screen while retaining readability by screen readers for accessibility.Installation
| Install | yarn add @atlaskit/visually-hidden |
|---|---|
| Source | Bitbucket.org, (opens new window) |
| npm | @atlaskit/visually-hidden, (opens new window) |
| Bundle | unpkg.com, (opens new window) |
Props
| Description | The element or elements that should be hidden. |
|---|---|
| Type | string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal |
| Description | An id may be appropriate for this component if used in conjunction with |
|---|---|
| Type | string |
| Description | An ARIA role attribute to aid screen readers. |
|---|---|
| Type | string |
| Description | A |
|---|---|
| Type | string |