wix / wix/react-native-ui-lib

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

Open
#3,881 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug wontfix
Dominant language
TypeScript
Stars
7.2k
Forks
748
Avg merge
2d 18h
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Wizard.Step component, its WizardStepProps TypeScript interface, and the accessibilityLabel generation that currently reads StatesConfig[state]. Trace how the accessibilityInfo prop is passed and used; done means a per-step value can affect the screen-reader label without losing the state-based behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
accessibility, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.