Skip to content

Commit 5acb721

Browse files
Ziqi Chenfacebook-github-bot
Ziqi Chen
authored andcommitted
added header and summary options for roles
Summary: Added options for summary and header on accessibilityRoles Reviewed By: PeteTheHeat Differential Revision: D8866086 fbshipit-source-id: 83bfca678d2308f809e8630b7158a2b4a740c13d
1 parent 3cfa7ae commit 5acb721

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Libraries/Components/View/ViewAccessibility.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ export type AccessibilityRole =
4848
| 'keyboardkey'
4949
| 'text'
5050
| 'adjustable'
51-
| 'imagebutton';
51+
| 'imagebutton'
52+
| 'header'
53+
| 'summary';
5254

5355
export type CurrentViewState = 'selected' | 'disabled';
5456

@@ -92,6 +94,8 @@ module.exports = {
9294
'text',
9395
'adjustable',
9496
'imagebutton',
97+
'header',
98+
'summary',
9599
],
96100
CurrentViewStates: ['selected', 'disabled'],
97101
};

0 commit comments

Comments
 (0)