The Wizard.Step component declares an accessibilityInfo?: string prop in its TypeScript interface (WizardStepProps), suggesting that developers can provide custom accessibility text for screen readers.
However, this prop is never actually used when generating the accessibilityLabel. Instead, the component only reads accessibilityInfo from a global StatesConfig[state] object (e.g., StatesConfig.enabled.accessibilityInfo), making it impossible to customize accessibility text per step.
This leads to:
- Misleading documentation/type definitions
- Inability to provide meaningful, step-specific screen reader announcements
- Poor accessibility compliance (WCAG)
platform:Android
react-native : 0.77.1
react-native-ui-lib : 7.43.0