From bea4ec3e49e914bbdb1a3da0a195877732c7fc7c Mon Sep 17 00:00:00 2001 From: bacarybruno Date: Sun, 22 Sep 2024 17:52:10 +0200 Subject: [PATCH] docs(accessibility): document large content viewer support on iOS --- docs/accessibility.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/accessibility.md b/docs/accessibility.md index ed452b25cc6..e13c2bdf4d3 100644 --- a/docs/accessibility.md +++ b/docs/accessibility.md @@ -163,6 +163,26 @@ In the above example method `addOne` changes the state variable `count`. When th - **toolbar** Used to represent a toolbar (a container of action buttons or components). - **grid** Used with ScrollView, VirtualizedList, FlatList, or SectionList to represent a grid. Adds the in/out of grid announcements to Android's GridView. +### `accessibilityShowsLargeContentViewer`
iOS
+ +A boolean value that determines whether the large content viewer is shown when the user performs a long press on the element. + +Available in iOS 13.0 and later. + +### `accessibilityLargeContentTitle`
iOS
+ +A string that will be used as the title of the large content viewer when it is shown. + +Requires `accessibilityShowsLargeContentViewer` to be set to `true`. + +```tsx + + Home + +``` + ### `accessibilityState` Describes the current state of a component to the assistive technology user.