android-accessibility-validator

Installation
SKILL.md

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
Related skills

More from desquared/agents-rules-skills

Installs
12
GitHub Stars
3
First Seen
Mar 12, 2026