Swiftui Accessibility
Generates accessible SwiftUI views with proper labels, hints, and traits for inclusive iOS applications.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add swiftui-accessibility npx -- -y @trustedskills/swiftui-accessibility
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"swiftui-accessibility": {
"command": "npx",
"args": [
"-y",
"@trustedskills/swiftui-accessibility"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to generate SwiftUI code that adheres to accessibility best practices. It focuses on creating user interfaces usable by individuals with disabilities, incorporating features like dynamic type support and VoiceOver compatibility. The generated code ensures elements are properly labeled and navigable for assistive technologies.
When to use it
- Creating accessible iOS apps: When developing a new iOS application or feature where accessibility is a key requirement.
- Retrofitting existing SwiftUI views: To improve the accessibility of older SwiftUI components that may lack proper accessibility features.
- Generating code snippets for developers: Providing developers with ready-to-use, accessible SwiftUI code examples.
- Automating accessibility checks: Integrating into a development workflow to automatically generate accessible UI elements.
Key capabilities
- Generates SwiftUI code.
- Implements dynamic type support.
- Ensures VoiceOver compatibility.
- Creates properly labeled UI elements.
Example prompts
- "Generate an accessible button in SwiftUI with the label 'Submit'."
- "Create a list view in SwiftUI that is compatible with VoiceOver."
- "Write SwiftUI code for a text field that supports dynamic font sizes."
Tips & gotchas
This skill requires basic familiarity with SwiftUI concepts. While it generates accessible code, thorough testing with assistive technologies is still recommended to ensure optimal usability.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.