Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isActive

Whether the accessibility node is exposed to screen readers. The default value is true.
Read time 1 minuteLast updated 6 days ago

Definition

public bool isActive { get; set; }

Remarks

This property controls the visibility of the node to screen readers, ensuring that only relevant elements are accessible to the user. For example, elements that are covered by a modal view should not be accessible.
If this property is set to
false
, the screen reader ignores the node and prevents the user from focusing on it. This is useful when temporarily disabling the node is preferred over removing it from the hierarchy.