WCAG 2.2 Compliance

io.github.Veduis由 GitHub 帳號 Veduis 發布v1.0.0更新於 Oct 30, 2026

WCAG 2.2 audits with corrected markup, verified fix examples, and U.S. ADA deadlines.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

本機 MCP 伺服器,可對 HTML 片段進行 WCAG 2.2 稽核、說明成功準則、提供已驗證的修正範例,並查詢美國 ADA 合規期限。

可以做什麼
  • 以 18 項靜態檢查稽核 HTML 片段或完整文件,回傳未通過的準則、有問題的標記與修正後的程式碼片段
  • 查詢 WCAG 2.2 成功準則的含義、符合等級、是否適用於 ADA 第二章,以及是否有自動化規則
  • 取得已驗證的修正範例,包含錯誤片段、修正片段、原因說明與人工測試步驟
  • 依實體類型查詢 ADA、Section 504、EAA 與安大略省的合規期限,並可指定某一日期計算
適用情境
適合在檢查標記的無障礙缺陷、向團隊說明某條 WCAG 準則,或判斷某組織適用哪些無障礙期限時使用。它只是靜態檢查工具,無法取代渲染頁面測試與人工審查。
執行需求
以本機 stdio 程序執行;README 提供 npx 從 GitHub 安裝、Claude Desktop 的 MCPB 套件以及 Docker 建置三種方式。npx 方式需要 Node.js。不需 API 金鑰、帳號或網路存取,資料已內建。
安裝前請注意
每次稽核都回傳 conformance_claim: false:結果乾淨只表示未發現靜態缺陷,並不代表頁面符合標準。對比度、焦點可見性、鍵盤陷阱、閱讀順序、字幕準確性與錯誤復原都不在檢查範圍內,需要渲染頁面或人工確認。README 建議完整網站稽核改用其另一款商業掃描器。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 WCAG 2.2 Compliance,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

wcag-compliance-mcp

MCP server for WCAG 2.2 audits, verified remediation examples, and U.S. accessibility deadlines. Four tools, no API keys, no network calls, all data bundled.

Built from a benchmark that was verified in headless Chromium: 64 fail/pass HTML pairs executed against axe-core 4.14.0, all 87 WCAG 2.2 success criteria, and 21 sourced regulatory dates from the 1990 ADA through the 2028 DOJ Title II deadline.

[DOI]

Listed in the official MCP registry as io.github.Veduis/wcag-compliance-mcp, on the 97k star MCP directory, and in the accessibility tools list.

Tools

ToolWhat it answers
audit_html_snippetWhich WCAG 2.2 defects are in this HTML, what is the failing criterion, and what does the fix look like
lookup_wcag_criterionWhat does 1.4.3 mean, what level is it, does it apply to ADA Title II entities, and is there an automated rule
get_verified_fix_exampleShow me a failing snippet, the corrected snippet, why it matters, and how to test it manually
check_ada_compliance_deadlinesWhen does my organization have to comply, and what rule sets the date

audit_html_snippet

18 static checks over a fragment or full document:

CheckSuccess criterion
Image without a text alternative1.1.1
Image button without alt1.1.1
role="img" SVG with no name1.1.1
Link with no accessible name2.4.4
Button with no accessible name4.1.2
Form field with no programmatic label3.3.2
Missing html lang3.1.1
Missing page title2.4.2
Skipped heading levels or no h11.3.1
Duplicate id values4.1.1
Positive tabindex2.4.3
aria-hidden on a focusable element4.1.2
Non-li children of ul/ol1.3.1
iframe without title4.1.2
Data table without th1.3.1
video without a captions track1.2.2
Viewport meta blocking zoom1.4.4
Common-purpose input without autocomplete1.3.5

Every finding returns the criterion, the offending markup, and a corrected snippet.

check_ada_compliance_deadlines

Entity types: title_ii_large, title_ii_small, title_iii_business, federal_contractor, hhs_recipient, eu_business, ontario.

