<!--
{
  "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/TabContent/accessibilityHint(_:isEnabled:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI10TabContentPAAE17accessibilityHint_9isEnabledQr10Foundation23LocalizedStringResourceV_SbtF::OverloadGroup"
  },
  "title" : "accessibilityHint(_:isEnabled:)"
}
-->

# accessibilityHint(_:isEnabled:)

Communicates to the user what happens after selecting the tab.

```
@export(implementation) nonisolated func accessibilityHint(_ hint: LocalizedStringResource, isEnabled: Bool = true) -> some TabContent<Self.TabValue>
```

## Parameters

`hint`

The accessibility hint to apply.

`isEnabled`

If true the accessibility hint is applied; otherwise the
accessibility hint is unchanged.

## Discussion

Provide a hint in the form of a brief phrase, like “Open shopping cart”
or “Show downloaded attachments”.

```
var body: some View {
    TabView {
        Tab {
            MessagesView()
        } label: {
            Image(systemName: "play")
        }
        .accessibilityHint("Select videos to download")
    }
}
```

---

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)