Post

Replies

Boosts

Views

Activity

`accessibilityElementDidBecomeFocused` only gets called with VoiceOver enabled on iPhone
Background I have a UICollectionViewCell, where I override accessibilityElementDidBecomeFocused method. I also override canBecomeFocused to always return true. The App allows Accessibility->Full Keyboard Access (allowing the user to use the app with just Keyboard). isAccessibilityElement is also set to true for the collectionviewCell Problem I have two scenarios When both Keyboard access and VoiceOver are enabled In this case accessibilityElementDidBecomeFocused gets called as expected. When both Keyboard access is enabled but VoiceOver is disabled In this case accessibilityElementDidBecomeFocused isn't getting called. Is this the expected behaviour? If yes, then is there a callback available when a view element gets focused via Keyboard with VoiceOver disabled?
2
1
621
Jan ’24