Instance Property

accessibilityParent

The accessibility element’s parent in the accessibility hierarchy.

Required.

Declaration

@property(weak) id accessibilityParent;

Discussion

This property must contain a reference to another element in the accessibility hierarchy. If you create an NSView subclass, you don’t typically need to set this value. The system automatically sets the parent to the nearest ancestor in the view hierarchy that is also in the accessibility hierarchy. If you use an NSAccessibilityElement subclass to represent an interface element that is not backed by a view, you can either set the parent property or you can call the accessibilityElementWithRole:frame:label:parent: convenience method, which sets it automatically.

See Also

Determining Relationships

accessibilityChildren

The child elements in the accessibility hierarchy.

Required.

accessibilityChildrenInNavigationOrder

An array of child elements, ordered for linear navigation.

Required.

accessibilitySelectedChildren

The element’s currently selected children.

Required.

accessibilityTopLevelUIElement

The top-level element that contains the accessibility element.

Required.

accessibilityVisibleChildren

The element’s visible child elements.

Required.