---
title: accessibilityPerformPress()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsaccessibilitybutton/accessibilityperformpress()
---

# accessibilityPerformPress()

Simulates clicking the button.

## Declaration

```swift
func accessibilityPerformPress() -> Bool
```

## Return Value

Return Value true if the action was successfully triggered; otherwise, false. This method does not indicate the success or failure of the action, just the fact that the action was successfully triggered.

## See Also

### Supporting Accessibility

- [accessibilityLabel()](appkit/nsaccessibilitybutton/accessibilitylabel().md)
