android-accessibility-validator

Checks and suggests accessibility improvements for Jetpack Compose and Android Views including TalkBack labels, dynamic text support, and color contrast. Use when creating or modifying UI components, screens, or when the user asks about accessibility.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "android-accessibility-validator" with this command: npx skills add desquared/agents-rules-skills/desquared-agents-rules-skills-android-accessibility-validator

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

Dynamic Text

  • Use sp for text sizes, not dp
  • Use MaterialTheme.typography scales
  • Layout adapts to large text sizes

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()

Quick Fixes

IssueFix
No contentDescriptionModifier.semantics { contentDescription = "desc" }
DecorativeModifier.semantics { invisibleToUser() }
GroupModifier.semantics(mergeDescendants = true)
Small targetModifier.size(48.dp)
Fixed fontUse MaterialTheme.typography.bodyLarge

Severity

  • 🔴 Critical: Blocks accessibility
  • 🟡 Moderate: Reduces usability
  • 🟢 Minor: Enhancement

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

shared-bug-investigation

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

ios-accessibility-validator

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

ios-swiftui-architecture-review

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

ios-performance-profiler

No summary provided by upstream source.

Repository SourceNeeds Review