audit_current_page
Audit the current interactive state of a web page for WCAG accessibility using axe-core and other engines. Catches issues in dynamic content like modals and filled fields.
Instructions
Audit the current (post-interaction) state of a session's page.
axe-core runs against the live page; pa11y, Lighthouse and IBM audit a serialised snapshot of the current DOM, so interaction state (filled fields, opened modals, dynamic content) is preserved.
Args: session_id: A session from browser_open. level: WCAG level: "A", "AA" (default) or "AAA". engines: Subset of ["axe","pa11y","lighthouse","ibm"]. Defaults to ["axe"]. include_best_practice: Also run axe "best-practice" rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | AA | |
| engines | No | ||
| session_id | Yes | ||
| include_best_practice | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||