Repository navigation
Commit 28878a2
committed
fix(iOS): apply accessibility props to the indicator in ActivityIndicator
The accessibility props of ActivityIndicator went to the host view, which
is not an accessibility element, so VoiceOver read the inner
UIActivityIndicatorView with its default label. Return the indicator from
accessibilityElement, as RCTSwitchComponentView does for UISwitch.1 parent 05a2e4c commit 28878a2
1 file changed
Lines changed: 12 additions & 0 deletions
File tree
- packages/react-native/React/Fabric/Mounting/ComponentViews/ActivityIndicator
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
94 | 106 | | |
95 | 107 | | |
96 | 108 | | |
| |||
0 commit comments