---
title: accessibilityPerformCancel()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsaccessibilityprotocol/accessibilityperformcancel()
---

# accessibilityPerformCancel()

Cancels the current operation.

## Declaration

```swift
func accessibilityPerformCancel() -> 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

### Confirming and canceling operations

- [accessibilityPerformConfirm()](appkit/nsaccessibilityprotocol/accessibilityperformconfirm().md)
