axe-core で自動検査
axe_scanScans web pages for accessibility violations with axe-core and returns Japanese results annotated with WCAG success criteria numbers, Japanese names, and JIS X 8341-3 applicability.
Instructions
axe-core でページを自動検査し、違反を日本語で返す。WCAG の達成基準番号・日本語名・JIS X 8341-3 の対象かどうかも付ける
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "axe_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | 検査する URL。省略すると現在開いているページを検査 | |
| lang | No | メッセージの言語 | ja |
| level | No | 基準。wcag2aa は JIS X 8341-3:2016 AA 相当 | wcag22aa |
| include | No | 検査範囲を絞る CSS セレクタ(例: main, #modal) | |
| max_nodes | No | 1 ルールあたり表示する要素数 | |
| best_practices | No | WCAG 外のベストプラクティスも含めるか |