Validate ARIA in HTML or on a page
check_ariaValidate ARIA attributes and accessible name, role, and value usage in an HTML snippet or live URL to expose accessibility violations on a page or a chosen element.
Instructions
Validate ARIA attribute + accessible name/role/value usage — in an HTML snippet (html) or on a live page (url), optionally limited to one element and its descendants (selector). Runs axe-core cat.aria and cat.name-role-value rules (aria-* attribute correctness, role validity, required parents/children, aria-hidden-focus, accessible names). Returns violations. A selector that matches nothing, or a page that answers an HTTP error, is an error — never "no violations". Nodes cap at 5 per rule by default — every rule reports nodesTotal + truncated; raise nodeLimit (max 50) or use scan_history(id) for the full set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Live page to check (pass this or `html`) | |
| html | No | HTML to test for ARIA correctness (pass this or `url`) | |
| selector | No | Only report findings on this element and its descendants (e.g. the `selector` from a scan_page issue). ARIA references outside it still resolve. | |
| nodeLimit | No | Max nodes returned per rule (default 5, max 50) |