Pass as_of to compute the answer for any date, which makes the tool useful for retroactive scoping and for legal memos that need to state what applied on a given day. Every date carries its primary source URL.

Install

bash
npx -y github:Veduis/wcag-compliance-mcp

Three other routes:

RouteCommand
MCPB bundle (Claude Desktop, one click)wcag-compliance-mcp.mcpb
Official registryio.github.Veduis/wcag-compliance-mcp
Dockerdocker build -t wcag-compliance-mcp . && docker run -i --rm wcag-compliance-mcp

The npm package wcag-compliance-mcp lands with the next publish. Until then the GitHub spec installs the same code and dependencies.

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "wcag-compliance": {      "command": "npx",      "args": ["-y", "github:Veduis/wcag-compliance-mcp"]    }  }}

Cursor

.cursor/mcp.json:

json
{  "mcpServers": {    "wcag-compliance": {      "command": "npx",      "args": ["-y", "github:Veduis/wcag-compliance-mcp"]    }  }}

VS Code (Copilot agent mode)

.vscode/mcp.json:

json
{  "servers": {    "wcag-compliance": {      "command": "npx",      "args": ["-y", "github:Veduis/wcag-compliance-mcp"]    }  }}

Docker

bash
docker build -t wcag-compliance-mcp .docker run -i --rm wcag-compliance-mcp

Example

Ask your agent:

Audit this pricing page for WCAG 2.2 issues and give me the corrected markup.

The agent calls audit_html_snippet, then get_verified_fix_example for each failing criterion. What comes back is a failing snippet, the corrected snippet, and the manual test step, not a vague warning.

$ audit_html_snippet('<img src="chart.png">')
{  "summary": {    "issues": 1,    "checks_run": 18,    "checks_failed": 1,    "conformance_claim": false  },  "findings": [    {      "check_id": "img-alt",      "sc": "1.1.1",      "level": "A",      "title": "Image missing a text alternative",      "count": 1,      "elements": [        {          "snippet": "<img src=\"chart.png\">",          "reason": "No alt, aria-label, or aria-labelledby. Decorative images need alt=\"\"."        }      ],      "fix": "<img src=\"chart.png\" alt=\"Bar chart: Q3 revenue rose 18 percent over Q2\">"    }  ]}

What automation cannot see

This matters more than the feature list. In the benchmark behind this server, axe-core 4.14.0 flagged 39 of 64 deliberately defective documents. The other 25 needed scripted checks or a human. Across the full standard, 29 of 87 criteria have a mapped rule and 58 have none, and at Level AA, the level the law actually targets, only 7 of 24 criteria have a rule.

So the server reports conformance_claim: false on every audit. A clean result means no static defect was found, not that the page conforms. Contrast, focus visibility, keyboard traps, reading order, captions accuracy, and error recovery all need a rendered page or a person. If you need a full-domain audit with those checks, that is what vComplianceScanner does.

Data provenance

DatasetDOI
Preprint: what automated testing actually detects10.5281/zenodo.23829968
64 browser-verified fail/pass pairs, axe-core 4.14.010.5281/zenodo.23781867
87 WCAG 2.2 success criteria with rule mapping10.5281/zenodo.23781861
21 sourced ADA / Section 504 / EAA dates10.5281/zenodo.23781873
64 multi-turn LLM remediation prompts10.5281/zenodo.23781879

Mirrors: Hugging Face. Test cases are CC BY 4.0, code is MIT.

Development

bash
npm installnpm test          # 18 checks, including a live stdio handshakenpm start

Layout:

src/index.mjs    MCP server, tool registration, resourcesrc/checks.mjs   18 static checks, no browser requiredsrc/data.mjs     criteria, pairs, timeline, deadline resolutiondata/            bundled JSON, generated from the published datasetstest/smoke.mjs   engine tests plus protocol handshake

More from Veduis

License

MIT for the code. Dataset content is CC BY 4.0, attribution to Veduis LLC.

來源:README.md,提交 3612c03

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

1
  1. v1.0.0最新Oct 30, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。