diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 7ab8be7b1d..20007e80c8 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -1797,6 +1797,13 @@ export interface AccessibilityPropsAndroid { } export interface AccessibilityPropsIOS { + /** + * A Boolean value indicating whether the accessibility elements contained within this accessibility element + * are hidden to the screen reader. + * @platform ios + */ + accessibilityElementsHidden?: boolean; + /** * Accessibility traits tell a person using VoiceOver what kind of element they have selected. * Is this element a label? A button? A header? These questions are answered by accessibilityTraits. diff --git a/types/react-native/test/index.tsx b/types/react-native/test/index.tsx index b744911ed9..344ff02fae 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -598,3 +598,13 @@ class StylePropsTest extends React.PureComponent { } const listViewDataSourceTest = new ListView.DataSource({rowHasChanged: () => true}) + +class AccessibilityViewHidingTest extends React.Component { + render() { + return ( + + + + ); + } +}