File tree Expand file tree Collapse file tree
Libraries/Components/View Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,6 +188,7 @@ export interface AccessibilityValue {
188188export type AccessibilityRole =
189189 | 'none'
190190 | 'button'
191+ | 'dropdownlist'
191192 | 'togglebutton'
192193 | 'link'
193194 | 'search'
@@ -215,7 +216,16 @@ export type AccessibilityRole =
215216 | 'tablist'
216217 | 'timer'
217218 | 'list'
218- | 'toolbar' ;
219+ | 'toolbar'
220+ | 'grid'
221+ | 'pager'
222+ | 'scrollview'
223+ | 'horizontalscrollview'
224+ | 'viewgroup'
225+ | 'webview'
226+ | 'drawerlayout'
227+ | 'slidingdrawer'
228+ | 'iconmenu' ;
219229
220230export interface AccessibilityPropsAndroid {
221231 /**
Original file line number Diff line number Diff line change @@ -543,6 +543,8 @@ export class TouchableOpacityTest extends React.Component {
543543 accessibilityLabelledBy = "my-label-text"
544544 aria-labelledby = "my-label-text"
545545 />
546+ < TouchableOpacity accessibilityRole = "grid" />
547+ < TouchableOpacity accessibilityRole = "pager" />
546548 < TouchableOpacity
547549 // @ts -expect-error - expected boolean value
548550 focusable = { 1 }
You can’t perform that action at this time.
0 commit comments