Skip to main content
Glama

a11y-toolkit MCP

CI License: MIT Python 3.9+ MCP

Набор инструментов WCAG 2.2 для доступности в виде MCP-сервера (Model Context Protocol) для ИИ-агентов — плюс унифицированный CLI. Ноль зависимостей в ядре; вся математика локальная и точная (официальная формула относительной светимости).

Полный цикл аудит → исправление → документирование → контроль регрессий — в одном наборе инструментов:

  1. Аудит: экспресс-аудит WCAG любого URL (результаты, ранжированные по серьёзности)

  2. Исправление: точные проверки контраста — цветовые пары и текст поверх изображений (попиксельная выборка реального фона) — с предложениями ближайшего проходящего цвета

  3. Документирование: юридические декларации доступности (ЕС), генерируемые как доступный HTML

  4. Контроль: снимки + различия между сборками для выявления регрессий доступности до продакшена

Многоязычность es/en во всех инструментах (декларации на EN используют формулировки Директивы (ЕС) 2016/2102 и Директивы (ЕС) 2019/882 — Европейского акта о доступности —, полезно по всему ЕС).

Инструменты MCP (9)

Инструмент

Что делает

a11y_audit_url

Экспресс-аудит WCAG URL: изображения без alt (1.1.1), элементы управления без доступных имён (4.1.2), поля форм без меток (3.3.2), отсутствие lang/title (3.1.1, 2.4.2), пропуски уровней заголовков (1.3.1), заблокированное масштабирование (1.4.4), положительный tabindex (2.4.3), iframe без заголовка. Ранжировано по серьёзности. Фильтр, а не вердикт — автоматизация покрывает ~1/3 WCAG.

a11y_contrast_pair

Точный коэффициент контраста + вердикты по каждому критерию: 1.4.3 (AA), 1.4.6 (AAA), 1.4.11 (не-текст). Если AA не пройден, предлагает ближайший проходящий цвет.

a11y_contrast_image

Текст поверх изображений: попиксельная выборка реального фона за текстовым блоком → худший/медианный/p95 коэффициент, % площади, проходящей AA, и zona_peor (автоматическое обнаружение неблагоприятной зоны на сетке 3×3). То, что не могут сделать проверки только пар.

a11y_suggest_color

Ближайший к вашему цвет, достигающий целевого коэффициента (по умолчанию 4.5).

a11y_generate_declaration

Юридическая декларация доступности в HTML: RD 1112/2018 ст. 10 (Испания, государственный сектор) или формулировки Ley 11/2023 / Европейского акта о доступности. es/en. Сгенерированный документ сам по себе доступен.

a11y_snapshot

Снимок доступности URL: интерактивные элементы (тег, роль, доступное имя, href) + реальный порядок фокуса по Tab. Требует Playwright локально.

a11y_diff

Сравнивает два снимка: добавленные/удалённые/переименованные интерактивные элементы и изменения порядка фокуса. Принимает встроенный JSON или пути к файлам.

a11y_diff_urls

Снимок двух URL и сравнение одним вызовом (staging против production).

a11y_aria_live_snippet

Внедряемый монитор, который записывает каждое объявление динамической области (aria-live, role=alert/status): время, вежливость, роль, текст — то, что сказал бы скринридер, видимое на экране.

Related MCP server: accessibility-mcp-server

Установка как MCP

{
  "mcpServers": {
    "a11y-toolkit": {
      "command": "python3",
      "args": ["/path/to/a11y-toolkit/server.py"]
    }
  }
}

Или с помощью uv, без клонирования:

{
  "mcpServers": {
    "a11y-toolkit": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/kinti/a11y-toolkit", "a11y-toolkit-mcp"]
    }
  }
}

Добавьте "timeoutMs": 60000, если планируете использовать a11y_snapshot (запуск браузера).

Единый CLI — одна команда для всего

a11y pair "#1f2328" "#fbfaf7"                     # contrast, per-criterion verdicts
a11y image hero.jpg --text "#ffffff" --region 120,40,420,90
a11y audit --url https://example.com              # express WCAG audit
a11y declaration --entidad "Acme" --url https://acme.example \
       --estado parcial --marco eaa --lang en --output decl.html
a11y snapshot https://mysite --out before.json    # before deploy (needs Playwright)
a11y diff before.json after.json                  # after deploy

Запуск из репозитория: python3 a11y.py <subcommand>.

Интерпретация режима изображения

  • ratio_peor (худший) — самое неблагоприятное место для цвета вашего текста.

  • area_pasa_aa_texto_normal_4_5 — % безопасной поверхности. Если < 100% там, где находится текст: затемнение/оверлей, обрезка или перемещение текста.

  • zona_peor — ячейка сетки 3×3, которая проваливается сильнее всего, с точными координатами.

Безопасность и область применения

Локальный инструмент: работает на вашей машине от вашего имени. Аргументы path (изображение) и output_path (декларация) читают/записывают локальные пути — используйте его в доверенных MCP-клиентах. Ничего не отправляется по сети (кроме получения URL, который вы явно проверяете).

