Instance Property

accessibilityViewIsModal

A Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver.

Declaration

var accessibilityViewIsModal: Bool { get set }

Discussion

The default value for this property is false. When the value of this property is true, VoiceOver ignores the elements within the sibling views of the receiving view.

For example, in a window that contains sibling views A and B, setting accessibilityViewIsModal to true on view B causes VoiceOver to ignore the elements in the view A. On the other hand, if view B contains a child view C and you set accessibilityViewIsModal to true on view C, VoiceOver does not ignore the elements in view A.

See Also

Configuring Behavior

Accessibility Traits

Tell an assistive application how an accessibility element behaves or should be treated by setting these accessibility traits

var accessibilityTraits: UIAccessibilityTraits

The combination of accessibility traits that best characterize the accessibility element.

struct UIAccessibilityTraits

A mask that contains the OR combination of the accessibility traits that best characterize an accessibility element.

var accessibilityCustomRotors: [UIAccessibilityCustomRotor]?

An array of custom rotors for the current element.

var accessibilityElementsHidden: Bool

A Boolean value indicating whether the accessibility elements contained within this accessibility element are hidden.

var accessibilityNotifiesWhenDestroyed: Bool

A Boolean value that indicates whether a custom accessibility object sends a notification when its corresponding UI element is destroyed.

var accessibilityRespondsToUserInteraction: Bool

A Boolean value indicating whether the element performs an action based on user interaction.

var shouldGroupAccessibilityChildren: Bool

A Boolean value indicating whether VoiceOver should group together the elements that are children of the receiver, regardless of their positions on the screen.