<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/accessibilityInputLabels(_:isEnabled:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewPAAE24accessibilityInputLabels_9isEnabledAA15ModifiedContentVyxAA31AccessibilityAttachmentModifierVGSayAA18LocalizedStringKeyVG_SbtF::OverloadGroup"
  },
  "title" : "accessibilityInputLabels(_:isEnabled:)"
}
-->

# accessibilityInputLabels(_:isEnabled:)

Sets alternate input labels with which users identify a view.

```
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

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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)