AccessibilityNodeInfo.AccessibilityAction.ActionAccessibilityFocus Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Action that gives accessibility focus to the node.
[Android.Runtime.Register("ACTION_ACCESSIBILITY_FOCUS")]
public static Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction ActionAccessibilityFocus { get; }
[<Android.Runtime.Register("ACTION_ACCESSIBILITY_FOCUS")>]
static member ActionAccessibilityFocus : Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction
Property Value
- Attributes
Remarks
Action that gives accessibility focus to the node.
The UI element that implements this should send a AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED event if successful. The node that is focused should return true for AccessibilityNodeInfo.isAccessibilityFocused().
This is intended to be used by screen readers to assist with user navigation. Apps changing focus can confuse screen readers, so the resulting behavior can vary by device and screen reader version.
This is distinct from ACTION_FOCUS, which refers to system focus. System focus is typically used to convey targets for keyboard navigation.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.