enabling-accessibility-checks

Community

Turn on Compose accessibility validation

Authorskydoves
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you catch accessibility regressions in Jetpack Compose UI tests by enabling Espresso’s AccessibilityValidator to validate the Compose semantics tree.

Core Features & Use Cases

  • Enable validation against the Compose semantics tree: Uses enableAccessibilityChecks(...) to run accessibility checks before every UI-mutating action in Compose tests.
  • Configure strict failure behavior: Lets you switch from warning-only results to throwing exceptions on ERROR using a configured AccessibilityValidator.
  • Works for hybrid Compose + Views: Shares one validator instance with Espresso via AccessibilityChecks.enable() so both layers report consistently.

Quick Start

Use the enabling-accessibility-checks skill to add enableAccessibilityChecks() to your Compose test on a real device running API 34+.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: enabling-accessibility-checks
Download link: https://github.com/skydoves/android-testing-skills/archive/main.zip#enabling-accessibility-checks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.