scan_element
Scan a specific element on a loaded page for accessibility issues using axe-core. Provide a CSS selector to check its WCAG compliance.
Instructions
Scan a specific element on the current page for accessibility issues.
Must be called after scan_page() has loaded a page. Runs axe-core on just the specified element and its descendants.
Args: selector: CSS selector for the element to scan (e.g., '#main-nav', '.form-container')
Returns: Accessibility scan results for the specified element
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||