UIAccessibilityContainer component for ReactNative
npm install react-native-a11y-containerReactNative UIAccessibilityContainer Component.
The VoiceOver rotor offers enhanced navigation options. To define containers for the rotor, use the react-native-a11y-container and A11yContainerView components.
⚡️ New architecture compatible!
``sh`
npm install react-native-a11y-container
cd ios && pod install && cd ..`
orsh`
yarn add react-native-a11y-container
cd ios && pod install && cd ..
`js
import { A11yContainerView } from "react-native-a11y-container";
// ...
//or
`
To specify the type of content within A11yContainerView, use the type attribute with the following values:
- None corresponds to UIAccessibilityContainerTypeNoneDataTable
- corresponds to UIAccessibilityContainerTypeDataTable Note: Avoid using DataTable unless you implement the UIAccessibilityContainerDataTable protocol as required.List
- corresponds to UIAccessibilityContainerTypeListLandmark
- corresponds to UIAccessibilityContainerTypeLandmarkSemanticGroup
- corresponds to UIAccessibilityContainerTypeSemanticGroup`
By default, A11yContainerView uses the SemanticGroup type. For more details on these types, refer to the developer.apple.com documentation.
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
---
Made with create-react-native-library