Add screenReaderFocusable prop (#50850)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50850

This prop will be used to enable screen reader focusability without allowing keyboard focus. Mostly a quality of life prop for product engineers and maps 1:1 to Android

Changelog: [Android][Added] - Expose Android's screenReaderFocusable prop

Reviewed By: javache

Differential Revision: D73382051

fbshipit-source-id: 8171b9d24a735dd42d54abe4537fb487bdd011b7
This commit is contained in:
Jorge Cabiedes Acosta authored and Facebook GitHub Bot committed 2025-04-28 12:11:04 -07:00
1 parent 99c3aa3861
commit 4ce093154d
11 files changed
+43 -1

No files matched your search

@@ -3517,6 +3517,7 @@ public abstract class com/facebook/react/uimanager/BaseViewManager : com/faceboo
public fun setRotation (Landroid/view/View;F)V
public fun setScaleX (Landroid/view/View;F)V
public fun setScaleY (Landroid/view/View;F)V
public fun setScreenReaderFocusable (Landroid/view/View;Z)V
public fun setShadowColor (Landroid/view/View;I)V
public fun setShouldBlockNativeResponder (Landroid/view/View;Z)V
public fun setStartShouldSetResponder (Landroid/view/View;Z)V
@@ -4890,6 +4891,7 @@ public final class com/facebook/react/uimanager/ViewProps {
public static final field ROW_GAP Ljava/lang/String;
public static final field SCALE_X Ljava/lang/String;
public static final field SCALE_Y Ljava/lang/String;
public static final field SCREEN_READER_FOCUSABLE Ljava/lang/String;
public static final field SCROLL Ljava/lang/String;
public static final field SHADOW_COLOR Ljava/lang/String;
public static final field START Ljava/lang/String;