[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 (
<View {...other} style={[
styles.container,
style,
size && { height: size, width: size }
]}>
<View {...other}
accessibilityRole='progressbar'
aria-valuemax='1'
aria-valuemin='0'
style={[
styles.container,
style,
size && { height: size, width: size }
]}
>
<Animated.View
children={svg}
style={[