category: packages
ui-a11y-content
Utility components that help provide a good experience for users who navigate the web with a screen reader or keyboard.
Installation
yarn add @instructure/ui-a11y-content
Components
The ui-a11y-content
package contains the following components:
Usage
---
example: false
---
<AccessibleContent
alt="Alternative text for a screen reader only"
>
<Text>
Presentational content goes here
</Text>
</AccessibleContent>
---
example: false
---
<PresentationContent>
<Text>
Presentational content here
</Text>
</PresentationContent>
---
example: false
---
<ScreenReaderContent>
This content is not visible.
</ScreenReaderContent>
Contribute
See the contributing guidelines for details.
License
MIT