NSAccessibility
A legacy, informal protocol that Apple doesn’t recommend for active use.
Overview
The NSAccessibility informal protocol defines an old, key-based API. For the most part, Apple doesn’t recommend using this API. Use the method-based API in NSAccessibilityProtocol instead. However, there are a few methods and properties that are still relevant. You can combine the accessibilityHitTest(_:) method, and the accessibilityFocusedUIElement and accessibilityNotifiesWhenDestroyed properties with the new NSAccessibilityProtocol protocol.
Topics
Available Methods and Properties
Constants
Standard AttributesText-Specific AttributesText-Specific Parameterized AttributesText Attributed-String Attributes and ConstantsWindow-Specific AttributesApp-Specific AttributesGrid View AttributesTable View and Outline View AttributesOutline View AttributesCell-Based Table AttributesCell-Based Table Parameterized AttributesCell AttributesLayout Area AttributesLayout Area Parameterized AttributesLayout Item AttributesSlider AttributesScreen Matte AttributesRuler View AttributesLinkage ElementsMiscellaneous AttributesColumn Sort DirectionMeasurement Unit AttributesOrientationsRuler Marker Type ValuesActions
Deprecated
accessibilityActionDescription(_:)accessibilityActionNames()accessibilityArrayAttributeCount(_:)accessibilityArrayAttributeValues(_:index:maxCount:)accessibilityAttributeNames()accessibilityAttributeValue(_:)accessibilityAttributeValue(_:forParameter:)accessibilityIndex(ofChild:)accessibilityIsAttributeSettable(_:)accessibilityIsIgnored()accessibilityParameterizedAttributeNames()accessibilityPerformAction(_:)accessibilitySetOverrideValue(_:forAttribute:)accessibilitySetValue(_:forAttribute:)