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

# accessibilityInputLabels(_:isEnabled:)

Sets alternate input labels with which users identify a view.

## Declaration

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

## 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.
