---
title: "accessibilityLabel(for:)"
framework: cinematic
role: symbol
role_heading: Type Method
path: "cinematic/cndetection-swift.struct/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.

## Declaration

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

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.