Технические примечания

  • Декодирование изображений: Pillow, если доступен, иначе sips (macOS); PPM всегда (поэтому CI не требует зависимостей).

  • Монитор aria-live несёт задокументированный урок дизайна: его панель намеренно НЕ является живой областью и исключает себя из наблюдателя — панель с role="log" совпала бы с собственным селектором и создала бы бесконечный цикл самонаблюдения. Мы знаем, потому что это случилось с нами.

  • Протестировано на реальных продакшен-сайтах (собственных сайтах автора, которые должны проходить собственный аудит).

  • Веб-версии для людей (та же математика): jquin.net/lab — контраст (пары + изображение), генератор деклараций, монитор aria-live, сравнение сборок.


Испанский

Набор инструментов доступности WCAG 2.2 как MCP-сервер + единый CLI. Ноль зависимостей в ядре (Pillow опционален; sips на macOS; PPM всегда). Весь цикл в одном наборе: аудит (a11y_audit_url) → исправление (контраст пар и текст поверх изображения с попиксельной выборкой и обнаружением неблагоприятной зоны; предложение доступного цвета) → документирование (юридическая декларация RD 1112/2018 ст. 10 или Ley 11/2023/EAA, в доступном HTML) → контроль (снимки и diff между сборками: добавленные/удалённые/переименованные и порядок фокуса).

9 инструментов MCP (см. таблицу выше) · многоязычность es/en (декларация на EN использует терминологию Директив (ЕС) 2016/2102 и 2019/882) · единый CLI a11y с подкомандами pair, image, audit, declaration, snapshot, diff.

{ "mcpServers": { "a11y-toolkit": {
    "command": "python3", "args": ["/ruta/al/repo/server.py"] } } }

Локальный инструмент: аргументы path и output_path читают/записывают локальные пути; ничего не выходит в сеть, кроме URL, который вы явно проверяете. Монитор aria-live документирует свой урок дизайна: панель НЕ является живой областью и самоисключается из наблюдателя (role="log" совпал бы с собственным селектором и создал бы бесконечный цикл самонаблюдения — мы знаем, потому что это случилось с нами). Веб-версии для людей: jquin.net/lab.

Автор

Jesús Quintana Fernández (jquin.net) — SEO/GEO-консультант и практик веб-доступности с 2003 года. MIT © 2026.

Available Tools

38 tools
a11y_aria_live_snippeta11y-toolkit: aria-live monitor snippetA
Read-onlyIdempotent

Returns injectable JavaScript for an aria-live announcement monitor (bookmarklet or page.evaluate): logs every dynamic-region announcement with time, politeness, role and text — what a screen reader would say, visible on screen. — Diagnostics aid to inject in a browser; not an audit by itself. Returns the injectable JavaScript as text (bookmarklet or page.evaluate).

Inputs: lang.

a11y_audit_doma11y-toolkit: Rendered WCAG auditA
Read-onlyIdempotent

Deep RENDERED WCAG audit via local Playwright/Chromium: real computed text contrast against effective backgrounds with alpha compositing (1.4.3), pixel-sampled measurement of text over images/gradients (background captured with the text transparent), minimum target size 24×24 (2.5.8, new in WCAG 2.2), visible focus indicator heuristic (2.4.7), plus rendered versions of the static checks (alt, accessible names, labels, headings, lang/title, tabindex, aria-hidden, captions, tables). Findings include remediation. HTTP contract: the report carries http_status, its url is the FINAL page after redirects (requested_url keeps the original), and a 4xx/5xx response is returned as an error — the audited content still rides along, but no CI gate can pass on an error response. Requires playwright: pip install playwright && playwright install chromium. — Use instead of a11y_audit_url on JS-heavy pages; needs local Playwright. Returns JSON: {mode, url, score 0-100, findings [{criterion, severity, signal, issue, remediation}], summary, score_note} — same shape as the static audit.

Inputs: url (required), lang, target, browser, +4 more.

a11y_audit_pdfa11y-toolkit: PDF accessibility screeningA
Read-onlyIdempotent

PDF accessibility screening — the space nobody automated (axe, pa11y, Lighthouse: HTML only). Zero-dep structural first pass on a LOCAL file: tagged tree (/StructTreeRoot — the root failure), title, language, outline, /Alt entries, text layer (scanned detection), encryption, and AcroForm fields without accessible labels (/TU — what a screen reader announces; 3.3.2 inputs, 4.1.2 buttons). Full PDF/UA conformance needs a spec validator (veraPDF); this finds the failures that make full validation pointless. Use for enterprise document pipelines and PDFs linked from the audited site. Inputs over 30 MB return an error before scoring. Returns JSON: {mode: "pdf", pages, tagged, lang, title, images, alt_entries, form_fields, form_labels, findings, summary, limits}.

Inputs: path (required), lang.

a11y_audit_urla11y-toolkit: Express WCAG auditA
Read-onlyIdempotent

