Instance Method

accessibilityFrame()

Returns the element’s frame in screen coordinates.

Required.

Declaration

func accessibilityFrame() -> NSRect

Return Value

The element’s frame in screen coordinates.

Discussion

This method is the getter for the NSAccessibilityProtocol protocol’s accessibilityFrame property. This method is called whenever accessibility clients request the size or position attributes.

See Also

Accessibility Methods

func accessibilityIdentifier() -> String

Returns the element’s identity.

func accessibilityParent() -> Any?

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

Required.

func isAccessibilityFocused() -> Bool

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