From b276b736f84ecd97b8fc08116f9ed97351a78338 Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Dall'Agnol Date: Thu, 20 Jan 2022 08:36:47 -0800 Subject: [PATCH] fix: Screen reader event name on RNTester AccessibilityExample (#32926) Summary: Fix an issue in the AccessibilityExample on RNTester where the `Screen Reader` item would listen for the `reduceMotionChanged` event instead of the `screenReaderChanged` event ## Changelog [General] [Fixed] - Fix screen reader event name on RNTester AccessibilityExample Pull Request resolved: https://github.com/facebook/react-native/pull/32926 Test Plan: 1. Build iOS app 2. Navigate to the Accessibility page 3. Switch over to settings and change VoiceOver at `Settings>Accessibility>VoiceOver>VoiceOver` 4. Switch back to the app and see the results https://user-images.githubusercontent.com/11707729/150266745-6a9eb547-00a7-4b94-bf19-b8d6e6f76122.mp4 Reviewed By: kacieb Differential Revision: D33681780 Pulled By: cortinico fbshipit-source-id: fbd4f3d9ef63997f2b4a40afc8a5adfe6172e525 --- .../rn-tester/js/examples/Accessibility/AccessibilityExample.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rn-tester/js/examples/Accessibility/AccessibilityExample.js b/packages/rn-tester/js/examples/Accessibility/AccessibilityExample.js index 5c2c5d995ed..1cabf06e9f1 100644 --- a/packages/rn-tester/js/examples/Accessibility/AccessibilityExample.js +++ b/packages/rn-tester/js/examples/Accessibility/AccessibilityExample.js @@ -1130,7 +1130,7 @@ class DisplayOptionsStatusExample extends React.Component<{}> { {isAndroid ? null : ( <>