diff --git a/Libraries/Components/View/ViewAccessibility.d.ts b/Libraries/Components/View/ViewAccessibility.d.ts index 5fad1607d973cb..c68c758410c889 100644 --- a/Libraries/Components/View/ViewAccessibility.d.ts +++ b/Libraries/Components/View/ViewAccessibility.d.ts @@ -330,6 +330,7 @@ export type Role = | 'navigation' | 'none' | 'note' + | 'option' | 'presentation' | 'progressbar' | 'radio' diff --git a/Libraries/Components/View/ViewAccessibility.js b/Libraries/Components/View/ViewAccessibility.js index 729e5e0a32e5b8..c62be022b046e7 100644 --- a/Libraries/Components/View/ViewAccessibility.js +++ b/Libraries/Components/View/ViewAccessibility.js @@ -85,6 +85,7 @@ export type Role = | 'navigation' | 'none' | 'note' + | 'option' | 'presentation' | 'progressbar' | 'radio' diff --git a/Libraries/Utilities/AcessibilityMapping.js b/Libraries/Utilities/AcessibilityMapping.js index 8db68118821dd8..911f3381089fe9 100644 --- a/Libraries/Utilities/AcessibilityMapping.js +++ b/Libraries/Utilities/AcessibilityMapping.js @@ -92,6 +92,8 @@ export function getAccessibilityRoleFromRole(role: Role): ?AccessibilityRole { return 'none'; case 'note': return undefined; + case 'option': + return undefined; case 'presentation': return 'none'; case 'progressbar':