Ios Gesture Alternatives
Every custom gesture must have an equivalent action accessible via a visible button or menu — no action may be gesture-only.
$ aoe install @community/rule-ios-gesture-alternatives Projection
Always in _index.xml · the agent never has to ask for this.
IosGestureAlternatives [rule] v1.0.0
Every custom gesture must have an equivalent action accessible via a visible button or menu — no action may be gesture-only.
Loaded when retrieval picks the atom as adjacent / supporting.
IosGestureAlternatives [rule] v1.0.0
Every custom gesture must have an equivalent action accessible via a visible button or menu — no action may be gesture-only.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
Applies To
any iOS view that introduces a non-standard gesture (long press for exclusive action, multi-finger swipe, custom drag, force touch)
Loaded when retrieval picks the atom as a focal / direct hit.
IosGestureAlternatives [rule] v1.0.0
Every custom gesture must have an equivalent action accessible via a visible button or menu — no action may be gesture-only.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
Applies To
any iOS view that introduces a non-standard gesture (long press for exclusive action, multi-finger swipe, custom drag, force touch)
Examples
- A two-finger swipe to reorder items also has a drag handle visible on each row.
- A long-press for 'Mark as favourite' also appears in the item's action sheet or row swipe action.
Relations
related: [@community/rule-ios-context-menu-redundant, @community/constraint-ios-reserved-gestures, @community/constraint-ios-touch-target-44pt]
Rationale
Users with motor impairments, Switch Control users, and older users cannot reliably perform complex or multi-touch gestures. A visible alternative ensures equal access to every feature. This is required by Apple HIG Rule 5.7 and is a practical accessibility blocker for App Store review.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
Applies To
any iOS view that introduces a non-standard gesture (long press for exclusive action, multi-finger swipe, custom drag, force touch)
Source
aoe-engine/examples/frontend-design/primes/compiled/@community/rule-ios-gesture-alternatives/atom.yaml