---
title: "init(attributedLabel:attributedValue:)"
framework: accessibility
role: symbol
role_heading: Initializer
path: "accessibility/axcustomcontent/init(attributedlabel:attributedvalue:)"
---

# init(attributedLabel:attributedValue:)

Creates new custom content with an attributed string and attributed value.

## Declaration

```swift
convenience init(attributedLabel label: NSAttributedString, attributedValue value: NSAttributedString)
```

## Parameters

- `label`: A localized attributed string that identifies the label for this content.
- `value`: A localized attributed string that provides a value for the label.

## See Also

### Creating custom content

- [init(label:value:)](accessibility/axcustomcontent/init(label:value:).md)
- [init(coder:)](accessibility/axcustomcontent/init(coder:).md)
