<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSAccessibility-swift.struct/Notification",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@T@NSAccessibilityNotificationName"
  },
  "title" : "NSAccessibility.Notification"
}
-->

# NSAccessibility.Notification

The name of the notification.

```
struct Notification
```

## Topics

### Notification names

[`announcementRequested`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/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.

[`applicationActivated`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/applicationActivated)

This notification is posted after the app has been activated. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`applicationDeactivated`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/applicationDeactivated)

This notification is posted after the app has been deactivated.  Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`applicationHidden`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/applicationHidden)

This notification is posted after the app is hidden. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`applicationShown`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/applicationShown)

This notification is posted after the app is shown. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`created`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/created)

This notification is posted after an accessibility element is created. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`drawerCreated`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/drawerCreated)

This notification is posted after a drawer appears. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`focusedUIElementChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/focusedUIElementChanged)

This notification is posted after an accessibility element gains focus. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`focusedWindowChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/focusedWindowChanged)

This notification is posted after the key window changes. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`helpTagCreated`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/helpTagCreated)

This notification is posted after a help tag appears. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`layoutChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/layoutChanged)

This notification is posted after the UI changes in a way that requires the attention of an accessibility client. This notification should be accompanied by a `userInfo` dictionary with the key [`uiElements`](/documentation/AppKit/NSAccessibility-swift.struct/NotificationUserInfoKey/uiElements) and an array containing the UI elements that have been added or changed. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`mainWindowChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/mainWindowChanged)

This notification is posted after the main window changes. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`moved`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/moved)

This notification is posted after an accessibility element moves. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`resized`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/resized)

This notification is posted after an accessibility element’s size changes. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`rowCollapsed`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/rowCollapsed)

This notification is posted after a row collapses. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`rowCountChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/rowCountChanged)

This notification is posted after a row is added or deleted. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`rowExpanded`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/rowExpanded)

This notification is posted after a row expands. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`selectedCellsChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/selectedCellsChanged)

This notification is posted after one or more cells in a cell-based table are selected or deselected. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`selectedChildrenChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/selectedChildrenChanged)

This notification is posted after one or more child elements are selected or deselected. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`selectedChildrenMoved`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/selectedChildrenMoved)

This notification is posted after the selected items in a layout area move. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`selectedColumnsChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/selectedColumnsChanged)

This notification is posted after one or more columns are selected or deselected. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`selectedRowsChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/selectedRowsChanged)

This notification is posted after one or more rows are selected or deselected. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`selectedTextChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/selectedTextChanged)

This notification is posted after text is selected or deselected.  Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`sheetCreated`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/sheetCreated)

This notification is posted after a sheet appears.  Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`titleChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/titleChanged)

This notification is posted after an accessibility element’s title changes. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`uiElementDestroyed`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/uiElementDestroyed)

This notification is posted after an accessibility element is destroyed. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`unitsChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/unitsChanged)

This notification is posted after the units in a layout area change. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`valueChanged`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/valueChanged)

This notification is posted after an accessibility element’s value changes. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`windowCreated`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/windowCreated)

This notification is posted after a new window appears. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`windowDeminiaturized`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/windowDeminiaturized)

This notification is posted after a window is restored to full size from the Dock.  Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`windowMiniaturized`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/windowMiniaturized)

This notification is posted after a window is put in the Dock. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`windowMoved`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/windowMoved)

This notification is posted after a window moves.  Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

[`windowResized`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/windowResized)

This notification is posted after a window’s size changes. Post this notification using the [`post(element:notification:)`](/documentation/AppKit/NSAccessibility-swift.struct/post(element:notification:)) function instead of an `NSNotificationCenter` instance.

### Accessibility notification names

[`NSAccessibilityAutocorrectionOccurred`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/NSAccessibilityAutocorrectionOccurred)

[`NSAccessibilityDraggingDestinationDragAccepted`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/NSAccessibilityDraggingDestinationDragAccepted)

[`NSAccessibilityDraggingDestinationDragNotAccepted`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/NSAccessibilityDraggingDestinationDragNotAccepted)

[`NSAccessibilityDraggingDestinationDropAllowed`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/NSAccessibilityDraggingDestinationDropAllowed)

[`NSAccessibilityDraggingDestinationDropNotAllowed`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/NSAccessibilityDraggingDestinationDropNotAllowed)

[`NSAccessibilityDraggingSourceDragBegan`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/NSAccessibilityDraggingSourceDragBegan)

[`NSAccessibilityDraggingSourceDragEnded`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/NSAccessibilityDraggingSourceDragEnded)

[`NSAccessibilityTextInputMarkingSessionBegan`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/NSAccessibilityTextInputMarkingSessionBegan)

[`NSAccessibilityTextInputMarkingSessionEnded`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/NSAccessibilityTextInputMarkingSessionEnded)

### Initializers

[`init(rawValue:)`](/documentation/AppKit/NSAccessibility-swift.struct/Notification/init(rawValue:))

Creates a new instance with the specified raw value.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)