The NSAccessibilityLayoutArea role-based protocol declares the minimum interface required for an accessibility element to act as a layout area. 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.



Accessibility Methods

func accessibilityChildren()

Returns this element’s children in the accessibility hierarchy.

var accessibilityFocusedUIElement: Any

Returns the child element with the current focus.

func accessibilityLabel()

Returns a short description of the layout area.

func accessibilitySelectedChildren()

Returns the layout area’s currently selected children.