Instance Method

accessibilityParent()

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

Required.

Declaration

func accessibilityParent() -> Any?

Return Value

The element’s parent in the accessibility hierarchy.

Discussion

This method is the getter for the NSAccessibilityProtocol protocol’s accessibilityParent property.

See Also

Accessibility Methods

func accessibilityFrame() -> NSRect

Returns the element’s frame in screen coordinates.

Required.

func accessibilityIdentifier() -> String

Returns the element’s identity.

func isAccessibilityFocused() -> Bool

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