react-native/Libraries/Components/View
Adam Putinski 31288161e1 Add accessibilityElementsHidden prop
Summary:
Allow iOS to have similar accessibility functionality to Android. This PR exposes the `accessibilityElementsHidden` property on iOS which is similar to Android's `importantForAccessibility="no-hide-descendants"`

I didn't see any existing examples for testing native props being passed through, but I did add an example to the RNTester app. I've attached some screenshots using the Accessibility Inspector to verify the property was correctly passed through.

![a](https://user-images.githubusercontent.com/603528/34998153-50e66776-faac-11e7-826d-1445a6813929.png)
![b](https://user-images.githubusercontent.com/603528/34998158-535a7420-faac-11e7-80d4-992fb7cd82dd.png)

I've updated the website with appropriate documentation.

https://github.com/facebook/react-native-website/pull/141

![screen shot 2018-01-16 at 10 23 50](https://user-images.githubusercontent.com/603528/34998202-6f2f39a6-faac-11e7-8651-0cfe8e037a30.png)
![screen shot 2018-01-16 at 10 23 59](https://user-images.githubusercontent.com/603528/34998205-711d6f94-faac-11e7-974d-54340c72fce4.png)

[IOS] [FEATURE] [View] - Added accessibilityElementsHidden property
Closes https://github.com/facebook/react-native/pull/17627

Differential Revision: D6806444

Pulled By: hramos

fbshipit-source-id: 50d31fdb92f4c59ae9355b019c422418b2e6cc24
2018-01-29 14:44:11 -08:00
..
PlatformViewPropTypes.android.js Adds hook for platform-specific View props 2017-07-24 12:26:58 -07:00
PlatformViewPropTypes.ios.js Adds hook for platform-specific View props 2017-07-24 12:26:58 -07:00
ReactNativeStyleAttributes.js iOS: Implement border(Top|Bottom)(Start|End)Radius and border(Start|End)(Color|Width) RN styles 2017-10-18 19:33:31 -07:00
ReactNativeViewAttributes.js Adding support for custom accessibility actions on iOS. 2017-12-04 23:31:50 -08:00
ShadowPropTypesIOS.js Improve view props and style stuff. 2017-06-01 01:15:42 -07:00
View.js Generalization of `isInAParentText` context 2018-01-14 20:03:32 -08:00
View.js.flow Added Flow types for React Native host components 2017-09-15 16:22:04 -07:00
ViewAccessibility.js RN: Export Accessibility Prop Types 2017-02-02 23:28:31 -08:00
ViewContext.js Generalization of `isInAParentText` context 2018-01-14 20:03:32 -08:00
ViewPropTypes.js Add accessibilityElementsHidden prop 2018-01-29 14:44:11 -08:00
ViewStylePropTypes.js iOS: Implement border(Top|Bottom)(Start|End)Radius and border(Start|End)(Color|Width) RN styles 2017-10-18 19:33:31 -07:00