android-accessibility
Skill11 starsChanged 8 months agoMITView on GitHub
Use when improving app accessibility, ensuring WCAG compliance, or fixing TalkBack navigation for Android.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- GuillemRoca/agent-skills-androidtheir own version, first seen Oct 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- GuillemRoca/agent-skills-android★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository40 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- android-adaptive-layoutsSkill
- android-adb-terminalSkill
- android-background-executionSkill
- android-bluetooth-bleSkill
- android-build-verificationSkill
- android-camerax-mlkitSkill
- android-ci-cd-expertSkill
- android-clean-architectureSkill
- android-code-review-expertSkill
- android-coroutines-expertSkill
- android-custom-drawing-canvasSkill
- android-design-system-m3Skill
- android-design-to-codeSkill
- android-detekt-expertSkill
- android-enterprise-securitySkill
- android-gemini-nanoSkill
- android-google-workspace-expertSkill
- android-gradle-expertSkill
- android-hardware-testingSkill
- android-jetpack-composeSkill
- android-kmp-compose-uiSkill
- android-kmp-platform-channelsSkill
- android-kmp-sharedSkill
- android-ktlint-formattingSkill
- android-lint-and-qualitySkill
- android-local-stt-ttsSkill
- android-location-mapsSkill
- android-macrobenchmarkSkill
- android-media3-exoplayerSkill
- android-media-and-image-expertSkill
- android-motion-animationsSkill
- android-navigation-expertSkill
- android-offline-firstSkill
- android-performance-auditSkill
- android-rag-localSkill
- android-screenshot-testingSkill
- android-security-hardenedSkill
- android-unit-testingSkill
- android-wear-os-composeSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
Rule: Every Image, IconButton, or clickable decorative icon MUST have a descriptive contentDescription.
- Very specific: line 43
Use Modifier.semantics { ...
- Very specific: line 44
Use Modifier.clearAndSetSemantics { ...
- Very specific: line 59
Dynamic Type: Ensure layouts resize correctly for large font scales (@PreviewFontScales).
- Distinctive: line 63
Accessibility Scanner: Use the Google app to automatically scan screens for common issues.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Android Accessibility Excellence ♿🛡️
Standard practices for creating inclusive, easy-to-use Android applications that comply with WCAG 2.1+ standards.
⚡ When to Use
- Accessibility Audit: Reviewing current UI for screen reader issues.
- Compose Semantics: Customizing how UI elements are announced.
- Contrast Ratios: Ensuring text is readable for low-vision users.
- Screen Reader Support: Optimizing navigation with TalkBack.
- Touch Target Sizes: Ensuring buttons and links are easy to hit.
🏗️ The 4 Principles (POUR)
- Perceivable: Users can perceive all info via sight, sound, or touch.
- Operable: Users can interact with the app via various methods.
- Understandable: UI and navigation are predictable.
- Robust: Compatible with many assistive tools.
🛠️ Compose Semantics Essentials
1. contentDescription
- Rule: Every
Image,IconButton, or clickable decorative icon MUST have a descriptivecontentDescription. - Bad:
contentDescription = "icon"ornullfor meaningful icons. - Good:
contentDescription = "Search for products"orcontentDescription = nullfor purely decorative items.
2. Semantic Properties
- Use
Modifier.semantics { ... }for custom descriptions or element roles. - Use
Modifier.clearAndSetSemantics { ... }to hide complex child hierarchies from screen readers.
3. Merging Descendants
- For a list item, use
Modifier.semantics(mergeDescendants = true)to announce the whole item at once.Row(modifier = Modifier.semantics(mergeDescendants = true).clickable { ... }) { Text("Order #123") Text("Status: Shipped") }
📐 Design Best Practices
- Contrast: Aim for 4.5:1 for normal text and 3:1 for large text.
- Touch Targets: Minimum size of 48dp x 48dp.
- Dynamic Type: Ensure layouts resize correctly for large font scales (
@PreviewFontScales).
🧪 Testing and Verification
- Accessibility Scanner: Use the Google app to automatically scan screens for common issues.
- TalkBack: Manually test with the screen reader enabled on a physical device.
- Lint Checks: Enable
@LintRulefor missingcontentDescription.
📜 Checklist for Developers
- Descriptive Labels: All actionable items state their purpose (e.g., "Delete Comment" vs "Delete").
- State Announcements: Use
liveRegionorAnnounceAccessibilityEventfor dynamic updates (e.g., "Added to cart"). - Navigation Order: Ensure focus moves in a logical left-to-right, top-to-bottom order.
- Role Identification: Mark elements as buttons, checkboxes, or headers.
🔗 Related Resources
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

