react-native-macos/React
Sharon Gong baa66f63d8 Announce accessibility state changes happening in the background (#26624)
Summary:
Currently the react native framework doesn't handle the accessibility state changes of the focused item that happen not upon double tapping. Screen reader doesn't get notified when the state of the focused item changes in the background.
To fix this problem, post a layout change notification for every state changes on iOS.
On Android, send a click event whenever state "checked", "selected" or "disabled" changes. In the case that such states changes upon user's clicking, the duplicated click event will be skipped by Talkback.

## Changelog:
[General][Fixed] - Announce accessibility state changes happening in the background
Pull Request resolved: https://github.com/facebook/react-native/pull/26624

Test Plan: Add a nested checkbox example which state changes after a delay in the AccessibilityExample.

Differential Revision: D17903205

Pulled By: cpojer

fbshipit-source-id: 9245ee0b79936cf11b408b52d45c59ba3415b9f9
2019-10-14 00:28:34 -07:00
..
Base Try to lazily load RCTRedBox 2019-10-08 07:38:17 -07:00
CoreModules Back out D17720575 -- D17724498 2019-10-10 09:41:33 -07:00
CxxBridge Add and use reloadWithReason to iOS 2019-09-30 07:03:50 -07:00
CxxModule Remove ; from method implementation definition 2019-08-21 15:49:16 -07:00
CxxUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
DevSupport Add and use reloadWithReason to iOS 2019-09-30 07:03:50 -07:00
Fabric Add support for ScrollView.onScroll animations 2019-10-11 06:55:21 -07:00
Inspector Make sure requests are sent in sequential order on iOS. 2019-09-04 05:37:29 -07:00
Modules Add support for ScrollView.onScroll animations 2019-10-11 06:55:21 -07:00
Profiler Add and use reloadWithReason to iOS 2019-09-30 07:03:50 -07:00
UIUtils Calculate Correct Window Dimensions for iOS (#19932) 2019-04-10 14:25:14 -07:00
Views Announce accessibility state changes happening in the background (#26624) 2019-10-14 00:28:34 -07:00
React-RCTFabric.podspec Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00
third-party.xcconfig Upgrade folly to v2018.10.22.00 for iOS (#21976) 2018-10-29 12:13:11 -07:00