---
title: A11yInfoProvider
---

import LibraryInfo from '@theme/LibraryInfo'
import { PropsTable } from '../../src/components'
import { A11yInfoProvider } from '@telus-uds/components-base'
import { A11yInfoProvider as BaseDocs } from 'docs/@telus-uds/components-base'

# A11yInfoProvider

<LibraryInfo />

```jsx
<A11yInfoProvider>{/* content requiring A11yInfo */}</A11yInfoProvider>
```

## Introduction

```jsx
import { A11yInfoProvider } from '@telus-uds/components-base'
```

[Follow the appropriate instructions](importing-components) to add this component in to your app.

## Guidance

:::info
A11yInfoProvider is automatically included in BaseProvider. **You don't need to include A11yInfoProvider in your app separately if you are already using BaseProvider**.
:::

A11yInfoProvider provides a react, cross platform API onto user device accessibility data. These data can be accessed with the `useA11yInfo` hook.

```jsx
import { useA11yInfo } from '@telus-uds/components-base'
// ...
const { screenReaderEnabled, reduceMotionEnabled } = useA11yInfo()
```

## Props

<PropsTable base={BaseDocs} />
