Skip to content

Fabric: Change in a JS view's accessibilityValue prop does not fire the appropriate UIA update event #12361

@jonthysell

Description

@jonthysell

Problem Description

In PR #12287, support for the accessbilityValue prop was added. However it seems like only the TextInput actually files an event (when the text changes). However other custom views which set (and change) that property won't fire an event to notify UIA.

I.e. ComponentBaseComponentView should have something like this in updateAccessibilityProps:

winrt::Microsoft::ReactNative::implementation::UpdateUiaProperty(
      m_uiaProvider, UIA_ValueValuePropertyId, oldViewProps.accessibilityValue.text, newViewProps.accessibilityValue.text);

Steps To Reproduce

Code analysis

Expected Results

No response

CLI version

npx react-native -v

Environment

npx react-native info

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: AccessibilityArea: FabricSupport Facebook FabricNew ArchitectureBroad category for issues that apply to the RN "new" architecture of Turbo Modules + FabricPR Follow-upIssue created in response to PR Feedback (labeled so we can gather telemetry on follow-up)Workstream: AccessibilityEnsure RNW Fabric apps are properly accessible.bug

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions