Re: NSAccessibilityAnnouncementRequestedNotification does not seem to work
Re: NSAccessibilityAnnouncementRequestedNotification does not seem to work
- Subject: Re: NSAccessibilityAnnouncementRequestedNotification does not seem to work
- From: Josh Scotland <email@hidden>
- Date: Thu, 25 Jul 2013 00:10:02 -0700
Hey Henri,
Thanks for the tip, sending to [NSApp mainWindow] seems to work. As it's not about an element being destroyed the second suggestion wasn't really applicable in this case.
Correct, the second suggestion is only applicable for posting notifications from custom UI elements. NSApp wouldn't need to use the new API for notifications.
I think the documentation in this case was slightly misleading. Mainly for this comment in NSAccessibility.h - "...This notification should be posted for the application element." it's next to NSAccessibilityAnnouncementRequestedNotification - this made me believe that I need to send the notification to NSApp. I've filed a radar for clarifying that documentation part. ( rdar://14543376)
Great! Thanks for filing a radar.
Josh |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden