---
title: "hideFromAccessibility"
description: "If present, this node is considered hidden from accessibility services.

For example, if the node is currently occluded by a dark semitransparent pane above it, then for
all practical purposes the node should not be announced to the user. Since the system cannot
automatically determine that, this property can be set to make the screen reader linear
navigation skip over this type of node.

If looking for a way to clear semantics of small items from the UI tree completely because they
are redundant with semantics of their parent, consider [SemanticsModifier.clearAndSetSemantics]
instead."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun SemanticsPropertyReceiver.hideFromAccessibility()
```


If present, this node is considered hidden from accessibility services.

For example, if the node is currently occluded by a dark semitransparent pane above it, then for
all practical purposes the node should not be announced to the user. Since the system cannot
automatically determine that, this property can be set to make the screen reader linear
navigation skip over this type of node.

If looking for a way to clear semantics of small items from the UI tree completely because they
are redundant with semantics of their parent, consider `SemanticsModifier.clearAndSetSemantics`
instead.



