---
title: priority
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsaccessibility-swift.struct/notificationuserinfokey/priority
---

# priority

A priority level that can help an assistive app determine how to handle the corresponding notification.

## Declaration

```swift
static let priority: NSAccessibility.NotificationUserInfoKey
```

## Discussion

Discussion An example of using this key is VoiceOver which decides whether to speak an announcement immediately or after the current speech has finished. For a list of possible values, see NSAccessibilityPriorityLevel.

## See Also

### Constants

- [announcement](appkit/nsaccessibility-swift.struct/notificationuserinfokey/announcement.md)
- [uiElements](appkit/nsaccessibility-swift.struct/notificationuserinfokey/uielements.md)
- [NSAccessibilityPriorityLevel](appkit/nsaccessibilityprioritylevel.md)