Express WCAG 2.2 audit of a URL or an HTML string: 20+ automated signals with a weighted 0-100 score — images without alt (1.1.1), low-quality alt text (filenames, generics, placeholders; also 1.1.1), controls without accessible names (4.1.2), form fields without labels (3.3.2), missing autocomplete on user-data fields (1.3.5), click handlers on non-interactive elements (2.1.1), unknown ARIA roles and broken aria-labelledby (4.1.2), duplicated unnamed landmarks, timed meta refresh (2.2.1), missing skip mechanism (2.4.1), lang/title (3.1.1, 2.4.2), heading structure (1.3.1), blocked zoom (1.4.4), captions (1.2.2), autoplay audio (1.4.2), generic/duplicated link text (2.4.4), target=_blank without warning (3.2.5), positive tabindex (2.4.3), aria-hidden on focusable elements, tables without th, duplicate ids, duplicate accesskeys, headings overridden by another role (1.3.1), letter/line/word-spacing !important inline (1.4.12, ACT 24afc2/78fd32/9e45ec), autocomplete purpose contradicting the field type (1.3.5). Each finding includes concrete remediation. Filter, not verdict: automation covers ~1/3 of WCAG; query a11y_criterion for what a criterion means. — Prefer a11y_audit_dom when JS renders the content or contrast/2.5.8/focus matter; use pages for light multi-page sampling. Static CANNOT measure class/var() CSS contrast (1.4.3): the report's not_measured says so — a 100 is never 'contrast is fine'. Returns JSON: {mode, url|file, score 0-100, findings [{criterion, severity, signal, issue, remediation}], summary {high, medium, low}, limits, score_note, overlay_widgets? (detected third-party overlay scripts — data, not a WCAG finding)}.

Inputs: url, html, lang, pages, +3 more.

a11y_autofixa11y-toolkit: Deterministic safe auto-fixesA
Read-onlyIdempotent

DETERMINISTIC safe auto-fixes applied to HTML — the honest anti-overlay: a short closed list of fixes where the correct answer is unique (unblock viewport zoom 1.4.4, add the exact autocomplete token 1.3.5, fill missing html lang and empty title when provided). Everything requiring judgment (alt text, contrast, accessible names) is NOT touched — it returns not_applied with the reason and remediation instead. Returns fixed_html + applied + not_applied. — Only the closed allowlist of provably safe fixes; judgment fixes come back as not_applied with remediation. Returns JSON: {fixed_html, applied [{fix, …}], not_applied [{issue, remediation}]} as text content (the agent writes the file).

Inputs: html (required), url, lang, title, +1 more.

a11y_badgea11y-toolkit: Honest SVG badgeA
Read-onlyIdempotent

Returns an HONEST accessibility badge as accessible SVG: score, date and scope (automated screening ≈ 1/3 of WCAG), color-coded by score. Deliberately does NOT say "conformant" — the honest seal. Embed it in audited sites or statements. — Scope: the honest SVG seal for audited sites; the machine-readable bundle is a11y_evidence. Returns the honest SVG badge as text content (the agent writes the file).

Inputs: score (required), date, lang.

a11y_contrast_doma11y-toolkit: Live-element contrast samplingA
Read-onlyIdempotent

REAL contrast of an element against whatever is behind it (image, gradient, video, photo): loads the page in Chromium, screenshots the element matched by selector with its text turned transparent — so only the real background is sampled, no text pixels, no antialiasing edges — and contrasts the pixels with the text color (computed from the element when not given). The automated version of a11y_contrast_image: no manual screenshot, no region math. Requires local Playwright. — Use instead of a11y_contrast_image when the text lives in a live page (captures and measures it automatically); for flat pairs use a11y_contrast_pair. Returns JSON: {url, selector, text_color, worst_ratio, median_ratio, p95_ratio, area_passes_aa_normal_text_4_5, worst_zone?, sampled_pixels, interpretation}.

Inputs: url (required), selector (required), lang, sample, +4 more.

a11y_contrast_imagea11y-toolkit: Text-over-image contrastA
Read-onlyIdempotent

TEXT OVER IMAGE contrast: pixel-level sampling of the real background behind the text box → worst/median/p95 ratio, % of area passing AA, and automatic hostile-zone detection on a 3×3 grid (worst_zone). What pair-only checkers cannot do. region="x,y,w,h" recommended. — Use instead of a11y_contrast_pair whenever the background is a photo/gradient. Returns JSON: {worst_ratio, median_ratio, p95_ratio, area_passes_aa_normal_text_4_5, worst_zone, sampled_pixels}.

Inputs: path (required), text_color (required), lang, region, +1 more.

a11y_contrast_paira11y-toolkit: Contrast ratio + verdictsA
Read-onlyIdempotent

Exact WCAG contrast ratio for a color pair: per-criterion verdicts 1.4.3 (AA), 1.4.6 (AAA), 1.4.11 (non-text). Accepts #hex, rgb(), hsl(), CSS color names; rgba/hsl with alpha is composited over the background. If AA fails, suggests the nearest passing color. — For flat pairs; text over images needs a11y_contrast_image. Returns JSON: {text, background, ratio, verdicts [{criterion, level, threshold, passes}], aa_suggestion?}.

Inputs: bg (required), fg (required), lang.

a11y_criteriona11y-toolkit: WCAG criterion explainedA
Read-onlyIdempotent

Explains a WCAG 2.2 success criterion in plain language (es/en): what it requires, typical failures, and how to verify it with this toolkit (which tool automates which part). Codes like "1.4.3", "2.5.8", "4.1.2". Give a finding SIGNAL instead (e.g. img_no_alt, kbd_trap — the id in every audit finding) and it resolves to its criterion AND its published ACT rule(s) with official w3.org links. Use it whenever you need to explain WHY a finding matters or what the criterion actually says. — Knowledge lookup; does not fetch or audit anything — includes the official Understanding WCAG 2.2 link for the criterion. Returns JSON: {criterion, level, understanding, toolkit_signals, requires, typical_failures, how_to_check} — signal mode adds {signal, act_rules [{id, name, status, url}]}; {error, …} for unknown codes.

