Protocol

NSAccessibilityElementProtocol

The NSAccessibilityElement role-based protocol declares the minimum interface required to interact with an accessibility client. In general, your user interface elements should not adopt this protocol. They should adopt a more specific, role-based protocol instead. For a list of role-based protocols, see NSAccessibility.

Overview

Symbols

Accessibility Methods

func accessibilityFrame()

Returns the element’s frame in screen coordinates.

func accessibilityIdentifier()

Returns the element’s identity.

func accessibilityParent()

Returns the accessibility element’s parent in the accessibility hierarchy.

func isAccessibilityFocused()

Returns a Boolean value that indicates whether the accessibility element has the keyboard focus.