Instance Method


Adds a textual description of the value that the view contains.


func accessibility(value: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier>

See Also

Customizing Accessibility Labels of a View

Creating Accessible Views

Make your app accessible to everyone by applying accessibility modifiers to your SwiftUI views.

func accessibility(hidden: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier>

Specifies whether to hide this view from system accessibility features.

Accessibility Modifier Types

A set of types used to improve a view’s comprehensibility, interactivity, and navigability.