From d246e5a1a882b5a342a73ed601a87755c7e56ffd Mon Sep 17 00:00:00 2001 From: Carmen Krol Date: Mon, 15 May 2023 10:16:22 -0700 Subject: [PATCH] Fix wording for unselected checkbox state (#37415) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37415 Previously, when focusing on an unchecked checkbox in React Native Paper with VoiceOver, it was announcing as "not selected". iOS voiceover uses "unselected" instead ("not selected" is used on Android Talkback). Update code to use "unselected". Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D45799922 fbshipit-source-id: 30f7813ed9f1fdad817e18b28c4fcf99cb4b884f --- packages/react-native/React/Views/RCTView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/React/Views/RCTView.m b/packages/react-native/React/Views/RCTView.m index dcb19bfafc2..fc678c2577a 100644 --- a/packages/react-native/React/Views/RCTView.m +++ b/packages/react-native/React/Views/RCTView.m @@ -310,7 +310,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : unused) @"timer" : @"timer", @"toolbar" : @"tool bar", @"checked" : @"checked", - @"unchecked" : @"not checked", + @"unchecked" : @"unchecked", @"busy" : @"busy", @"expanded" : @"expanded", @"collapsed" : @"collapsed",