<!--
{
  "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

[`static let announcementRequested: NSAccessibility.Notification`](/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.

[`static let applicationActivated: NSAccessibility.Notification`](/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.

[`static let applicationDeactivated: NSAccessibility.Notification`](/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.

[`static let applicationHidden: NSAccessibility.Notification`](/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.

[`static let applicationShown: NSAccessibility.Notification`](/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.

[`static let created: NSAccessibility.Notification`](/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.

[`static let drawerCreated: NSAccessibility.Notification`](/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.

[`static let focusedUIElementChanged: NSAccessibility.Notification`](/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.

[`static let focusedWindowChanged: NSAccessibility.Notification`](/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.

[`static let helpTagCreated: NSAccessibility.Notification`](/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.

[`static let layoutChanged: NSAccessibility.Notification`](/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.

[`static let mainWindowChanged: NSAccessibility.Notification`](/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.

[`static let moved: NSAccessibility.Notification`](/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.

[`static let resized: NSAccessibility.Notification`](/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.

[`static let rowCollapsed: NSAccessibility.Notification`](/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.

[`static let rowCountChanged: NSAccessibility.Notification`](/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.

[`static let rowExpanded: NSAccessibility.Notification`](/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.

[`static let selectedCellsChanged: NSAccessibility.Notification`](/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.

[`static let selectedChildrenChanged: NSAccessibility.Notification`](/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.

[`static let selectedChildrenMoved: NSAccessibility.Notification`](/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.

[`static let selectedColumnsChanged: NSAccessibility.Notification`](/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.

[`static let selectedRowsChanged: NSAccessibility.Notification`](/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.

[`static let selectedTextChanged: NSAccessibility.Notification`](/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.

[`static let sheetCreated: NSAccessibility.Notification`](/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.

[`static let titleChanged: NSAccessibility.Notification`](/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.

[`static let uiElementDestroyed: NSAccessibility.Notification`](/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.

[`static let unitsChanged: NSAccessibility.Notification`](/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.

[`static let valueChanged: NSAccessibility.Notification`](/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.

[`static let windowCreated: NSAccessibility.Notification`](/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.

[`static let windowDeminiaturized: NSAccessibility.Notification`](/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.

[`static let windowMiniaturized: NSAccessibility.Notification`](/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.

[`static let windowMoved: NSAccessibility.Notification`](/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.

[`static let windowResized: NSAccessibility.Notification`](/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

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

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

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

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

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

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

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

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

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

### Initializers

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

Creates a new instance with the specified raw value.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)