mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-29 09:02:03 +00:00
[fix] ActivtyIndicator accessibility props
Markup the 'ActivityIndicator' as an indeterminate ARIA 'progressbar'
This commit is contained in:
@@ -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={[
|
||||||
|
|||||||
Reference in New Issue
Block a user