Instance Method

accessibility(label:)

Adds a label to the view that describes its contents.

Declaration

func accessibility(label: Text) -> ModifiedContent<HStack<Content>, AccessibilityAttachmentModifier>

See Also

Customizing Accessibility Labels of a View