Overview of NativeBase Accessibility Features
NativeBase implements accessibility standards out of the box to ensure components are usable by everyone. Key features include:
- Accessible Roles: Uses
React Native ARIAto implement WAI-ARIA standards, providing semantic meaning to controls not natively provided by the platform. - Accessible Labels: Supports
accessibilityLabelto provide descriptive text for screen readers (voice-over), which is handled automatically viaReact Native ARIAin many cases. - Keyboard Navigation: Provides basic keyboard support for complex components (e.g., Tabs, Dialog) following WAI-ARIA authoring practices.
- Focus Management: Programmatically manages focus during user interactions to guide screen readers and keyboard users. For example, when a
Modalopens, focus is moved to the first focusable element and trapped within the modal.