[fix] ActivtyIndicator accessibility props

Markup the 'ActivityIndicator' as an indeterminate ARIA 'progressbar'
This commit is contained in:
Nicolas Gallagher
2016-09-06 12:41:07 -07:00
parent e1080d72d7
commit 3dd94880e0
+7 -2
View File
@@ -81,11 +81,16 @@ class ActivityIndicator extends Component {
); );
return ( return (
<View {...other} style={[ <View {...other}
accessibilityRole='progressbar'
aria-valuemax='1'
aria-valuemin='0'
style={[
styles.container, styles.container,
style, style,
size && { height: size, width: size } size && { height: size, width: size }
]}> ]}
>
<Animated.View <Animated.View
children={svg} children={svg}
style={[ style={[