From 6fe796f9da5b4cec9e802aaa2c1e79ae1a205aad Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Fri, 15 Sep 2017 11:02:24 -0700 Subject: [PATCH] [add] accessibilityRole 'label' to Text --- src/components/Text/TextPropTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Text/TextPropTypes.js b/src/components/Text/TextPropTypes.js index 8ee9f075..bfc70a1f 100644 --- a/src/components/Text/TextPropTypes.js +++ b/src/components/Text/TextPropTypes.js @@ -17,7 +17,7 @@ import { any, bool, func, number, oneOf } from 'prop-types'; const TextPropTypes = { ...BaseComponentPropTypes, - accessibilityRole: oneOf(['button', 'heading', 'link', 'listitem']), + accessibilityRole: oneOf(['button', 'heading', 'label', 'link', 'listitem']), children: any, numberOfLines: number, onLayout: func,