From 49a35e5b072afb98f27488c0149c715f3849d424 Mon Sep 17 00:00:00 2001 From: fabriziobertoglio1987 Date: Mon, 25 Jul 2022 20:29:26 +0800 Subject: [PATCH 1/3] add grid accessibilityRole --- docs/view.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/view.md b/docs/view.md index 687058cb68f..7f0f8ee0b0b 100644 --- a/docs/view.md +++ b/docs/view.md @@ -199,6 +199,7 @@ See the [Android `View` docs](http://developer.android.com/reference/android/vie - `'tablist'` - Used to represent a list of tabs. - `'timer'` - Used to represent a timer. - `'toolbar'` - Used to represent a tool bar (a container of action buttons or components). +- `'grid'` - Used with ScrollView, VirtualizedList, FlatList or SectionList to represent a grid (only used with Android GridView). | Type | | ------ | From 72301381b90a8d2b41cb6da5eee2be5b455934b5 Mon Sep 17 00:00:00 2001 From: fabriziobertoglio1987 Date: Mon, 25 Jul 2022 20:30:27 +0800 Subject: [PATCH 2/3] add grid accessibilityRole to accessibility docs --- docs/accessibility.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/accessibility.md b/docs/accessibility.md index c634c57daff..9ad23374fea 100644 --- a/docs/accessibility.md +++ b/docs/accessibility.md @@ -144,6 +144,7 @@ In the above example method `addOne` changes the state variable `count`. As soon - **timer** Used to represent a timer. - **togglebutton** Used to represent a toggle button. Should be used with accessibilityState checked to indicate if the button is toggled on or off. - **toolbar** Used to represent a tool bar (a container of action buttons or components). +- **grid** Used with ScrollView, VirtualizedList, FlatList or SectionList to represent a grid (only used with Android GridView). ### `accessibilityState` From 59aada6fb9231cf655db88f1e18e3589cc0d93d7 Mon Sep 17 00:00:00 2001 From: fabriziobertoglio1987 Date: Mon, 25 Jul 2022 20:49:29 +0800 Subject: [PATCH 3/3] update grid role description --- docs/accessibility.md | 2 +- docs/view.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/accessibility.md b/docs/accessibility.md index 9ad23374fea..0751c5bda30 100644 --- a/docs/accessibility.md +++ b/docs/accessibility.md @@ -144,7 +144,7 @@ In the above example method `addOne` changes the state variable `count`. As soon - **timer** Used to represent a timer. - **togglebutton** Used to represent a toggle button. Should be used with accessibilityState checked to indicate if the button is toggled on or off. - **toolbar** Used to represent a tool bar (a container of action buttons or components). -- **grid** Used with ScrollView, VirtualizedList, FlatList or SectionList to represent a grid (only used with Android GridView). +- **grid** Used with ScrollView, VirtualizedList, FlatList, or SectionList to represent a grid. Adds the in/out of grid announcements to the android GridView. ### `accessibilityState` diff --git a/docs/view.md b/docs/view.md index 7f0f8ee0b0b..1d8462bdb0f 100644 --- a/docs/view.md +++ b/docs/view.md @@ -199,7 +199,7 @@ See the [Android `View` docs](http://developer.android.com/reference/android/vie - `'tablist'` - Used to represent a list of tabs. - `'timer'` - Used to represent a timer. - `'toolbar'` - Used to represent a tool bar (a container of action buttons or components). -- `'grid'` - Used with ScrollView, VirtualizedList, FlatList or SectionList to represent a grid (only used with Android GridView). +- `'grid'` - Used with ScrollView, VirtualizedList, FlatList, or SectionList to represent a grid. Adds the in/out of grid announcements to the android GridView. | Type | | ------ |