In my app, I have some controls that are subviews of a UIView
but their frames are outside the superview bounds. They are visible to sighted users because clipsToBounds
is false
. For VoiceOver users, they can highlight a control that is within its superview bounds then swipe right to highlight the next control which is outside the bounds. That works as expected. But if they instead tapped down and panned around the screen, VoiceOver never highlights the elements outside its superview bounds. How can I ensure those elements will be accessible when panning around?
I've created an example project that experiences this issue. Here there are two buttons added as subviews to a gray UIView
. Button 0 is located within the bounds of its superview, Button 1 is located outside. Button 0 is accessible when panning around, Button 1 is not.