---
title: "tryPerformAccessibilityChecks"
description: "Tries to perform accessibility checks on the current screen. This will only actually do something
if (1) accessibility checks are enabled and (2) accessibility checks are implemented for the
platform on which the test runs."
type: "function"
---

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


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


```kotlin
expect fun SemanticsNodeInteraction.tryPerformAccessibilityChecks(): SemanticsNodeInteraction
```


Tries to perform accessibility checks on the current screen. This will only actually do something
if (1) accessibility checks are enabled and (2) accessibility checks are implemented for the
platform on which the test runs.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun SemanticsNodeInteractionCollection.tryPerformAccessibilityChecks():
    SemanticsNodeInteractionCollection
```


Tries to perform accessibility checks on the current screen. This will only actually do something
if (1) accessibility checks are enabled and (2) accessibility checks are implemented for the
platform on which the test runs.



<div class='sourceset sourceset-android'>Android</div>


```kotlin
actual fun SemanticsNodeInteraction.tryPerformAccessibilityChecks(): SemanticsNodeInteraction
```


