NativeBase
NativeBase copied to clipboard
"Toast" is not announced by Voiceover or Talkback
Description
I expect the contents of the alert to be read by the screenreader when it appears on screen.
CodeSandbox/Snack link
https://snack.expo.dev/@simonflk/nativebase-alert-example
Steps to reproduce
- Enable Voiceover on iOS or Talkback on Android device
- Open snack link
- Press any button to trigger a toast
- Wait for screenreader to read contents of toast
NativeBase Version
3.4.3
Platform
- [X] Android
- [ ] CRA
- [ ] Expo
- [X] iOS
- [ ] Next
Other Platform
No response
Additional Information
iOS 15.4.1 Android 12 (Pixel 5, April 2022 update)
Docs says:
- On Android and Web, Toast renders under a View with accessibilityLiveRegion which announces the content rendered inside it to screen reader devices.
- On iOS, accessibilityLiveRegion is not supported yet, so we use the accessibilityAnnouncement to announce the content.
But this is not happening for me
Hi @simonflk, Thanks for reporting the issue. We will look into it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.