<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/AccessibilityCustomContentKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI29AccessibilityCustomContentKeyV"
  },
  "title" : "AccessibilityCustomContentKey"
}
-->

# AccessibilityCustomContentKey

Key used to specify the identifier and label associated with
an entry of additional accessibility information.

```
struct AccessibilityCustomContentKey
```

## Overview

Use `AccessibilityCustomContentKey` and the associated modifiers taking
this value as a parameter in order to simplify clearing or replacing
entries of additional information that are manipulated from multiple places
in your code.

## Topics

### Creating a key

[`init(_:)`](/documentation/SwiftUI/AccessibilityCustomContentKey/init(_:))

Create an `AccessibilityCustomContentKey` with the specified label.

[`init(_:id:)`](/documentation/SwiftUI/AccessibilityCustomContentKey/init(_:id:))

Create an `AccessibilityCustomContentKey` with the specified label and
identifier.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

---

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)