Skip to content

Commit

Permalink
added header and summary options for roles
Browse files Browse the repository at this point in the history
Summary: Added options for summary and header on accessibilityRoles

Reviewed By: PeteTheHeat

Differential Revision: D8866086

fbshipit-source-id: 83bfca678d2308f809e8630b7158a2b4a740c13d
  • Loading branch information
Ziqi Chen authored and facebook-github-bot committed Jul 17, 2018
1 parent 3cfa7ae commit 5acb721
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Libraries/Components/View/ViewAccessibility.js
Expand Up @@ -48,7 +48,9 @@ export type AccessibilityRole =
| 'keyboardkey'
| 'text'
| 'adjustable'
| 'imagebutton';
| 'imagebutton'
| 'header'
| 'summary';

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

Expand Down Expand Up @@ -92,6 +94,8 @@ module.exports = {
'text',
'adjustable',
'imagebutton',
'header',
'summary',
],
CurrentViewStates: ['selected', 'disabled'],
};

0 comments on commit 5acb721

Please sign in to comment.