---
title: "isHiddenFromAccessibility"
description: "Returns whether the node is hidden from accessibility.

This only checks if the node itself is hidden from accessibility. To check if it is in a hidden
subtree, use `hasAnyAncestor(isHiddenFromAccessibility())`."
type: "function"
---

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


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


```kotlin
fun isHiddenFromAccessibility(): SemanticsMatcher
```


Returns whether the node is hidden from accessibility.

This only checks if the node itself is hidden from accessibility. To check if it is in a hidden
subtree, use `hasAnyAncestor(isHiddenFromAccessibility())`.



