---
title: "accessibilityLabel(content:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/accessibilitylabel(content:)"
---

# accessibilityLabel(content:)

Adds a label to the view that describes its contents.

## Declaration

```swift
nonisolated func accessibilityLabel<V>(@ContentBuilder content: (PlaceholderContentView<Self>) -> V) -> some View where V : View

```

## Parameters

- `content`: A content builder closure that takes a proxy value representing the modified view. You can combine the modified view with other content to create a new accessibility label for the original view.

## Discussion

Discussion Use this method to append content to the accessibility label for a view. For example, you could use this method to label a badge or alert that is custom drawn without removing the existing accessibility label.

## See Also

### Applying labels

- [accessibilityLabel(_:)](swiftui/view/accessibilitylabel(_:).md)
- [accessibilityLabel(_:isEnabled:)](swiftui/view/accessibilitylabel(_:isenabled:).md)
- [accessibilityInputLabels(_:)](swiftui/view/accessibilityinputlabels(_:).md)
- [accessibilityInputLabels(_:isEnabled:)](swiftui/view/accessibilityinputlabels(_:isenabled:).md)
- [accessibilityLabeledPair(role:id:in:)](swiftui/view/accessibilitylabeledpair(role:id:in:).md)
- [AccessibilityLabeledPairRole](swiftui/accessibilitylabeledpairrole.md)
