UIAccessibilityAnnouncementDidFinishNotification not sent after accessibilityLabel read
| Originator: | simon | ||
| Number: | rdar://13482740 | Date Originated: | 2013-03-22 |
| Status: | Open | Resolved: | |
| Product: | iPhone SDK | Product Version: | 6.1.3 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: The UIAccessibilityAnnouncementDidFinishNotification is not posted after an accessibility element's accessibilityLabel has been spoken. (It appears to only be posted after an announcement generated with UIAccessibilityPostNotification has been spoken.) Steps to Reproduce: 1. Subclass UIView and implement the subclass's -accessibilityLabel method. Ensure it returns a non-null string. 2. Add an instance of your view class to your UI 3. Add an observer for the UIAccessibilityAnnouncementDidFinishNotification notification. Set a breakpoint inside the notification handler. 4. Run the app with VoiceOver turned on and tap your view to give it focus. Expected Results: VoiceOver speaks the view's accessibilityLabel, then the notification handler gets called Actual Results: The notification handler doesn't get called Regression: Don't know, this is the first time I've used UIAccessibilityAnnouncementDidFinishNotification Notes: This might be intended behaviour, but the documentation for UIAccessibilityAnnouncementDidFinishNotification imply it fires after any VoiceOver announcement has ended. e.g. "if you listen for the notification UIAccessibilityAnnouncementDidFinishNotification, you can trigger a method to follow up the completion of VoiceOver’s speech", from http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/Accessibility/AccessibilityfromtheViewControllersPerspective.html
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!