---
title: "accessibility(inputLabels:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/modifiedcontent/accessibility(inputlabels:)"
---

# accessibility(inputLabels:)

Sets alternate input labels with which users identify a view.

## Declaration

```swift
nonisolated func accessibility(inputLabels: [Text]) -> ModifiedContent<Content, Modifier>
```

## Parameters

- `inputLabels`: An array of doc://com.apple.SwiftUI/documentation/SwiftUI/Text elements to use as input labels.

## 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 accessibility(label:) modifier.