Inputs: code, lang, signal.

a11y_diffa11y-toolkit: Snapshot regression diffA
Read-onlyIdempotent

Regression diff between two accessibility snapshots (before/after a deploy): added/removed/renamed interactives and focus-order changes. ok=false means a regression to review. Accepts inline JSON (starting with "{") or file paths. — Compares two existing snapshots; a11y_diff_urls snapshots both for you. Returns JSON: {ok, added, removed, renamed, focus_order_changed, first_differences} — ok:false means a regression to review.

Inputs: a (required), b (required).

a11y_diff_urlsa11y-toolkit: Staging vs production diffA
Read-onlyIdempotent

Snapshot two URLs and diff them in a single call (e.g. staging vs production). Requires local Playwright. — Convenience for staging-vs-production; manual control is snapshot + a11y_diff. Returns the same diff shape as a11y_diff, for two live URLs.

Inputs: url_a (required), url_b (required), auth_state.

a11y_disprovea11y-toolkit: Disprover: re-verify findingsA
Read-onlyIdempotent

Re-audits the original live page and returns its current findings, score and coverage. Rendered reports are rechecked under their recorded browser, color scheme and session type. Matching findings are confirmed, disappeared findings are rejected, and ambiguous historical matches are kept for review. — Use a11y_evidence to seal the fresh measurement. Returns the fresh audit JSON with score_original and disprover {executed, confirmed, rejected, previous_findings} when re-audited.

Inputs: url (required), lang, report, timeout, +1 more.

a11y_docx_screena11y-toolkit: DOCX accessibility screeningA
Read-onlyIdempotent

DOCX accessibility screening — the other half of enterprise paperwork. Zero-dep structural pass on a LOCAL .docx with namespace-aware XML: images with no alt text (docPr without descr), fake headings (bold+big paragraphs with no Heading style — invisible to navigation pane and TOC), document language, tables without marked header row. Full review needs a human; this finds what makes it pointless. Returns JSON: {mode: "docx", language, images, tables, findings, summary, limits}.

Inputs: path (required), lang.

a11y_evidencea11y-toolkit: Evidence pack (verifiable handoff)A
Read-onlyIdempotent

Builds the verifiable evidence pack: the machine→human handoff object for WCAG conformance work. Takes one or more audit reports (any mode — static, rendered, reflow, keyboard, scroll) and returns: the full 55-criterion A/AA matrix (statuses: automated-fail / automated-review / not-flagged / not-run / manual-only / agent-verified — never a pass; not-flagged means an ACCEPTED report of a mode that can signal that criterion ran and found nothing, not-run names the missing tool, and reports carrying an error never count as coverage), remaining human review by effort class, with counts per class; every artifact SHA-256-hashed with timestamps, an empty signature block (name, credential, date) whose statement must reference the pack's own sha256, and the tamper-evidence rule stated. Vendor-neutral: any qualified human can review it. Evidence, never conformance. — The tier-3 handoff object; feed it every audit report you have. Returns the pack JSON (a11y-evidence-pack/3) as text content (the agent writes the file). Run after the audits you trust, and pass verified codes from the manual checklist — agent-verified never erases an automated-fail.

Inputs: reports (required), lang, build, scope, +3 more.

a11y_forced_colorsa11y-toolkit: forced-colors survival heuristicA
Read-onlyIdempotent

Does content survive forced-colors: active (Windows High Contrast)? Loads the page normally, flags SVGs with hardcoded colored fills (they fall back to inherited and icons can vanish), then emulates forced-colors and compares. Review-grade heuristic — the definitive check is visual on Windows HCM; this prepares it. Heuristic rev 1: SVG fills only, images queued for the next rev. Returns JSON: {mode, normal, forced, score, findings, limits}.

Inputs: url (required), lang, browser, timeout, +1 more.

a11y_formsa11y-toolkit: Form error testingA
Destructive

Form error testing (3.3.1 Error Identification, 3.3.3 Error Suggestion) — the guided flow no competitor automates: fills every validatable field with INVALID data, really submits, and judges the post-submit DOM — are errors identified in text and associated with the field (aria-invalid + aria-describedby, error summary, role=alert), or does the form swallow them? Native browser validation counts as identification (unless the form has novalidate); forms that navigate on submit are honestly noted as not measurable in-page. Requires local Playwright. Returns JSON: per-field error judgments {field, submitted_value_class, error_identified, announced, suggestion_present} plus an overall 3.3.1/3.3.3 verdict. Use on test/staging forms, or forms you own: invalid data is REALLY submitted. Do not run against production forms that trigger real emails, orders or leads.

Inputs: url (required), lang, browser, timeout, +1 more.

a11y_generate_declarationa11y-toolkit: Accessibility statement (EAA/RD 1112)A
Idempotent

Generates an Accessibility Statement in HTML: art. 10 RD 1112/2018 (Spanish public sector, framework="rd1112") or European Accessibility Act wording (Directive (EU) 2019/882 / Ley 11/2023, framework="eaa"; EN output uses Directive (EU) 2016/2102 / EAA wording). The generated document is itself accessible. Saves to output_path when given. — Legal statement generator; drive inaccessible_content from audit findings and a11y_evidence. Returns {html, summary} — the accessible legal statement; writes a file only when output_path is given.

