Compartilhar via


View.ScreenReaderFocusable Property

Definition

Returns whether the view should be treated as a focusable unit by screen reader accessibility tools. -or- Sets whether this View should be a focusable element for screen readers and include non-focusable Views from its subtree when providing feedback.

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

Whether the view should be treated as a focusable unit by screen reader.

Attributes

Remarks

Property getter documentation:

Returns whether the view should be treated as a focusable unit by screen reader accessibility tools.

Java documentation for android.view.View.isScreenReaderFocusable().

Property setter documentation:

Sets whether this View should be a focusable element for screen readers and include non-focusable Views from its subtree when providing feedback.

Note: this is similar to using <c>android:focusable</c>, but does not impact input focus behavior.

Java documentation for android.view.View.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