I'm building a custom UIAccessibilityElement
for a complex control, and would like to expose both the .adjustable
UIAccessibilityTrait
(to move between discrete members listed in the control) and accessibilityCustomActions
(to enable multiple possible interactions).
My (limited) experience is that both adjustment and custom action selection employ vertical swipes, so they collide if an element exposes both: vertical swipes call accessibilityIncrement
and accessibilityDecrement
, which I'm using to move between the members, and the accessibility element is described as having "Actions available" but there seems to be no way to access them.
Is there a way, beyond reimplementing my increment and decrement methods to append the custom actions to the discrete element list somehow, to enable a user to interrogate both these extra dimensions on a single accessibility element?