Protocol

NSAccessibilityLayoutArea

A role-based protocol that declares the minimum interface required for an accessibility element to act as a layout area.

Overview

Use this protocol when you want to create a canvas that contains layout items. You can further enhance the adopting element by implementing any of the information properties or action methods declared in the NSAccessibility protocol.

Topics

Accessibility Methods

func accessibilityChildren()

Returns this element’s children in the accessibility hierarchy.

Required.

var accessibilityFocusedUIElement: Any

Returns the child element with the current focus.

Required.

func accessibilityLabel()

Returns a short description of the layout area.

Required.

func accessibilitySelectedChildren()

Returns the layout area’s currently selected children.

Required.

Relationships

See Also

Custom Elements

class NSAccessibilityElement

The basic infrastructure required to interact with an accessibility client.

protocol NSAccessibilityGroup

A role-based protocol that declares the minimum interface required to act as a container for other user interface elements.

protocol NSAccessibilityLayoutItem

A role-based protocol that declares the minimum interface required for an accessibility element to act as a layout item.