Accessibility Modifier Types

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


Customizing View Accessibility

enum AccessibilityAdjustmentDirection

A directional indicator you use when making an accessibility adjustment.

struct AccessibilityTraits

A set of accessibility traits that describe how an element behaves.

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.

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

Specifies whether to hide this view from system accessibility features.