ios-accessibility

dadederk/ios-accessibility-agent-skill · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/dadederk/ios-accessibility-agent-skill --skill ios-accessibility
0 commentsdiscussion
summary

This skill provides expert guidance on iOS accessibility, covering VoiceOver, Dynamic Type, assistive technologies, inclusive design practices, and both UIKit and SwiftUI implementations. Use this skill to help developers build apps that work for everyone.

skill.md

iOS Accessibility

Overview

This skill provides expert guidance on iOS accessibility, covering VoiceOver, Dynamic Type, assistive technologies, inclusive design practices, and both UIKit and SwiftUI implementations. Use this skill to help developers build apps that work for everyone.

The Approach

  • Shift-left — Accessibility is part of the process. It needs to be considered even in prototypes or MVPs.
  • User-centric — Accessibility is about people. Checklists help, but the goal is not checklist compliance. The goal is to offer a great experience for users with disabilities.
  • Progress over perfection — Anytime is a good time to start. Focus on iterative and incremental improvements as you go. It goes a long way.
  • Test as you go — Manual testing is part of development.

Agent Behavior Contract

  1. Accessibility is non-deterministic. Propose potential solutions in order of confidence and present with clear pros, cons, and trade-offs.
  2. Before proposing fixes, identify the platform (UIKit vs SwiftUI) and the assistive technology, accessibility feature, or design consideration in context.
  3. Do not recommend accessibility fixes without considering the user experience impact.
  4. Prefer manual testing guidance alongside code changes, together with any automated or semi-automated solutions.
  5. Cross-reference multiple assistive technologies when relevant (VoiceOver, Voice Control, Switch Control, Full Keyboard Access).

Anti-Patterns to Avoid

  • Do not add trait names to labels — Say "Close", not "Close button" (VoiceOver adds "button" automatically, when using the button trait)
  • Do not use .accessibilityHidden(true) on interactive elements — Users won't be able to access them
  • Do not use fixed font sizes — Always use text styles for Dynamic Type support
  • Do not use hardcoded colors for text — Use semantic colors (.label, .secondaryLabel) for contrast and Dark Mode
  • Do not group UIKit elements without a clear combined label — If isAccessibilityElement = true, set accessibilityLabel (and value/traits as needed).
  • Do not group SwiftUI elements without a clear combined label — If .accessibilityElement(children: .ignore) is used, provide label/value/traits manually.
  • Do not add hints unless needed — It should be clear what a component expresses, and does, by its label/value/traits. Only configure for adding extra clarity or context.
  • Do not rely on onTapGesture alone — Prefer semantic controls like Button. If gesture handling is unavoidable, add button traits and clear labels.
  • Do not scale chrome controls with Dynamic Type — For navigation bars, toolbars, and tab bars, prefer Large Content Viewer (iOS 13+) using .accessibilityShowsLargeContentViewer / UILargeContentViewerItem.

General Guidance

Prefer native components: Whenever possible, use Apple's native components and customize them to your needs instead of building custom components from scratch.

Design system first: Whenever the project uses a design system of its own (colors, text styles, component catalog), propose changes in the design system itself so the improvement snowballs everywhere in the app using an improved component.

Platform parity: The same accessibility principles apply to both UIKit and SwiftUI, but APIs and implementation details differ.

Project Settings Intake (Evaluate Before Advising)

Before providing accessibility guidance, determine:

Project Capabilities

Project Conventions

  • Design system — Does the project define its own design system (colors, text styles, UI component catalogue)? Propose changes in the design system when appropriate, not only per-feature.
  • Semantic colors and text styles — Does the project use semantic colors (.label, .systemBackground) and text styles (.preferredFont(forTextStyle:) in UIKit, .font(.body) in SwiftUI) vs hardcoded values?
  • Existing accessibility patterns — Search for .accessibilityLabel, .accessibilityTraits, etc. to match project style.
  • Localization — Accessibility labels, values, and hints should be localized. Match the project's localization conventions.
  • UI construction — Interface Builder (XIB/Storyboard) or code-only?
  • Custom gestures — Identify if custom gestures need accessible alternatives.
  • Accessibility test coverage — Existing UI tests auditing for accessibility?

When Settings Are Unknown

If you can't determine the above, ask the developer to confirm before giving version-specific or framework-specific guidance.

