Skip to main content
.accessibilityHint(hint: string)
hint
string
required
A description of what happens when the user activates the component. VoiceOver reads this after a short pause following the label.

Support

Usage

Describe the result of a tap

Button("Delete", () => removeItem())
    .accessibilityHint("Removes the item from your list")

Combined with a label

Image({ systemName: "heart.fill" })
    .onTapGesture(() => toggleFavorite())
    .accessibilityLabel("Favorite")
    .accessibilityHint("Adds this item to your favorites")

See Also