This accessibility scanner, developed for the Model Context Protocol, integrates Axe Core with Playwright to perform automated web accessibility testing. Built with TypeScript, it leverages the MCP SDK to provide a standardized interface for running accessibility checks on web pages. The implementation focuses on ease of use and comprehensive reporting, offering detailed insights into accessibility issues. It's particularly useful for developers and quality assurance teams working on web applications, enabling use cases such as continuous integration testing, compliance auditing, and identifying accessibility barriers without manual inspection of each page element.
まだレビューはありません. 最初のレビューを投稿しましょう!
会話に参加するにはサインインしてください
Performs a comprehensive accessibility scan on the current page using Axe-core. Parameters: violationsTag (array), includeIncomplete (optional boolean, default true), maxNodesPerViolation (optional number, default 10), includeSelectors (optional array), excludeSelectors (optional array), withRules (optional array), disableRules (optional array), annotateScreenshot (optional boolean, default false)
Crawls and scans multiple internal pages, then aggregates violations across the site. Parameters: maxPages (optional number), maxDepth (optional number)
Runs Axe scans on the same page across viewport/media/zoom variants and compares deltas against baseline. Parameters: variants (optional array), reload (optional boolean)
Audits real keyboard focus behavior by pressing Tab (and optional Shift+Tab) with practical heuristics. Parameters: maxTabs (optional number)
Audits what a screen reader actually announces, using the browser's own accessibility tree. Parameters: maxElements (optional number, default 400), maxFindingsPerCheck (optional number, default 20)
Navigate to a URL. Parameters: url (string)
Go back to the previous page.
Capture accessibility snapshot of the current page. Parameters: compress (optional boolean, default false), boxes (optional boolean)
Perform click on a web page element. Parameters: element (description), ref (element reference), doubleClick (optional boolean)
Type text into editable element. Parameters: element, ref, text, submit (optional boolean), slowly (optional boolean)
Take a screenshot of the current page. Parameters: filename (optional), type (string: png, jpeg, or webp), scale (string: css or device, default css), fullPage (optional boolean), element/ref pair (optional)
Save page as PDF. Parameters: filename (optional)
Upload files to the page. Parameters: paths (array of absolute file paths)
Verify an element by ARIA role/name. Parameters: role (string), accessibleName (string)
Verify text visibility. Parameters: text (string)
Verify an element value or checked state. Parameters: type (string), element (string), ref (string), value (string)
Handle browser dialogs (alerts, confirms, prompts). Parameters: accept (boolean), promptText (optional string)
Wait for text to appear/disappear or time to pass. Parameters: time (optional number), text (optional string), textGone (optional boolean)