AccessibilityBlocker
public struct AccessibilityBlocker : Element
Blocks all accessibility on the element, so that it is is no longer an accessibility element, and its children are hidden from the accessibility system.
-
The element whose accessibility information will be blocked.
Declaration
Swift
public var wrapped: Element
-
If the
AccessibilityBlocker
is currently blocking accessibility.Declaration
Swift
public var isBlocking: Bool
-
Creates a new
AccessibilityBlocker
wrapping the provided element.Declaration
Swift
public init( isBlocking: Bool = true, wrapping element: Element )
-
Declaration
Swift
public var content: ElementContent { get }
-
Declaration
Swift
public func backingViewDescription(with context: ViewDescriptionContext) -> ViewDescription?