accessibilityParent
The accessibility element’s parent in the accessibility hierarchy.
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 element(withRole:frame:label:parent:) convenience method, which sets it automatically.