This commit is contained in:
Josh at WLTechBlog
2025-10-16 11:26:23 -05:00
parent 4d55acca95
commit 1b01b1e857
6 changed files with 1302 additions and 21 deletions

View File

@@ -340,12 +340,12 @@ Query accessibility tree by role/name.
Get MCP server and daemon version information. No parameters required.
### web_inject_axe_cremotemcp
Inject axe-core accessibility testing library.
Inject axe-core accessibility testing library. **NOTE**: Auto-injection happens automatically when using web_run_axe_cremotemcp or web_page_accessibility_report_cremotemcp, so manual injection is optional.
- `version` (optional): axe-core version (default: "4.8.0")
- Default timeout: 10s
### web_run_axe_cremotemcp
Run axe-core tests, return violations/passes/incomplete/inapplicable.
Run axe-core tests, return violations/passes/incomplete/inapplicable. **Automatically injects axe-core if not already loaded.**
- `run_only` (optional): array of tags (e.g., ["wcag2a", "wcag2aa", "wcag21aa"])
- `rules` (optional): specific rules configuration object
- Returns: {url, timestamp, test_engine, violations[], passes[], incomplete[], inapplicable[]}
@@ -395,7 +395,7 @@ Comprehensive form accessibility check: labels, ARIA, keyboard, contrast.
- Default timeout: 10s
### web_page_accessibility_report_cremotemcp
Comprehensive page assessment combining axe-core, contrast, keyboard, forms. Token-efficient format (~4k tokens vs ~80k).
Comprehensive page assessment combining axe-core, contrast, keyboard, forms. Token-efficient format (~4k tokens vs ~80k). **Automatically injects axe-core if not already loaded.**
- `tests` (optional): array of test types (e.g., ["wcag", "contrast", "keyboard", "forms"]) or ["all"]
- `standard` (optional): WCAG standard (default: "WCAG21AA")
- `include_screenshots` (optional): boolean (default: false)