• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSAccessibilityAnnouncementRequestedNotification does not seem to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSAccessibilityAnnouncementRequestedNotification does not seem to work


  • Subject: NSAccessibilityAnnouncementRequestedNotification does not seem to work
  • From: Henri Normak <email@hidden>
  • Date: Wed, 24 Jul 2013 10:29:25 +0300

Hello everyone,

I've been trying to take advantage of the new NSAccessibilityAnnouncementRequestedNotification introduced with 10.9, the goal is to post an announcement about an event that is out of scope for VO users (i.e happens without VO getting feedback in another part of the application).

However, it seems like the announcement is never actually delivered. If I am understanding the documentation correctly, then the following code should deliver an announcement saying "Test" to the VO user.

NSDictionary *announcementInfo = @{NSAccessibilityAnnouncementKey : @"Test",
                                                              NSAccessibilityPriorityKey : @(NSAccessibilityPriorityHigh)};
NSAccessibilityPostNotificationWithUserInfo(NSApp, NSAccessibilityAnnouncementRequestedNotification, announcementInfo);

I've tried various priority levels, including not giving a priority at all. What am I missing? Have I misunderstood the element of the notification being NSApp? I've tried running this code on all of the developer previews, without any success.

Thanks,
Henri

--
Henri Normak
@henrinormak
email@hidden
 _______________________________________________
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

  • Follow-Ups:
    • Re: NSAccessibilityAnnouncementRequestedNotification does not seem to work
      • From: Josh Scotland <email@hidden>
  • Prev by Date: List of localized VoiceOver strings
  • Next by Date: Problem when too many elements in UIAccessibilityContainer
  • Previous by thread: List of localized VoiceOver strings
  • Next by thread: Re: NSAccessibilityAnnouncementRequestedNotification does not seem to work
  • Index(es):
    • Date
    • Thread