axe_check_rule
Check a specific axe-core accessibility rule by ID to evaluate web conformance. Provide a URL, HTML, or session for audit.
Instructions
Check a specific axe-core rule by ID.
Replaces 100+ individual axe_* tools with one generic tool. Call list_axe_rules to see available rule IDs.
Args: rule_id: The axe-core rule ID to check (e.g. 'color-contrast'). url: URL to audit (one of url, html, or session_id required). html: HTML string to audit. session_id: Existing browser session to audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| html | No | ||
| rule_id | Yes | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||