Skip to content

Commit 9422060

Browse files
authored
adding accessibilityRole 'grid' to documentation (facebook#3224)
1 parent 0de9633 commit 9422060

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/accessibility.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ In the above example method `addOne` changes the state variable `count`. As soon
161161
- **timer** Used to represent a timer.
162162
- **togglebutton** Used to represent a toggle button. Should be used with accessibilityState checked to indicate if the button is toggled on or off.
163163
- **toolbar** Used to represent a tool bar (a container of action buttons or components).
164+
- **grid** Used with ScrollView, VirtualizedList, FlatList, or SectionList to represent a grid. Adds the in/out of grid announcements to the android GridView.
164165

165166
### `accessibilityState`
166167

docs/view.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ See the [Android `View` docs](http://developer.android.com/reference/android/vie
199199
- `'tablist'` - Used to represent a list of tabs.
200200
- `'timer'` - Used to represent a timer.
201201
- `'toolbar'` - Used to represent a tool bar (a container of action buttons or components).
202+
- `'grid'` - Used with ScrollView, VirtualizedList, FlatList, or SectionList to represent a grid. Adds the in/out of grid announcements to the android GridView.
202203

203204
| Type |
204205
| ------ |

0 commit comments

Comments
 (0)