DEV Community

Samer
Samer

Posted on

Suppressing iOS VoiceOver "swipe left/right" instructions on Custom Dot Control

We have a custom "Dot Control" in React Native (iOS). When focused, VoiceOver announces: "Dot Control, [label], swipe left/right and top/bottom to navigate".
We only want to support left/right for carousel navigation, not top/bottom. How can we suppress the "top/bottom" part of the announcement on iOS, while keeping the element accessible?
We are already using accessibilityRole="adjustable", is there a native trait to hide that message?

Top comments (0)