Share via


AccessibilityNodeInfo.ScreenReaderFocusable Property

Definition

Returns whether the node is explicitly marked as a focusable unit by a screen reader. -or- Sets whether the node should be considered a focusable unit by a screen reader.

public virtual bool ScreenReaderFocusable { [Android.Runtime.Register("isScreenReaderFocusable", "()Z", "GetIsScreenReaderFocusableHandler", ApiSince=28)] get; [Android.Runtime.Register("setScreenReaderFocusable", "(Z)V", "GetSetScreenReaderFocusable_ZHandler", ApiSince=28)] set; }
[<get: Android.Runtime.Register("isScreenReaderFocusable", "()Z", "GetIsScreenReaderFocusableHandler", ApiSince=28)>]
[<set: Android.Runtime.Register("setScreenReaderFocusable", "(Z)V", "GetSetScreenReaderFocusable_ZHandler", ApiSince=28)>]
member this.ScreenReaderFocusable : bool with get, set

Property Value

true if the node is specifically marked as a focusable unit for screen readers, false otherwise.

Attributes

Remarks

Property getter documentation:

Returns whether the node is explicitly marked as a focusable unit by a screen reader. Note that false indicates that it is not explicitly marked, not that the node is not a focusable unit. Screen readers should generally use other signals, such as #isFocusable(), or the presence of text in a node, to determine what should receive focus.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.isScreenReaderFocusable().

Property setter documentation:

Sets whether the node should be considered a focusable unit by a screen reader.

<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.setScreenReaderFocusable(boolean).

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.

Applies to