# iOS accessibility

> iOS accessibility is an open-source agent skill for developer tools. Guides SwiftUI apps toward VoiceOver, Dynamic Type and contrast-compliant accessibility. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/pstuart/pstuart/tree/main/plugins/swift-modern-dev/skills/ios-accessibility
- **Repository:** https://github.com/pstuart/pstuart
- **GitHub stars:** 20
- **License:** MIT
- **Skill name:** ios-accessibility
- **Collection:** https://github.com/pstuart/pstuart
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill gives an agent a set of accessibility baselines for SwiftUI apps on iOS and macOS, covering labels for icon-only controls, Dynamic Type scaling, touch target sizing, color contrast and focus order. It includes a short decision guide that points the agent to the right fix for common cases such as unlabeled images, grouped controls, custom controls and motion-heavy interfaces.

The guidance is delivered as a compact reference with a dos-and-don'ts table, Swift code snippets for labels, traits, combined child elements and custom accessibility actions, and a checklist the agent can run through before finishing a change. It is written to be used while implementing or reviewing a feature rather than as a full audit tool, and it does not include scripts.

The skill is a single SKILL.md file. It expects a SwiftUI codebase and the agent's own editing ability; it does not call external services or require any particular tool beyond what the coding agent already has.

## When your agent uses it

> Use when implementing or auditing VoiceOver, Dynamic Type, accessibility labels, focus, contrast, or Hit-testing for SwiftUI iOS/macOS apps.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/pstuart/pstuart/tree/HEAD/plugins/swift-modern-dev/skills/ios-accessibility)
- [License: MIT](https://github.com/pstuart/pstuart/tree/HEAD/plugins/swift-modern-dev/skills/ios-accessibility)

## Features

- **Icon control labels:** Shows how to give icon-only buttons meaningful labels and selected traits.
- **Dynamic Type support:** Covers keeping text scalable and avoiding clipped essential content at large sizes.
- **Touch target sizing:** Sets a minimum interactive size guideline for controls.
- **Contrast and color use:** Reminds the agent not to rely on color alone and to keep text and icons readable.
- **Element grouping:** Explains combining child elements and adding named custom actions.
- **Focus and reading order:** Checks that VoiceOver order follows the visual reading order and decorative images are hidden.
- **Pre-finish checklist:** Gives a short list to verify accessibility before completing a change.

## Good for

- Add VoiceOver labels to the icon buttons in my SwiftUI screen
- Audit this iOS view for Dynamic Type clipping
- Check that my custom control exposes the right traits and actions
- Review a macOS SwiftUI feature for contrast and touch target problems
- Fix the VoiceOver reading order on a settings page

## Install

### Claude Code

This skill ships in the `swift-modern-dev` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add pstuart/pstuart
/plugin install swift-modern-dev@pstuart
```

Or copy only this skill to `~/.claude/skills/ios-accessibility`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ios-accessibility &&
cp -R "$tmp/plugins/swift-modern-dev/skills/ios-accessibility" ~/.claude/skills/ios-accessibility &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ios-accessibility` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ios-accessibility` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ios-accessibility &&
cp -R "$tmp/plugins/swift-modern-dev/skills/ios-accessibility" ~/.agents/skills/ios-accessibility &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ios-accessibility` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ios-accessibility` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ios-accessibility &&
cp -R "$tmp/plugins/swift-modern-dev/skills/ios-accessibility" ~/.cursor/skills/ios-accessibility &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ios-accessibility` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/pstuart/pstuart.git --path plugins/swift-modern-dev/skills/ios-accessibility
```

Or copy the folder to `~/.gemini/skills/ios-accessibility` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ios-accessibility`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ios-accessibility &&
cp -R "$tmp/plugins/swift-modern-dev/skills/ios-accessibility" ~/.copilot/skills/ios-accessibility &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ios-accessibility` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/pstuart/pstuart.git
```

Then copy `pstuart/plugins/swift-modern-dev/skills/ios-accessibility` into your agent's skills folder as `ios-accessibility`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What kind of project does iOS accessibility apply to?

It is aimed at SwiftUI apps for iOS and macOS, covering VoiceOver, Dynamic Type, labels, focus, contrast and hit-testing.

### Does iOS accessibility run any scripts or tools?

No. The skill contains only its SKILL.md file and no scripts.

### When does the agent load iOS accessibility?

When a task involves implementing or auditing VoiceOver, Dynamic Type, accessibility labels, focus, contrast or hit-testing in SwiftUI code.

### How do I install iOS accessibility in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ios-accessibility to use it in all your projects, or to .claude/skills/ios-accessibility in one project. Or install the swift-modern-dev plugin, which includes it: /plugin marketplace add pstuart/pstuart, then /plugin install swift-modern-dev@pstuart.

### Does iOS accessibility run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use iOS accessibility?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to iOS accessibility?

The closest alternatives to iOS accessibility are Accessibility, Axiom accessibility, Axiom audit accessibility, Mac design and Build swiftui interface.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Accessibility](https://ai-powered.com/skills/accessibility): Accessibility is an open-source agent skill for developer tools.
- [Axiom accessibility](https://ai-powered.com/skills/axiom-accessibility-charleswiltgen-2): Axiom accessibility is an open-source agent skill for developer tools.
- [Axiom audit accessibility](https://ai-powered.com/skills/axiom-audit-accessibility): Axiom audit accessibility is an open-source agent skill for developer tools.
- [Mac design](https://ai-powered.com/skills/mac-design): Mac design is an open-source agent skill for developer tools.
- [Build swiftui interface](https://ai-powered.com/skills/build-swiftui-interface): Build swiftui interface is an open-source agent skill for developer tools.
- [Design](https://ai-powered.com/skills/design-rshankras): Design is an open-source agent skill for design and media.
- [Axiom swiftui](https://ai-powered.com/skills/axiom-swiftui-charleswiltgen-2): Axiom swiftui is an open-source agent skill for developer tools.
- [Accessibility review](https://ai-powered.com/skills/accessibility-review): Accessibility review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ios-accessibility
