---
title: "forceAccessibilityForTesting"
description: "This function is used by the delegate file to enable accessibility frameworks for testing."
type: "function"
lastmod: "2026-08-27"
---
## API Reference

### forceAccessibilityForTesting

> Source set: Android

```kotlin
override fun forceAccessibilityForTesting(enable: Boolean)
```

This function is used by the delegate file to enable accessibility frameworks for testing.
