---
title: announcementRequested
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsaccessibility-swift.struct/notification/announcementrequested
---

# announcementRequested

This notification posts when an app needs to make an announcement to the user. If VoiceOver is enabled, it’s presented via speech and/or braille. Otherwise, it does nothing.

## Declaration

```swift
static let announcementRequested: NSAccessibility.Notification
```

## Discussion

Discussion This notification requires a userInfo dictionary with the key announcement and a localized string containing the announcement. To help an assistive app determine the importance of the announcement, add the appropriate priority to the userInfo dictionary. If you need more control over how your announcements are pronounced, such as including punctuation or setting the spoken language, you can use NSAttributedString. For a list of available string attributes, see NSAttributedString.Key.

## See Also

### Notification names

- [applicationActivated](appkit/nsaccessibility-swift.struct/notification/applicationactivated.md)
- [applicationDeactivated](appkit/nsaccessibility-swift.struct/notification/applicationdeactivated.md)
- [applicationHidden](appkit/nsaccessibility-swift.struct/notification/applicationhidden.md)
- [applicationShown](appkit/nsaccessibility-swift.struct/notification/applicationshown.md)
- [created](appkit/nsaccessibility-swift.struct/notification/created.md)
- [drawerCreated](appkit/nsaccessibility-swift.struct/notification/drawercreated.md)
- [focusedUIElementChanged](appkit/nsaccessibility-swift.struct/notification/focuseduielementchanged.md)
- [focusedWindowChanged](appkit/nsaccessibility-swift.struct/notification/focusedwindowchanged.md)
- [helpTagCreated](appkit/nsaccessibility-swift.struct/notification/helptagcreated.md)
- [layoutChanged](appkit/nsaccessibility-swift.struct/notification/layoutchanged.md)
- [mainWindowChanged](appkit/nsaccessibility-swift.struct/notification/mainwindowchanged.md)
- [moved](appkit/nsaccessibility-swift.struct/notification/moved.md)
- [resized](appkit/nsaccessibility-swift.struct/notification/resized.md)
- [rowCollapsed](appkit/nsaccessibility-swift.struct/notification/rowcollapsed.md)
- [rowCountChanged](appkit/nsaccessibility-swift.struct/notification/rowcountchanged.md)
