---
title: "post(element:notification:)"
framework: appkit
role: symbol
role_heading: Type Method
path: "appkit/nsaccessibility-swift.struct/post(element:notification:)"
---

# post(element:notification:)

Sends a notification to any observing assistive apps.

## Declaration

```swift
static func post(element: Any, notification: NSAccessibility.Notification)
```

## Discussion

Discussion Sends notification to any assistive applications that register to receive the notification from the user interface object element in your app. Accessibility notifications require special handling, so they can’t post using NotificationCenter.

## See Also

### Posting Notifications

- [post(element:notification:userInfo:)](appkit/nsaccessibility-swift.struct/post(element:notification:userinfo:).md)
