Skip to content

[Wizard.Step] accessibilityInfo prop is declared but not used in accessibilityLabel #3881

@qyscott

Description

@qyscott

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buga bug in one of the components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions