react-native-macos/RNTester/js
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
..
assets - Update folder structure of RNTester's JS directory. (#25013) 2019-05-28 08:39:18 -07:00
components Lists: Fix invalid prop usage in RNTesterExampleList 2019-10-11 09:49:27 -07:00
examples Announce accessibility state changes happening in the background (#26624) 2019-10-14 00:28:34 -07:00
types Fix warning in FlatListExample 2019-07-15 13:31:48 -07:00
utils Export the DevSettings module, add `addMenuItem` method (#25848) 2019-09-17 06:38:10 -07:00
RNTesterApp.android.js Upgrade to Flow v0.108.0 2019-09-20 13:37:25 -07:00
RNTesterApp.ios.js useColorScheme hook (#26143) 2019-08-31 11:22:43 -07:00