Inputs: url (required), entity (required), status (required), lang, +9 more.

a11y_generate_openacra11y-toolkit: OpenACR YAML report (GSA)A
Idempotent

Generates an OpenACR (the GSA open standard, VPAT-derived) accessibility conformance report in machine-readable YAML from an a11y_evidence pack (or raw audit reports): the full 55-criterion WCAG 2.2 A/AA matrix as chapters with one web component per criterion, adherence levels starting at not-evaluated (automated fails force does-not-support; review-level signals stay not-evaluated with the evidence in notes) and notes auto-filled from the pack (status, measured values, remaining human effort, sha256). Same honesty rule as a11y_generate_vpat: the machine fills notes, a qualified human sets levels via overrides (supports, partially_supports, …; hyphenated OpenACR forms accepted). OpenACR is what US federal procurement and GSA buyers parse — emit it from the same pack as the human-readable VPAT. — The machine-readable (GSA OpenACR YAML) sibling of a11y_generate_vpat — emit both from the same pack: humans read the VPAT, procurement systems parse the OpenACR. Returns {yaml, summary {level: count}, levels {code: level}, pack_sha256, format, draft} — the OpenACR YAML draft; writes a file only when output_path is given. Run after the audits you trust; validate and render in the GSA OpenACR editor (gsa.github.io/openacr-editor) — a qualified human must set the final adherence levels before publishing.

Inputs: product (required), lang, pack, notes, +10 more.

a11y_generate_vpata11y-toolkit: VPAT 2.5 report (WCAG edition)A
Idempotent

Generates a VPAT 2.5 (WCAG edition) accessibility conformance report in accessible HTML from an a11y_evidence pack (or raw audit reports): the full 55-criterion WCAG 2.2 A/AA table with Remarks auto-filled from the pack (status, measured values, examples, remaining human effort) and every Conformance Level starting at Not Evaluated — automated fails force Does Not Support, review-level signals stay Not Evaluated with the evidence in Remarks, and a qualified human sets the rest via overrides (supports, partially_supports, does_not_support, not_applicable, not_evaluated). The document is a DRAFT until the signature block, which must reference the pack sha256, is completed. VPAT is the US/ADA counterpart of a11y_generate_declaration (EU/EAA): the machine fills Remarks, the human signs the claim. — The US/ADA counterpart of a11y_generate_declaration; feed it the a11y_evidence pack — levels stay Not Evaluated until a qualified human sets them. Returns {html, summary {level: count}, levels {code: level}, pack_sha256, draft} — the VPAT draft; writes a file only when output_path is given. Run after the audits you trust; a qualified human must set the final levels (overrides) and sign before publishing — the machine fills Remarks, never the claim.

Inputs: product (required), lang, pack, notes, +9 more.

a11y_hovera11y-toolkit: Hover dismissibility (1.4.13)A
Read-onlyIdempotent

Content on Hover or Focus (1.4.13): finds tooltip/overlay candidates, hovers each, and tests whether Escape dismisses the result — tooltips that do not dismiss are flagged. Requires local Playwright. — Scope: tooltips only; full audit is a11y_audit_dom, keyboard traps are a11y_keyboard. Returns JSON: {candidates, dismissed_on_escape, findings}.

Inputs: url (required), lang, browser, timeout, +1 more.

a11y_html_validatea11y-toolkit: W3C Nu validationA
Read-onlyIdempotent

The W3C's own parser as a toolkit mode: checks a URL or raw HTML against the Nu Html Checker (validator.w3.org/nu) — doctype, encoding, structural validity, plus alt/lang/role issues from the authoritative source, mapped to WCAG criteria where they overlap. PRIVACY: html mode POSTs the document to the W3C service (url mode shares only the URL, like a11y_audit_url); self-hosted vnu instances supported via base_url for sensitive content. Returns JSON: Nu validator messages mapped to WCAG criteria where they overlap.

Inputs: url, html, lang, base_url.

a11y_journey_verdicta11y-toolkit: Blindfold journey verdictA
Read-onlyIdempotent

Blindfold journey verdict — the capability no other accessibility tool has: the agent attempted a REAL task (sign up, checkout, password reset) perceiving only the accessibility tree and acting by accessible name and keyboard; perceive via your browser accessibility snapshot (state-preserving). This turns its friction log into a deterministic scored verdict. Pass = task completable non-visually by the agent; friction items map to WCAG criteria and flow into the evidence pack (report:journey). Use with the blindfold-task prompt: act by accessible name, log friction per step, then call this. Task usability evidence, never conformance. Returns JSON: {verdict pass|partial|fail|blocked, score 0-100, findings [{criterion, severity, signal, issue, remediation, step}], summary, rules} — writes a file only when output_path is given. Run only after a real blindfold attempt (the blindfold-task prompt): the verdict prices the walk, it does not replace it.

Inputs: url, lang, seal, task, +4 more.

a11y_keyboarda11y-toolkit: Keyboard-trap + skip-link landing detectorA
Read-onlyIdempotent

Keyboard-trap detection (2.1.2) with REAL Tab walking in Chromium: up to 60 real tab stops, cycle detection (the modal pattern), then the decisive test — does ESCAPE release the cycle? A modal that cycles and releases on Escape is correct and NOT reported; a cycle Escape cannot leave is a trap (high severity). It also activates the first real skip link once and reports skip_target_hidden (medium, 2.4.1) when the target is still not exposed after activation — focus landing on it is not required (browsers move the sequential-focus start regardless of tabindex). Returns the full tab stop list too. Requires local Playwright. — Scope: keyboard traps (2.1.2) + rendered bypass landing; focus visibility is part of a11y_audit_dom. Returns JSON: {tab_stops, trap_detected, escape_releases, findings}. Run on pages with modals, dialogs or embedded apps; a plain content page has nothing to trap.

Inputs: url (required), lang, browser, max_steps, +1 more.

a11y_ledgera11y-toolkit: Coverage ledger (persistent)A

Coverage ledger (from Cloudflare's security-audit-skill): persistent record of what has been audited, when, and with what result. Actions: record (add audit result), gaps (what has never been checked on a URL), summary (portfolio overview). Accumulates across runs — second audits show resolved findings. record returns the stored entry; gaps returns criteria never checked; summary returns {entries, active_signals, resolved, mean_score}. record after every audit run; gaps before planning the next pass. The ledger file accumulates across runs — give each project its own ledger_path.

Inputs: action (required), url, lang, report, +1 more.

a11y_locatea11y-toolkit: Locate element by accessible nameA
Read-onlyIdempotent

Find an element by its accessible name and get its deterministic route selector (the same tag:nth-of-type identity annotate() uses): controls, headings, images with alt, iframes with title, fields with an explicit name. High confidence only on exact unique matches; when several elements share the name it refuses to pick one and returns the full candidate list (ambiguous) — a match is never invented. Feeds agents that edit code by selector and panel deep-links.

Inputs: html (required), query (required), lang, role, +1 more.

a11y_oraclea11y-toolkit: Oracle record (engine asks, someone answers)A
Read-onlyIdempotent

Semi-automatic oracle: the engine asks, someone answers with evidence. Takes an audit report with questions (the three approved ACT rules no automatic engine can decide because they require judging the content: qt1vmo image name is descriptive, c4a8a4 page title is descriptive, 0va7u6 images contain no text) plus answers [{question_id, answer yes|no, observation}] and returns the sealed a11y-oracle/1 record. A result is passed or failed ONLY when the answer cites a question_id of the report and brings an observation of its own (a repeat of the accessible name does not count); anything else is cantTell. An answer carrying an expected key is rejected (it would come from the official test-case file). The record is evidence under a seal: it never decides alone, never signs conformance and never enters the score. Verify it with a11yoracle.verify_record (Python). ACT import matches the current URL, HTML hash and rule questions. An omitted image question keeps the case inconclusive unless a reviewed image already fails. — Run after a static audit that came back with questions; answer only what you actually looked at (the image, the page). The record is sealed evidence of who answered and what they saw: verify it with a11yoracle.verify_record, feed it to scripts/act_report.py --answers, and never read it as a score or a conformance claim. Returns JSON: {format: a11y-oracle/1, mode: semiAuto, answered_by, subject, questions, questions_truncated? (omitted image questions), answers, results [{question_id, rule, criterion, signal, selector, result passed|failed|cantTell, reason, answer, observation, mode, answered_by, question}], summary {passed, failed, cantTell}, rejected_answers, unmatched_answers, note, sha256}. A result is passed or failed only for an answer that cites a question_id of the report and brings its own observation; an answer carrying an expected key is rejected, and an unanswered question stays cantTell. Say agent in answered_by when an agent with vision looked at the content: the W3C has not said whether it accepts such answers.

Inputs: report (required), lang, answers, answered_by.

a11y_patchesa11y-toolkit: Sealed patch-set (sha-keyed)A
Read-onlyIdempotent

Sealed patch-set of the deterministic safe fixes: build runs a11y_autofix once and records WHICH fixes were applied to WHICH page (SHA-256-keyed, format a11y-patches/1, engine version stamped); verify re-checks a set against a page — the same page must reproduce the same fixes, a different page is stale (sets never blind-apply). The artifact an agent or CI applies upstream: fixing the original web is the client job, the engine hands over the evidence.

Inputs: html (required), lang, title, action, +1 more.

a11y_reduced_motiona11y-toolkit: prefers-reduced-motion honored?A
Read-onlyIdempotent

Does the site HONOR prefers-reduced-motion? Loads the page normally, counts looping CSS animations (>0.15s infinite), then reloads emulating prefers-reduced-motion: reduce and counts again. If the number does not drop, the site ignores the user's preference (2.2.2; 2.3.3 AAA). Nobody else automates this — axe leaves it as manual review. Covers CSS animations and video[autoplay]; JS/WebGL/scroll-parallax remain manual. Returns JSON: {mode, normal, reduced, respects, score, findings, limits}.

Inputs: url (required), lang, browser, timeout, +1 more.

a11y_reflowa11y-toolkit: 320px reflow checkA
Read-onlyIdempotent

Reflow check at 320px — criterion 1.4.10 (AA), the check axe and Lighthouse do not automate. Loads the URL at 1280px, then at 320px, and reports real horizontal scroll + the overflowing elements. Method note: browser zoom RE-LAYS OUT at 320 CSS px (that is the standard's own equivalence: 1280 @ 400% zoom = 320px), so the correct measurement is a 320px viewport. Requires local Playwright. — Scope: 320px reflow only (1.4.10); for the full rendered pass use a11y_audit_dom. Returns JSON: {url, viewport, horizontal_scroll, offenders [{selector, width}]}. Run once per template, not per page: fixed-width layouts are a property of the template.

Inputs: url (required), lang, browser, timeout, +1 more.

a11y_routea11y-toolkit: Tool router (goal or page to steps)A
Read-onlyIdempotent

The router — start here when unsure which tool solves a task: state the goal in plain language ("gate my PR", "fix the contrast of my hero", "generate the legal statement") and get the ordered tool sequence with the why of each step. Deterministic keyword index over the toolkit map, not an LLM guessing; when nothing matches, the honest fallback route says where everyone begins. Makes 33 specialized tools an O(1) choice — ask once instead of scanning descriptions. Optional sequential-diagnosis mode: pass url or html and the router takes the page's cheap vitals (static pass) and orders the next exams by expected yield — the evidence decides (forms → form error testing, menus → keyboard, video → caption content), severity only breaks ties; the ordered plan never replaces the full catalog. Returns JSON: {route, steps [{step, tool, why}], alternates, prompts, cli, note} — the ordered tool sequence for the goal. Diagnosis mode (url/html passed): {mode: diagnose, vitals {score, summary, signals}, symptoms [{symptom, evidence}], steps [...], guarantee} — evidence orders the exams, severity breaks ties.

Inputs: url, goal, html, lang.

a11y_scopea11y-toolkit: Applicability scope (semi-automatic)A
Read-onlyIdempotent

Semi-automatic applicability scoping — the layer between the audit and the conformance claim (the pattern of the Government of Canada CIO wizard for EN 301 549, informed by the audit instead of 118 hand-answered questions). Reads the features block of the reports (media elements, form controls — positive evidence of what the audit SAW) and proposes the structural exclusions: no video anywhere → 1.2.x proposed-excluded, no form controls → 3.3.x proposed-excluded. The machine PROPOSES, the human CONFIRMS via answers {"1.2.4": {"status": "excluded", "reason": "…"}} — only confirmed exclusions may become not-applicable downstream (a11y_evidence, a11y_generate_vpat, a11y_generate_openacr); a proposal never excludes. standard=en301549 adds the EN 301 549 V4.1.1 (2026) clause to every row (9.x web / 10.x documents / 11.x software — numbering verified 55/55 A/AA) and the EN-only families (5, 6, 7, 8, 12, 13) as honest applicability rows this toolkit does not evaluate. Live counter: N of 55 criteria in scope. — The applicability layer before conformance: run after the audits, confirm the machine proposals via answers, then feed the scope here — a11y_evidence/vpat/openacr turn confirmed exclusions into not-applicable with their reason. Returns JSON: {format: a11y-scope/1, standard, target, criteria [{criterion, level, status, clause?, evidence?, reason?}], counters, en301549_families?, sha256} — statuses in-scope|proposed-excluded|excluded; only human-confirmed exclusions count downstream. Run after the audits, before any conformance artifact: confirm the machine proposals via answers, then pass the scope to a11y_evidence — only human-confirmed exclusions become not-applicable, and each exclusion carries its reason.

Inputs: reports (required), lang, target, answers, +2 more.

a11y_scrolla11y-toolkit: Infinite-scroll audit (passive by default; interactive=true clicks the exact control you name)A
Idempotent

Infinite-scroll accessibility audit — the documented disaster nobody automates (Deque guidance + ARIA APG Feed pattern; criteria 2.4.3, 4.1.3, 2.2.2). PASSIVE BY DEFAULT (external review round 5: the load-more fallback clicked by substring match hit unrelated buttons — the walk now scrolls only and never clicks). To ALSO test the load-more alternative pass interactive=true together with load_more="the exact visible text of the control" — that performs a REAL click on that one control and nothing else. Real scrolling batches in Chromium with a live-region observer: does the focused element SURVIVE each batch (re-render destroys it — the documented failure)? Is new content ANNOUNCED (aria-live/status receives text, role=feed)? Does the feed END or offer a load-more alternative (footer reachability)? APG feed pattern as positive signal. Honest guard: if no standard items are detected (login walls, non-standard markup) the unfounded signals are skipped with a note. Requires local Playwright. — For paginated feeds only; general page audit is a11y_audit_url/dom. Returns JSON: {mode, url, score, findings [{criterion, severity, signal, issue, remediation}], summary} — same shape as the audits.

Inputs: url (required), lang, browser, load_more, +3 more.

a11y_snapshota11y-toolkit: A11y snapshot + tab orderA
Read-onlyIdempotent

Accessibility snapshot of a URL: interactive elements (tag, role, accessible name, href) in DOM order, the REAL tab focus order, and when Playwright ≥1.49 is available the computed ACCESSIBILITY TREE (aria snapshot — what a screen reader announces). Save it before a deploy and compare after with a11y_diff. Requires local Playwright. — Capture half of the watch loop; compare with a11y_diff (or a11y_diff_urls for two live URLs). Returns JSON: {url, ts, elements [{tag, role, name, ref…}], focus_order}.

Inputs: url (required), auth_state.

a11y_sr_transcripta11y-toolkit: Screen reader transcriptA
Read-onlyIdempotent

Screen reader TRANSCRIPT: what a blind user HEARS on this page. Walks the accessibility tree linearly and returns announcements as a LIST OF STRINGS (the linearized reading order — roles and names embedded in the text, e.g. "button "Search"") plus arbol_raw, the raw accessibility-tree snapshot it was read from (external review round 6: the contract published objects with time/politeneness/role/text — the real shape was strings; the contract now matches reality and existing clients keep working). Prose an agent can READ to understand the page from a blind user's perspective. — Read-only: for structure use a11y_snapshot, for keyboard traps use a11y_keyboard. Requires Playwright. Returns JSON: {url, total, announcements [{time, politeness, role, text}] — the linearized reading order}.

Inputs: url (required), lang, browser, timeout, +1 more.

a11y_suggest_colora11y-toolkit: Nearest passing colorA
Read-onlyIdempotent

Nearest opaque color (RGB distance) to fg that reaches the target ratio against bg (4.5 default). Returns the color, its ratio and whether it lightens or darkens. — The fixer companion to a11y_contrast_pair failures. Returns JSON: {color, ratio, action} — the nearest opaque color reaching the target.

Inputs: bg (required), fg (required), target.

a11y_vtt_checka11y-toolkit: WebVTT caption qualityA
Read-onlyIdempotent

WebVTT caption QUALITY (1.2.2) — the substance, not the presence. Everyone stops at " exists"; this downloads and parses the actual .vtt and judges what viewers get: malformed timing lines, empty cues, overlaps, impossible reading speed (>21 chars/second, BBC/Netflix standard) and coverage vs the media duration when given. Pass the .vtt URL (same http/https guard as the audits). An invalid header or incomplete download returns an error. Not a substitute for human review of accuracy or speaker identification. Returns JSON: {mode: "vtt", cues, characters, captioned_seconds, findings [{criterion, severity, signal, issue, remediation}], summary, limits}.

Inputs: url (required), lang, duration.

a11y_wcag3_previewa11y-toolkit: WCAG 3 draft preview (no score)A
Read-onlyIdempotent

WCAG 3 demo — the view layer nobody ships: takes an audit report and re-groups its WCAG 2.2 findings under the outcomes of the WCAG 3 Working Draft (10 September 2026). Informative only: WCAG 3 is not a completed standard, the W3C has published no official WCAG 2 to WCAG 3 mapping (this one is curated and labeled as such), and NO score, tier or conformance claim is produced — the draft's tier thresholds are still TBD. Use it to show teams where today's 2.2 findings will land tomorrow; keep auditing against WCAG 2.2. Criteria the draft has no provision for (target size, multiple ways, change of context on input) are listed apart in no_equivalent, never grouped under an unrelated outcome. Returns JSON: {mode, draft, disclaimer, mapping_note, no_equivalent_note, no_score, conformance_model, outcomes [{outcome, draft_url, findings, severity, signals, criteria_22}], no_equivalent [{criterion_22, criterion_name, findings, severity, signals}], counts, unmapped} — never a score. Run after any audit when the team asks "what about WCAG 3?"; re-baseline on each W3C draft publication (roughly March/September).

Inputs: report (required), lang.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 38 tools

    Disambiguation4/5

    Despite 38 tools, near-neighbors are explicitly cross-referenced: static vs rendered audits (a11y_audit_url vs a11y_audit_dom), the four contrast tools (pair/image/dom/suggest_color), and snapshot/diff/diff_urls each state when to use which, and a11y_route exists as an O(1) router. A few pairs still require reading (audit_url vs reflow vs scroll vs keyboard all emit the same report shape, and evidence/vpat/openacr are a three-step chain), but boundaries are documented rather than blurred.

    Naming Consistency4/5

    Every tool carries the a11y_ prefix in snake_case, so the family is immediately recognizable and no casing conventions are mixed. The only deviation is verb style: some are verb_noun (a11y_audit_url, a11y_generate_vpat, a11y_suggest_color) while many are bare nouns naming an artifact or concept (a11y_oracle, a11y_scope, a11y_evidence, a11y_badge, a11y_ledger), which is readable but not one predictable pattern.

    Tool Count3/5

    38 tools is well above the comfortable band and the surface is split across many distinct sub-domains (WCAG audits, contrast, forms, motion, forced colors, PDF, DOCX, VTT, legal artifacts). Each tool does map to a real, non-duplicated capability and a router mitigates selection cost, but the breadth is heavy enough that an agent must lean on a11y_route rather than scan the list.

    Completeness5/5

    The full lifecycle is covered end to end: route, static/rendered audits, targeted specialty checks (reflow, keyboard, scroll, hover, forms, reduced motion, forced colors), asset screening (PDF, DOCX, VTT), evidence/scope/oracle sealing, and downstream declarations (VPAT, OpenACR, RD 1112/EAA statement) plus badges, ledger and regression diffing. Gaps are acknowledged in-tool (manual-only criteria, agent-verified limits) rather than being dead ends.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables AI agents to perform comprehensive accessibility audits on websites using Playwright and axe-core against WCAG standards. Provides detailed compliance reports with violation summaries and remediation guidance across multiple browsers.
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to perform comprehensive web accessibility checks (WCAG 2.1/2.2) including color contrast analysis, ARIA validation, and full accessibility report generation without requiring any API key.
      8
      89 PyPI
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI agents with web accessibility analysis tools via MCP, enabling checks for alt text, heading hierarchy, color contrast, ARIA validation, and form accessibility.
      42 npm
      MIT