[a11y] [ios] Text components do not respect accessibilityRole #34635
Labels
Needs: Triage 🔍
Platform: iOS
iOS applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
The Text component does not read out the
accessibilityRole
for some types when using VoiceOver on iOS. I noticed it specifically foralert
and there is an older issue here (#31315) that mentions the same forradiogroup
.Version
0.67.2
Output of
npx react-native info
Steps to reproduce
accessibilityRole="alert"
to a text component.the screen reader will not say "alert" like it is suppose to.
Snack, code example, screenshot, or link to a repository
Code to reproduce:
The workaround for now is to wrap it in a View
The text was updated successfully, but these errors were encountered: