From 666647e2b3632cee383d546ee30c82626eae9b47 Mon Sep 17 00:00:00 2001 From: fabriziobertoglio1987 Date: Wed, 9 Feb 2022 10:06:36 +0800 Subject: [PATCH] fix SR does not announces disabled with Text Adding the prop `accessible` to `ReactTextAnchorViewManager` fixes the problem for this component. The same solution from my previous pr https://github.com/facebook/react-native/issues/30935#issuecomment-808412263. See test case at https://github.com/fabriziobertoglio1987/react-native-notes/issues/1#issuecomment-1029645388 --- .../react/views/text/ReactTextAnchorViewManager.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextAnchorViewManager.java b/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextAnchorViewManager.java index 10e0f8cd19c10f..06cd9c5853e14e 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextAnchorViewManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextAnchorViewManager.java @@ -43,6 +43,11 @@ public abstract class ReactTextAnchorViewManager