Start a fresh conversation. Replace the highlighted placeholders.
Using the android-accessibility skill, audit the Compose component in [source file path]. Start with content descriptions, 48x48dp touch targets, focus and semantics, and state descriptions. Return a short list of findings and suggested fixes without editing the file.
Required inputs
Compose source file path
Component name, if the file contains multiple components
Suggested template by Skill Leaderboard, grounded in the linked source. Task evidence ↗
SKILL.md
name: android-accessibilitydescription: Expert checklist and prompts for auditing and fixing Android accessibility issues, especially in Jetpack Compose.
Android Accessibility Checklist
Instructions
Analyze the provided component or screen for the following accessibility aspects.
1. Content Descriptions
Check: Do Image and Icon composables have a meaningful contentDescription?
Decorative: If an image is purely decorative, use contentDescription = null.
Actionable: If an element is clickable, the description should describe the action (e.g., "Play music"), not the icon (e.g., "Triangle").
2. Touch Target Size
Standard: Minimum 48x48dp for all interactive elements.
Fix: Use MinTouchTargetSize or wrap in Box with appropriate padding if the visual icon is smaller.
3. Color Contrast
Standard: WCAG AA requires 4.5:1 for normal text and 3.0:1 for large text/icons.
Tool: Verify colors against backgrounds using contrast logic.