accessibilityViewIsModal property was exposed for any view (iOS only)

Reviewed By: mmmulani

Differential Revision: D4582786

fbshipit-source-id: 0902b8cc762042e772798ea7eaa350bc9d737cfb
This commit is contained in:
Valentin Shergin
2017-02-27 23:38:35 -08:00
committed by Facebook Github Bot
parent 1b0d8ac43b
commit b00c1fa3b6
3 changed files with 21 additions and 1 deletions

View File

@@ -231,6 +231,18 @@ const View = React.createClass({
PropTypes.arrayOf(PropTypes.oneOf(AccessibilityTraits)),
]),
/**
* A value indicating whether VoiceOver should ignore the elements
* within views that are siblings of the receiver.
* Default is `false`.
*
* See the [Accessibility guide](docs/accessibility.html#accessibilitytraits-ios)
* for more information.
*
* @platform ios
*/
accessibilityViewIsModal: PropTypes.bool,
/**
* When `accessible` is true, the system will try to invoke this function
* when the user performs accessibility tap gesture.