Skip to content

Event not triggered when state changes while using accessibilityLiveRegion #14608

@vineethkuttan

Description

@vineethkuttan

Problem Description

So as per the code for the Switch Component
react-native-windows/packages/@react-native-windows/tester/src/js/examples-win/Switch/SwitchExample.windows.js at main · microsoft/react-native-windows

there are four toggle button .

The first button (1,1) doesn't have liveregion prop
Second one (1,2) has liveregion prop set to none
Third one (2,1) has liveregion prop set to polite
Fourth one (2,2) has liveregion prop set to assertive

But when using narrator , all the buttons are behaving in the same way

Narrator.mp4

Steps To Reproduce

Run RNTester App ,Navigate to the switch component , and open the narrator app and try

Expected Results

Narrator should narrate 3rd and 4th button when its state changes multiple times.

CLI version

15.0.0-alpha.2

Environment

System:
  OS: Windows 11 10.0.26100
  CPU: "(16) x64 AMD EPYC 7763 64-Core Processor                "
  Memory: 40.04 GB / 63.95 GB
Binaries:
  Node:
    version: 22.14.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.22
    path: C:\ProgramData\global-npm\yarn.CMD
  npm:
    version: 10.9.2
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    Versions:
      - 10.0.19041.0
      - 10.0.22621.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.13.35931.197 (Visual Studio Enterprise 2022)
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Community Modules

No response

Target Platform Version

None

Target Device(s)

No response

Visual Studio Version

None

Build Configuration

None

Snack, code example, screenshot, or link to a repository

No response

Metadata

Metadata

Assignees

Labels

Area: AccessibilityNew ArchitectureBroad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabricbug

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions