Skip to content

Conversation

@Abbondanzo
Copy link
Contributor

Summary:
The AccessibilityInfo.setAccessibilityFocus API is unsupported in the new architecture and a perfectly valid alternative exists that is supported: AccessibilityInfo.sendAccessibilityEvent. This change marks the prior as deprecated with a code comment pointing to the new API and adds a missing type to the AccessibilityEventTypes type signature for windowStateChange

[General][Deprecated] - Deprecated AccessibilityInfo.setAccessibilityFocus in favor of AccessibilityInfo.sendAccessibilityEvent

Differential Revision: D89729103

Summary:
The `AccessibilityInfo.setAccessibilityFocus` API is unsupported in the new architecture and a perfectly valid alternative exists that *is* supported: `AccessibilityInfo.sendAccessibilityEvent`. This change marks the prior as deprecated with a code comment pointing to the new API and adds a missing type to the `AccessibilityEventTypes` type signature for `windowStateChange`

[General][Deprecated] - Deprecated `AccessibilityInfo.setAccessibilityFocus` in favor of `AccessibilityInfo.sendAccessibilityEvent`

Differential Revision: D89729103
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 23, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 23, 2025

@Abbondanzo has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89729103.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants