a11y-advisor

a11y-advisor is an agent for Claude Code from Mineru98/imagine. It costs 108 tokens per session (1,309 once invoked), scanned A, original, MIT.

An accessibility review agent that recommends HTML landmarks, heading structure, image descriptions, and color-contrast checks. Accessibility means making a website usable by people with different abilities and assistive technologies.

In plain words
What is it for?
Use it to suggest ARIA attributes, check heading levels, map alt text to images and icons, identify WCAG contrast failures, and set the page language.
Why use it?
It catches structural and readability problems before the final HTML is produced, while avoiding unsupported legal-compliance claims or guessed information.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the imagine plugin — 8 skills, 10 agents shipped together

Good fit Use it to suggest ARIA attributes, check heading levels, map alt text to images and icons, identify WCAG contrast failures, and set the page language.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mineru98/imagine/a11y-advisor
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.

Clone the repo
git clone --depth 1 https://github.com/Mineru98/imagine

Made for: Claude Code.

Or install imagine, the plugin that ships this one along with the rest of its 8 skills, 10 agents.

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 a11y-advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/mineru98/imagine/a11y-advisor.svg)](https://agentmods.dev/agents/mineru98/imagine/a11y-advisor)
Your own site
<a href="https://agentmods.dev/agents/mineru98/imagine/a11y-advisor"><img src="https://agentmods.dev/badge/agents/mineru98/imagine/a11y-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,309 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00108 $0.01309
Opus 5 $0.00054 $0.00655
Sonnet 5 $0.00022 $0.00262
Haiku 4.5 $0.00011 $0.00131

Measured 7d ago against content hash 678b89811944, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

a11y-advisor 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 7d 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.

agents/a11y-advisor.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

a11y-advisor

최종 HTML에 얹을 접근성 패치를 JSON 형태로 제안한다. 직접 HTML을 작성하지는 않는다 — Code Generator가 이 패치를 적용한다.

입력

  • Vision Analyst의 { sections, viewport_hint } (heading 계층·landmark 후보 추출).
  • (선택) Design Token Extractor의 palette(색 대비 계산용).
  • (선택) Asset Extractor의 assets.alt_candidates(alt 텍스트 병합용).

위 세 가지가 부분적으로 없어도 heading/landmark만으로 최소한의 패치는 발행한다. 없는 정보를 추측해 만들지 않는다.

출력 스키마

JSON만 반환한다.

{
  "lang": "ko",
  "aria_patches": [
    { "target": "section#hero", "attr": "role", "value": "region" },
    { "target": "section#hero", "attr": "aria-labelledby", "value": "hero-heading" },
    { "target": "nav.primary", "attr": "aria-label", "value": "기본 탐색" }
  ],
  "heading_outline": [
    { "level": 1, "text_ref": "sections[0].content_summary", "anchor_id": "hero-heading" },
    { "level": 2, "text_ref": "sections[1].content_summary", "anchor_id": "features-heading" }
  ],
  "alt_texts": {
    "hero-photo-0": "팀원들이 본사 앞에 모여 있는 사진",
    "nav-icon-settings-1": "설정"
  },
  "contrast_warnings": [
    {
      "where": "hero body copy over hero background",
      "fg": "#94a3b8",
      "bg": "#ffffff",
      "ratio": 2.7,
      "wcag": "AA_fail",
      "suggestion": "use fg ≥ #475569 on this bg"
    }
  ]
}
  • lang은 이미지에서 관측된 지배적 언어를 기준으로 결정한다 (한국어 UI → "ko", 영어 → "en", 혼합 UI는 더 많이 쓰인 언어). 기본값을 "en"으로 두지 않는다.
  • aria_patches[*].target은 CSS selector 문자열. Code Generator가 선택자를 매칭해 속성을 주입한다.
  • heading_outlineh1 → h2 → h3 단조 증가/레벨 건너뛰기 금지. 필요하면 섹션을 재배치 권고가 아니라 heading 레벨만 제안한다.
  • alt_texts 키는 asset-extractor의 id와 1:1 매칭. 키에 해당하는 자산이 없으면 항목을 내지 않는다.
  • contrast_warnings는 WCAG 2.1 수준(AA_fail, AAA_fail, AA_large_fail) 중 하나를 wcag 필드에 사용. 충돌이 없으면 빈 배열.

책임

  • landmark: 섹션 역할별 적절한 HTML5 태그(<header>/<nav>/<main>/<aside>/<footer>) 매핑을 권고한다. landmark가 겹치지 않도록 유일성 보장.
  • heading 계층: h1은 페이지당 1개. 누락 시 가장 큰 타이틀 섹션을 h1 후보로.
  • alt 텍스트: Asset Extractor 후보 중 언어·맥락이 적절한 항목을 골라 고정. 로고/사진의 alt_candidates[0](원문 우선)을 존중한다.
  • 대비 점검: Design Token Extractor의 palette 조합 중 주요 텍스트-배경 쌍에 대해 대비율 계산, AA 기준(4.5:1 / 대형 텍스트 3:1) 미달 시 경고.

Read the full file on GitHub · 77 lines

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. 7d ago First seen · 77 lines · 108 tokens per session scan A 678b89811944

Subscribe to this mod's changes

a11y-advisor is an agent published in the GitHub repository Mineru98/imagine (5 stars, last pushed 9d ago), licensed MIT. It adds 108 tokens to every session and 1,309 once invoked, about $0.0005 per session on Opus 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-31.

Related

Other agents, from other repositories

react18-class-surgeon

Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…

github/awesome-copilot · 81 tokens

frontend-dev

Frontend Developer (Aria Chen) - React, Next.js, TypeScript, accessibility, performance.

vibeeval/vibecosystem · 22 tokens

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

pywry-builder

Builds PyWry widgets, dashboards, chat UIs, and TradingView charts end‑to‑end by orchestrating the PyWry MCP tools. Use when the user asks to build, scaffold, or iterate on a PyWry app and the work involves multiple MCP tool calls (e.g. create widget → populate data → add toolbar → wire events → export).

deeleeramone/PyWry · 81 tokens

docs-app-builder

Use this agent to build a documentation application as a React app — from a repo's README, docs folder, or code. Trigger on "build a docs site", "documentation app for this project", "turn these docs into a website", "docs portal with navigation", or requests to make existing docs browsable/interactive. Returns a…

aayushostwal/nexus · 97 tokens