Make your app more accessible to users with disabilities.
Framework
- App
Kit
Make your app more accessible to users with disabilities.
Framework
protocol NSAccessibility Protocol
The complete list of properties and methods implemented by accessible elements.
protocol NSAccessibility Contains Transient UI
A set of methods that support accessibility in a UI that changes dynamically—usually in response to mouse-hover events.
Make your app more accessible to users with disabilities by adding accessibility features.
protocol NSAccessibility Element Protocol
A role-based protocol that declares the minimum interface required to interact with an accessibility client.
protocol NSAccessibility Button
A role-based protocol that declares the minimum interface required for an accessibility element to act as a button.
protocol NSAccessibility Check Box
A role-based protocol that declares the minimum interface required for an accessibility element to act as a checkbox.
protocol NSAccessibility Image
A role-based protocol that declares the minimum interface required for an accessibility element to act as an image.
protocol NSAccessibility List
A role-based protocol that declares the minimum interface required for an accessibility element to act as a list view.
protocol NSAccessibility Navigable Static Text
A role-based protocol that declares the minimum interface required for an accessibility element to act as navigable static text.
protocol NSAccessibility Outline
A role-based protocol that declares the minimum interface required for an accessibility element to act as an outline view.
protocol NSAccessibility Progress Indicator
A role-based protocol that declares the minimum interface required for an accessibility element to act as a progress indicator.
protocol NSAccessibility Radio Button
A role-based protocol that declares the minimum interface required for an accessibility element to act as a radio button.
protocol NSAccessibility Row
A role-based protocol that declares the minimum interface required for an accessibility element to act as a row for a table, list, or outline view.
protocol NSAccessibility Slider
A role-based protocol that declares the minimum interface required for an accessibility element to act as a slider.
protocol NSAccessibility Static Text
A role-based protocol that declares the minimum interface required for an accessibility element to act as static text.
protocol NSAccessibility Stepper
A role-based protocol that declares the minimum interface required for an accessibility element to act as a stepper.
protocol NSAccessibility Switch
A role-based protocol that declares the minimum interface required for an accessibility element to act as a switch.
protocol NSAccessibility Table
A role-based protocol that declares the minimum interface required for an accessibility element to act as a table view.
class NSAccessibility Element
The basic infrastructure required to interact with an accessibility client.
protocol NSAccessibility Group
A role-based protocol that declares the minimum interface required to act as a container for other user interface elements.
protocol NSAccessibility Layout Area
A role-based protocol that declares the minimum interface required for an accessibility element to act as a layout area.
protocol NSAccessibility Layout Item
A role-based protocol that declares the minimum interface required for an accessibility element to act as a layout item.
var description: String?
Returns a standard description for an action.
static func post(element: Any, notification: NSAccessibility .Notification)
Sends a notification to any observing assistive applications.
static func post(element: Any, notification: NSAccessibility .Notification, user Info: [NSAccessibility .Notification User Info Key : Any]?)
Sends a notification and an optional user
dictionary to any observing assistive applications.
static func raise Bad Argument Exception(Any!, NSAccessibility .Attribute!, Any!)
Raises an error if the parameter is the wrong type or has an illegal value
func description(with: NSAccessibility .Subrole?) -> String?
Returns a standard description for a role and subrole.
static func description(for: Any) -> String?
Returns a standard role description for a user interface element.
static func set May Contain Protected Content(Bool) -> Bool
Sets whether the app may have protected content.
static func unignored Children(from: [Any]) -> [Any]
Returns a list of unignored accessibility objects, descending the hierarchy if necessary.
static func unignored Children For Only Child(from: Any) -> [Any]
Returns a list of unignored accessibility objects, descending the hierarchy if necessary.
static func unignored Descendant(of: Any) -> Any?
Returns an unignored accessibility object, descending the hierarchy if necessary.
static func unignored Ancestor(of: Any) -> Any?
Returns an unignored accessibility object, ascending the hierarchy if necessary.
static func screen Rect(from View: NSView, rect: NSRect) -> NSRect
Returns the frame in screen coordinates.
static func screen Point(from View: NSView, point: NSPoint) -> NSPoint
Returns the point in screen coordinates.
A legacy, informal protocol that is not recommended for active use.
Handle events related to mouse, keyboard, and trackpad input.
Encapsulate your app's event-handling logic in gesture recognizers so that you can reuse that code throughout your app.
Support the direct manipulation of your app's content using drag and drop.