---
title: "accessibilityInputLabels(_:isEnabled:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/accessibilityinputlabels(_:isenabled:)"
---

# accessibilityInputLabels(_:isEnabled:)

Sets alternate input labels with which users identify a view.

## Declaration

```swift
nonisolated func accessibilityInputLabels(_ inputLabelKeys: [LocalizedStringKey], isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
```

## Parameters

- `inputLabelKeys`: The accessibility input labels to apply.
- `isEnabled`: If true the accessibility input labels are applied; otherwise the accessibility input labels are unchanged.

## Discussion

Discussion Provide labels in descending order of importance. Voice Control and Full Keyboard Access use the input labels. note: If you don’t specify any input labels, the user can still refer to the view using the accessibility label that you add with the accessibilityLabel() modifier.

## See Also

### Applying labels

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