Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Cap-go/capgo-skills --skill capacitor-accessibilitygit clone --depth 1 https://github.com/Cap-go/capgo-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cap-go/capgo-skills/capacitor-accessibility)<a href="https://agentmods.dev/skills/cap-go/capgo-skills/capacitor-accessibility"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/capacitor-accessibility/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cap-go/capgo-skills/capacitor-accessibility"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/capacitor-accessibility.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00198 | $0.01821 |
| Opus 5.5 | $0.00079 | $0.00728 |
| Sonnet 5.5 | $0.00040 | $0.00364 |
| Haiku 4.5 | $0.00020 | $0.00182 |
Grade A, and why
capacitor-accessibility scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Accessibility in Capacitor Apps
The UI is web content inside WKWebView / Android WebView, so standard semantic HTML and ARIA do most of the work. This skill covers where the WebView and native layers behave differently from a browser.
When to Use
TRIGGER when:
- User asks for VoiceOver/TalkBack support, an accessibility audit, WCAG 2.2 / EAA / ADA compliance.
- Text does not grow with iOS Larger Text, or the layout breaks at large Android font sizes.
- Screen reader does not announce page changes, toasts, or loading states.
- A native view (map, camera preview, video player) cannot be reached by the screen reader.
- User wants
@capacitor/screen-readeror@capacitor/text-zoom.
Do not use:
- Ionic component APIs/theming ->
ionic-design; Konsta/Tailwind ->konsta-ui,tailwind-capacitor. - Content under notch/home indicator ->
safe-area-handling. - Keyboard covering inputs ->
capacitor-keyboard. - E2E test infrastructure ->
capacitor-testing.
Procedure
Use a user-selected test device and local web build. Prefer the project-installed axe dependency. Installing or running an npm tool downloads executable code; do so only as part of the requested audit, and preserve the lockfile. Restore device settings after testing.
- Inventory screens into a TODO list (auth, main tabs, forms, modals, media, settings). Audit one at a time.
- Automated pass on the web build: run axe (
@axe-core/playwrightin tests, ornpx @axe-core/cli@latest http://localhost:5173) and fix violations first (names, roles, contrast, labels). - Device pass per screen with VoiceOver and TalkBack, largest text size, Reduce Motion, and a Bluetooth keyboard (iPad). Use the checks in
references/testing.md. - Fix Capacitor-specific traps below.
- Report findings per screen with WCAG criterion, severity, and fix before large refactors; ask before changing design tokens (colors, font sizes).
Capacitor-Specific Traps
- iOS Dynamic Type is ignored by default. WKWebView renders
px/remtext at fixed size regardless of Settings > Accessibility > Larger Text. Options:- CSS:
html { font: -apple-system-body; }and size everything else inrem/em(WebKit maps this to the user's content size category; updates live). - Or
TextZoom.getPreferred()thenTextZoom.set({ value })from@capacitor/text-zoomon launch and onresume. On iPad this requiresios.preferredContentMode: 'mobile'incapacitor.config.*. Pick one, not both, or text scales twice.
- CSS:
- Android font scale applies automatically. Android WebView scales text with the system font size, so fixed-height containers,
line-clamp, and absolute layouts overflow at 200%. Test withadb shell settings put system font_scale 2.0and design for reflow (WCAG 1.4.4, 1.4.10). - Pinch zoom.
zoomEnableddefaults tofalseand many templates shipuser-scalable=no. Users can still scale text via traps 1/2; if you rely on zoom instead, setzoomEnabled: trueand dropuser-scalable=no. - SPA navigation is silent. Route changes do not trigger a page-load announcement. After navigation set
document.title, move focus to the main heading (<h1 tabindex="-1">), or update a polite live region. Do not useScreenReader.speakas the primary mechanism: it only speaks when a screen reader is active and bypasses the user's verbosity settings. - Native views under or over the WebView.
@capacitor/google-mapsrenders a native map behind a transparent WebView region; camera preview plugins do the same. The screen reader sees the WebView, not the native view. Provide an accessible alternative (list of markers, text summary, capture button with label) in HTML. - Native plugin UI. Dialogs, action sheets, share sheets, pickers from official plugins are native and accessible by default; custom native screens in your own plugins need
accessibilityLabel/contentDescription(seereferences/native.md). - Touch targets. Apple HIG minimum 44x44 pt; Material 48x48 dp; WCAG 2.2 2.5.8 minimum 24x24 CSS px. Icon buttons need padding, not just a small SVG.
- Motion and contrast.
prefers-reduced-motionandprefers-contrastmedia queries work in both WebViews. Disable parallax/auto-playing transitions under reduce motion; test Increase Contrast. - Status changes. Toasts (
@capacitor/toastis native and announced), inline errors, spinners: userole="status"/aria-live="polite"for web toasts andaria-busyon loading regions; userole="alert"only for errors. - Focus after native round-trips. After a native modal (camera, share, auth browser) closes, focus may land on
<body>. Restore focus to the triggering control onappStateChange/promise resolution.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 22d ago Changed · +2 lines 7191fbe7f2e6
- 1mo ago Changed · -106 lines · +160 tokens per session 508f39baabbc
- 3mo ago First seen · 179 lines · 38 tokens per session scan A 4fbe025dd0b9
capacitor-accessibility is a skill published in the GitHub repository Cap-go/capgo-skills (79 stars, last pushed 22d ago), licensed MIT. It adds 198 tokens to every session and 1,821 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
capacitor-accessibility compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| capacitor-accessibilityCap-go/capgo-skills | Skill | 79 | 22d ago | MIT | A | 198 | Claude Code |
| capacitor-pluginscapawesome-team/skills | Skill | 58 | yesterday | MIT | A | 171 | Claude Code, Codex |
| capacitor-expertcapawesome-team/skills | Skill | 58 | yesterday | MIT | A | 118 | Claude Code, Codex |
| ionic-appflow-migrationcapawesome-team/skills | Skill | 58 | yesterday | MIT | A | 198 | Claude Code, Codex |
| ionic-expertcapawesome-team/skills | Skill | 58 | yesterday | MIT | A | 108 | Claude Code, Codex |
| capgo-cloud-migrationcapawesome-team/skills | Skill | 58 | yesterday | MIT | A | 200 | Claude Code, Codex |
| ionic-app-developmentcapawesome-team/skills | Skill | 58 | yesterday | MIT | A | 102 | Claude Code, Codex |