Instance Method


Uses the specified string to identify the view.


func accessibility(identifier: String) -> 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(value: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier>

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

Accessibility Modifier Types

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