---
title: label
framework: xcuiautomation
role: symbol
role_heading: Instance Property
path: xcuiautomation/xcuielementattributes/label
---

# label

The label attribute of the element.

## Declaration

```swift
var label: String { get }
```

## See Also

### Value

- [value](xcuiautomation/xcuielementattributes/value.md)
- [placeholderValue](xcuiautomation/xcuielementattributes/placeholdervalue.md)
- [title](xcuiautomation/xcuielementattributes/title.md)
