<!--
{
  "documentType" : "article",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/uiaccessibilityaction",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "UIAccessibilityAction"
}
-->

# UIAccessibilityAction

A set of methods that accessibility elements can use to support specific actions.

## Discussion

The `UIAccessibilityAction` informal protocol provides a way for accessibility elements to support specific actions, such as selecting values in a range or scrolling through information on the screen. For example, to respond to a scrolling gesture, you implement the [`accessibilityScroll(_:)`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityScroll(_:)) method and post <doc://com.apple.documentation/documentation/UIKit/UIAccessibility/Notification/pageScrolled> with the new page status (such as “Page 3 of 9”). Or, to make an element such as a slider or picker view accessible, you first need to characterize it by including the <doc://com.apple.documentation/documentation/UIKit/UIAccessibilityTraits/adjustable> trait. Then, you must implement the [`accessibilityIncrement()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityIncrement()) and [`accessibilityDecrement()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityDecrement()) methods. When you do this, assistive technology users can adjust the element using gestures specific to the assistive technology.

## Topics

### Performing an action

[`accessibilityActivate()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityActivate())

Tells the element to activate itself and report the success or failure of the operation.

[`accessibilityIncrement()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityIncrement())

Tells the accessibility element to increment the value of its content.

[`accessibilityDecrement()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityDecrement())

Tells the accessibility element to decrement the value of its content.

[`accessibilityScroll(_:)`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityScroll(_:))

Scrolls screen content in an application-specific way and returns the success or failure of the action.

[`accessibilityPerformEscape()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityPerformEscape())

Dismisses a modal view and returns the success or failure of the action.

[`accessibilityPerformMagicTap()`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityPerformMagicTap())

Performs a salient action.

### Accessing custom actions

[`accessibilityCustomActions`](/documentation/ObjectiveC/NSObject-swift.class/accessibilityCustomActions)

An array of custom actions to display along with the built-in actions.

### Constants

  <doc://com.apple.documentation/documentation/UIKit/UIAccessibilityScrollDirection>

## See Also

  [Accessibility Programming Guide for iOS](https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/iPhoneAccessibility/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008785)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)