accessibility

accessibility is a cursor rule for coding agents from cmaranho/rn-agent-skills. It costs 0 tokens per session (161 once invoked), scanned A, original, MIT.

Rules for making interactive components accessible to people using assistive technology, such as screen readers. They require meaningful roles, labels, contrast, touch areas, and focus order.

In plain words
What is it for?
Use them when building reusable buttons, inputs, and other interactive components, especially for mobile interfaces.
Why use it?
They reduce problems where users cannot identify, select, or operate controls reliably, including in end-to-end tests.

Cursor rule

Install

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.

agentmods
npx agentmods add rules/cmaranho/rn-agent-skills/accessibility
Clone the repo
git clone --depth 1 https://github.com/cmaranho/rn-agent-skills

Wrote 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.

agentmods badge for accessibility

README.md
[![agentmods](https://agentmods.dev/badge/rules/cmaranho/rn-agent-skills/accessibility.svg)](https://agentmods.dev/rules/cmaranho/rn-agent-skills/accessibility)
Your own site
<a href="https://agentmods.dev/rules/cmaranho/rn-agent-skills/accessibility"><img src="https://agentmods.dev/badge/rules/cmaranho/rn-agent-skills/accessibility.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 161 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00161
Opus 5 $0.00000 $0.00081
Sonnet 5 $0.00000 $0.00032
Haiku 4.5 $0.00000 $0.00016

Measured 3d ago against content hash f3e9aa562043, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 3d 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.

rules/accessibility.mdc · 16 lines

What it actually says

Acessibilidade

  • Todo componente interativo define papel de acessibilidade (accessibilityRole).
  • Todo interativo define rótulo (accessibilityLabel) descritivo e único na tela.
  • Componentes reutilizáveis expõem prop opcional de rótulo, com fallback para o texto visível.
  • Rótulos estáveis e previsíveis (sem texto instável), permitindo seleção em E2E.
  • Prefira seletores de acessibilidade a identificadores de teste.
  • Contraste, área de toque e ordem de foco adequados.
  • Sem rótulos genéricos (button1) ou duplicados na mesma tela.
Changes

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.

  1. 3d ago First seen · 16 lines · 161 tokens per session scan A f3e9aa562043

Subscribe to this mod's changes

accessibility is a cursor rule published in the GitHub repository cmaranho/rn-agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 161 tokens. 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-31.