We have implemented the voiceover functionality in our app for the custom alert view which contains the UITextView. This UITextView has the links and we have also added the correct LinkAttributes for the links.
in iOS 12 its working fine, using rotor (vertical swipe) to highlight the links, but its not working in iOS 13. I checked a lot in the documentation and have spent 48 hours on this to find the root cause but no success.
I was debugging my app with Accessibility Inspector and when I Ran Audit, it suggests that subviews of UITextView are not accessible, "Potentially inaccessible text: The element appears to display text that should be implemented using the accessibility API.".
Has anyone else faced this issue and have the solution for this problem.
Thanks in Advance
Sample code of the problem:
I would point out that this is an iOS 13 issue. iOS 12 works as expected. The workaround suggested with
editable = YES
and handlingtextViewShouldBeginEditing:
works for VoiceOver which fixes bug we are speaking about but the next problem is Voice Control + show numbers feature - with this workaround the numbers for links are not working properly.