diff --git a/packages/react-native/ReactCommon/react/renderer/components/view/AccessibilityProps.cpp b/packages/react-native/ReactCommon/react/renderer/components/view/AccessibilityProps.cpp index 495b2aa1861..4b0294108a7 100644 --- a/packages/react-native/ReactCommon/react/renderer/components/view/AccessibilityProps.cpp +++ b/packages/react-native/ReactCommon/react/renderer/components/view/AccessibilityProps.cpp @@ -162,7 +162,7 @@ AccessibilityProps::AccessibilityProps( rawProps, "accessibilityRespondsToUserInteraction", sourceProps.accessibilityRespondsToUserInteraction, - {})), + true)), onAccessibilityTap( ReactNativeFeatureFlags::enableCppPropsIteratorSetter() ? sourceProps.onAccessibilityTap diff --git a/packages/react-native/ReactCommon/react/renderer/components/view/AccessibilityProps.h b/packages/react-native/ReactCommon/react/renderer/components/view/AccessibilityProps.h index f6686eb76c8..7c798c1cf3e 100644 --- a/packages/react-native/ReactCommon/react/renderer/components/view/AccessibilityProps.h +++ b/packages/react-native/ReactCommon/react/renderer/components/view/AccessibilityProps.h @@ -49,7 +49,10 @@ class AccessibilityProps { bool accessibilityViewIsModal{false}; bool accessibilityElementsHidden{false}; bool accessibilityIgnoresInvertColors{false}; - bool accessibilityRespondsToUserInteraction{}; + // This prop is enabled by default on iOS, we need to match this on + // C++ because if not, it will default to false before render which prevents + // the view from being updated with the correct value. + bool accessibilityRespondsToUserInteraction{true}; bool onAccessibilityTap{}; bool onAccessibilityMagicTap{}; bool onAccessibilityEscape{};