Quick Decision Tree

When a developer needs accessibility guidance, follow this decision tree:

  1. VoiceOver issues?

    • Core concepts: Read references/voiceover.md
    • UIKit implementation: Read references/voiceover-uikit.md
    • SwiftUI implementation: Read references/voiceover-swiftui.md
  2. Dynamic Type, text scaling, or adaptive layout?

    • Core concepts: Read references/dynamic-type.md
    • UIKit implementation: Read references/dynamic-type-uikit.md
    • SwiftUI implementation: Read references/dynamic-type-swiftui.md
  3. Other assistive technologies?

    • Voice Control: Read references/voice-control.md
    • Switch Control: Read references/switch-control.md
    • Full Keyboard Access: Read references/full-keyboard-access.md
  4. Testing accessibility?

    • Manual testing: Read references/testing-manual.md
    • Automated testing: Read references/testing-automated.md
  5. Cross-cutting concerns?

    • Contrast, targets, motion, haptics: Read references/good-practices.md
    • Culture and mindset: Read references/concepts-and-culture.md
  6. Quick reference needed?

    • Common mistakes, patterns, checklists: Read references/playbook.md
  7. Need definitions or sources?

    • Glossary: Read references/glossary.md
    • Sources and further reading: Read references/resources.md

Quick Playbook (Start Here)

  1. Confirm framework (UIKit vs SwiftUI) and iOS target.
  2. Identify assistive technology and user-experience issue.
  3. Use the Decision Tree and jump into the relevant reference file.
  4. Whenever it makes sense, provide 2-3 options with trade-offs and expected UX impact.
  5. Always include testing guidance alongside any code changes.

For common mistakes, inspector warnings, code patterns, version-specific APIs, and checklists, use references/playbook.md.

Example Prompts and Expected Shape

Example prompt: “VoiceOver reads ‘button’ for my close button.” Expected response:

  • Confirm framework and iOS target if unknown.
  • Provide options when there are multiple viable approaches (for example, add an accessibility label vs a labeled button using icon-only style), with trade-offs.
  • Include a framework-appropriate snippet.
  • Add testing steps (VoiceOver, Voice Control...).

Example prompt: “Dynamic Type breaks my header layout in UIKit.” Expected response:

  • Confirm preferredContentSizeCategory handling and iOS target.
  • Suggest layout adaptation strategies (stack axis change vs constraints).
  • Include a UIKit snippet and testing steps at Large Accessibility Sizes.

Edge Cases and Gotchas

  • Mixed UIKit/SwiftUI screens: use correct API set per view layer.
  • Custom controls or gestures: always provide a VoiceOver/Voice Control alternative.
  • Unknown iOS target: ask before suggesting version-specific APIs.
  • No code context: ask for relevant view code or a screenshot of the Accessibility Inspector.
  • Localization: all labels, values, and hints (and any other string parameter like custom content, or accessibility announcements, etc.) must be localized.
how to use ios-accessibility

How to use ios-accessibility on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add ios-accessibility
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/dadederk/ios-accessibility-agent-skill --skill ios-accessibility

The skills CLI fetches ios-accessibility from GitHub repository dadederk/ios-accessibility-agent-skill and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/ios-accessibility

Reload or restart Cursor to activate ios-accessibility. Access the skill through slash commands (e.g., /ios-accessibility) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.574 reviews
  • Dhruvi Jain· Dec 28, 2024

    ios-accessibility fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Hana Anderson· Dec 28, 2024

    Registry listing for ios-accessibility matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Ishan Patel· Dec 24, 2024

    ios-accessibility has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Kiara Jain· Dec 24, 2024

    Keeps context tight: ios-accessibility is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Meera Martinez· Dec 24, 2024

    Solid pick for teams standardizing on skills: ios-accessibility is focused, and the summary matches what you get after install.

  • Ira Martinez· Dec 20, 2024

    ios-accessibility is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Oshnikdeep· Nov 19, 2024

    ios-accessibility is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Meera Farah· Nov 19, 2024

    Registry listing for ios-accessibility matched our evaluation — installs cleanly and behaves as described in the markdown.

  • William Malhotra· Nov 15, 2024

    Useful defaults in ios-accessibility — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Kiara Ghosh· Nov 15, 2024

    We added ios-accessibility from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 74

1 / 8