android-accessibility-validator

android-accessibility-validator is a skill for Claude Code from Desquared/agents-rules-skills. It costs 48 tokens per session (597 once invoked), scanned A, original, MIT.

An accessibility checker for Android user interfaces built with Jetpack Compose or traditional Android Views. It focuses on features such as screen-reader labels, scalable text, color contrast, and touch-target size.

In plain words
What is it for?
Use it when creating or reviewing Android screens, buttons, controls, and other UI components. It checks labels and roles, support for larger text, contrast, and touch areas.
Why use it?
It helps find UI choices that can make an app difficult to use for people with disabilities, including users of TalkBack, Android’s screen reader. It also suggests more accessible alternatives while you build or change screens.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the accessibility-toolkit plugin — 4 skills, 1 MCP server shipped together

Good fit Use it when creating or reviewing Android screens, buttons, controls, and other UI components. It checks labels and roles, support for larger text, contrast, and touch areas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desquared/agents-rules-skills/android-accessibility-validator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Desquared/agents-rules-skills --skill android-accessibility-validator
Clone the repo
git clone --depth 1 https://github.com/Desquared/agents-rules-skills

Made for: Claude Code.

Or install accessibility-toolkit, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for android-accessibility-validator

README.md
[![agentmods](https://agentmods.dev/badge/skills/desquared/agents-rules-skills/android-accessibility-validator/github.svg)](https://agentmods.dev/skills/desquared/agents-rules-skills/android-accessibility-validator)
Your own site
<a href="https://agentmods.dev/skills/desquared/agents-rules-skills/android-accessibility-validator"><img src="https://agentmods.dev/badge/skills/desquared/agents-rules-skills/android-accessibility-validator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for android-accessibility-validator

Your own site · 80×15
<a href="https://agentmods.dev/skills/desquared/agents-rules-skills/android-accessibility-validator"><img src="https://agentmods.dev/badge/skills/desquared/agents-rules-skills/android-accessibility-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 597 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00597
Opus 5.5 $0.00019 $0.00239
Sonnet 5.5 $0.00010 $0.00119
Haiku 4.5 $0.00005 $0.00060

Measured 3mo ago against content hash 2f68c145fb32, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

android-accessibility-validator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/accessibility-toolkit/skills/android-accessibility-validator/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Accessibility Validator (Android)

Checklist

TalkBack

  • Interactive elements have contentDescription via semantics
  • Decorative elements: Modifier.semantics { invisibleToUser() }
  • Related elements: Modifier.semantics(mergeDescendants = true)
  • contentDescription is localized
  • Use Role (e.g., Role.Button, Role.Switch, Role.Checkbox) via semantics { role = Role.Button }
  • Provide stateDescription for toggles/switches (e.g., "On", "Checked")
  • Mark headings with semantics { heading() }
  • Use onClickLabel for custom action descriptions
  • Control traversal order with isTraversalGroup and traversalIndex when default order is insufficient
  • Override defaults with clearAndSetSemantics { ... } for complex custom components

Dynamic Text

  • Use sp for text sizes, not dp
  • Use MaterialTheme.typography scales
  • Layout adapts to large text sizes
  • Support pinch-to-zoom scalable content with Modifier.transformable + state updates where appropriate

Color Contrast

  • Text: 4.5:1 (normal), 3:1 (large 18sp+)
  • Use Material Theme semantic colors
  • Color not sole indicator

Touch Targets

  • Minimum 48dp
  • Use Modifier.minimumInteractiveComponentSize()

Testing

  • Manual testing with TalkBack enabled
  • Automated checks via enableAccessibilityChecks() in Compose tests

Quick Fixes

Issue Fix
No contentDescription Modifier.semantics { contentDescription = "desc" }
Decorative Modifier.semantics { invisibleToUser() }
Group Modifier.semantics(mergeDescendants = true)
Small target Modifier.size(48.dp)
Fixed font Use MaterialTheme.typography.bodyLarge
Missing role or state Modifier.semantics { role = Role.Switch; stateDescription = "On" }
Wrong traversal order Modifier.semantics { isTraversalGroup = true; traversalIndex = 1 }

Read the full file on GitHub · 57 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 57 lines · 48 tokens per session scan A 2f68c145fb32

Subscribe to this mod's changes

android-accessibility-validator is a skill published in the GitHub repository Desquared/agents-rules-skills (4 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 597 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

android-accessibility-validator compared with skills from other repositories

android-accessibility-validator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
android-accessibility-validatorDesquared/agents-rules-skillsSkill42mo agoMITA48Claude Code
hig-foundationssickn33/agentic-awesome-skillsSkill51ktodayMITA12Claude Code
hig-inputssickn33/agentic-awesome-skillsSkill51ktodayMITA32Claude Code
display-glasses-with-jetpack-compose-glimmerandroid/skillsSkill11ktodayApache-2.0A112Claude Code
glance-canonical-layoutsandroid/skillsSkill11ktodayApache-2.0A56Claude Code
expo-design-systemexpo/skillsSkill4.3ktodayMITA90Claude Code, Codex
flutter-build-responsive-layoutflutter/agent-pluginsSkill3.2k2d agoBSD-3-ClauseA51Claude Code