Reputation: 5450
When I programmatically move voiceover focus to a label, the hint of the label is not read out. How can I fix that? Only the accessibility label is read out.
UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, self.label)
Upvotes: 5
Views: 1158
Reputation: 5671
Use UIAccessibilityScreenChangedNotification
if you want to hear the hint of the new focused element.
The difference with your initial notification is well detailed but it doesn't explain why there's such a different behavior.
Anyway, your accessibility hint is now read out by VoiceOver when you change the focus programmatically.
Upvotes: 4