---
title: accessibilityValue()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsaccessibilitycheckbox/accessibilityvalue()
---

# accessibilityValue()

Returns the checkbox’s value.

## Declaration

```swift
func accessibilityValue() -> NSNumber?
```

## Return Value

Return Value @YES if checked; otherwise, @NO.

## Discussion

Discussion This method is the getter for the NSAccessibilityProtocol protocol’s accessibilityValue property. note: This class must also post an valueChanged notification whenever its value changes.
