mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-22 14:21:44 +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 (
|
||||
<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={[
|
||||
|
||||
Reference in New Issue
Block a user