<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Cinematic",
  "identifier" : "/documentation/Cinematic/CNDetection-swift.struct/accessibilityLabel(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Cinematic"
    ],
    "preciseIdentifier" : "s:9Cinematic11CNDetectionV18accessibilityLabel3forSSSo0B4TypeV_tFZ"
  },
  "title" : "accessibilityLabel(for:)"
}
-->

# accessibilityLabel(for:)

A localized accessibility label converting a specific detection type into a broad category such as a person, pet, and so on.

```
static func accessibilityLabel(for detectionType: CNDetectionType) -> String
```

## Parameters

`detectionType`

The type of object to detect, such as the face, torso, cat, dog, and so on.

## Return Value

A string representing a localized accessibility label converting a specific detection type into a broad category such as a person, pet, and so on.

---

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)