Function

isHiddenFromAccessibility

Returns whether the node is hidden from accessibility.

isHiddenFromAccessibility

Source set: Common
public 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()).

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: