---
title: "accessibilityAdjustableAction(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/modifiedcontent/accessibilityadjustableaction(_:)"
---

# accessibilityAdjustableAction(_:)

Adds an accessibility adjustable action to the view. Actions allow assistive technologies, such as the VoiceOver, to interact with the view by invoking the action.

## Declaration

```swift
nonisolated func accessibilityAdjustableAction(_ handler: @escaping (AccessibilityAdjustmentDirection) -> Void) -> ModifiedContent<Content, Modifier>
```

## Discussion

Discussion For example, this is how an adjustable action to navigate through pages could be added to a view. var body: some View {     PageControl()         .accessibilityAdjustableAction { direction in             switch direction {             case .increment:                 // Go to next page             case .decrement:                 // Go to previous page             }         } }
