[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
+10 -5
View File
@@ -81,11 +81,16 @@ class ActivityIndicator extends Component {
); );
return ( return (
<View {...other} style={[ <View {...other}
styles.container, accessibilityRole='progressbar'
style, aria-valuemax='1'
size && { height: size, width: size } aria-valuemin='0'
]}> style={[
styles.container,
style,
size && { height: size, width: size }
]}
>
<Animated.View <Animated.View
children={svg} children={svg}
style={[ style={[