From 77605cb27ccc448ce2317159d39983880152d12b Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 20 Nov 2016 13:56:47 -0800 Subject: [PATCH] [add] Text accessibility roles Fix #199 --- src/components/Text/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Text/index.js b/src/components/Text/index.js index bdfe1d63..44e48552 100644 --- a/src/components/Text/index.js +++ b/src/components/Text/index.js @@ -12,7 +12,7 @@ class Text extends Component { static propTypes = { ...BaseComponentPropTypes, - accessibilityRole: PropTypes.oneOf([ 'heading', 'link' ]), + accessibilityRole: PropTypes.oneOf([ 'button', 'heading', 'link', 'listitem' ]), children: PropTypes.any, numberOfLines: PropTypes.number, onLayout: PropTypes.func,