Skip to content

iOS: Responding to Actions via UIAccessibilityAction #30893

Open
@amarlette

Description

@amarlette

Description

There are actions that a VoiceOver user may invoke while using an application. React Native should be able to respond to these actions. One example that is currently missing from React Native's support is accessibilityScroll, which typically is listened to in order to perform a scroll action on a list of some kind.

React Native version:

v0.63

Expected Behavior

There is already precedent in React Native for actions, so in theory all the "actions" available for iOS would have associated functions. For scrolling, something like "onAccessibilityScroll(direction:)" would be called when the gesture is detected by the system.

iOS Details

UIAccessibilityAction is an informal protocol which contains instance methods to override. Ideally, all of the supported actions would be bridged.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions