-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Description
On Android, a re-orderable list will also present reorder options in the local context menu so that they can be accessed via alternative inputs. For an example, see the language selection in the Settings app. iOS presents similar options
We could expose an API to add local context actions which would need to callback into dart code. Alternatively we could only support a predefined list of local context actions and add them to the semantics widget.
To be as backwards compatible as possible, the implementation on the Android side would use the support libraries, but this seems to be blocked by #11099
Relevant Android APIs:
https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction
Relevant iOS APIs:
https://developer.apple.com/documentation/uikit/accessibility/uiaccessibilityaction#//apple_ref/occ/instp/NSObject/accessibilityCustomActions