Accessibility Functions
Global accessibility functions for custom views and controls.
Overview
Use these NSAccessibility functions to enhance the accessibility experience of your custom view or control. Standard AppKit elements handle this behavior for you.
Notifications
Your custom view or control may need to let the assistive app know when changes occur. For example, if your control’s value changes, you need to send a valueChanged notification.
NSAccessibility.Notification defines a number of notifications that you can send using the post(element:notification:) method. You typically need to send your own notifications only when you’re creating a custom control or when you’re using a standard control in a nonstandard way. Make sure you’re posting any relevant notifications as your control’s state changes.
Topics
Notifications
post(element:notification:)post(element:notification:userInfo:)NSAccessibility.NotificationNSAccessibility.NotificationUserInfoKey
Screen Coordinates
Accessibility Objects
unignoredChildren(from:)unignoredChildrenForOnlyChild(from:)unignoredDescendant(of:)unignoredAncestor(of:)