Accessible descriptions
Describe interface elements to help people understand what they represent.
Overview
SwiftUI can often infer some information about your user interface elements, but you can use accessibility modifiers to provide even more information for users that need it.
[Image]
For design guidance, see Accessibility in the Accessibility section of the Human Interface Guidelines.
Topics
Applying labels
accessibilityLabel(_:)accessibilityLabel(_:isEnabled:)accessibilityLabel(content:)accessibilityInputLabels(_:)accessibilityInputLabels(_:isEnabled:)accessibilityLabeledPair(role:id:in:)AccessibilityLabeledPairRole
Describing values
Describing content
accessibilityTextContentType(_:)accessibilityHeading(_:)AccessibilityHeadingLevelAccessibilityTextContentType