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 (boolean, default true), maxNodesPerViolation (integer, default 10), includeSelectors (array), excludeSelectors (array), withRules (array), disableRules (array), annotateScreenshot (boolean, default false)
Crawls and scans multiple internal pages, then aggregates violations across the site. Supports various URL strategies and always writes a JSON report.
Runs Axe scans on the same page across viewport/media/zoom variants and compares deltas against baseline. Always writes a JSON report.
Audits real keyboard focus behavior by pressing Tab (and optional Shift+Tab) with practical heuristics. Always writes a JSON report.
Audits what a screen reader actually announces, using the browser's own accessibility tree. Always writes a JSON report.
Navigate to a URL. Parameters: url (string)
Go back to the previous page.
Set default navigation timeout for existing tabs. Parameters: timeout (in ms; 30000-300000)
Set default operation timeout for existing tabs. Parameters: timeout (in ms; 30000-300000)
Capture accessibility snapshot of the current page. Parameters: compress (optional boolean, default false), boxes (optional boolean)
Search the current page accessibility snapshot. Parameters: text (string), regex (string), maxResults (optional positive integer)
Perform click on a web page element. Parameters: element (description), ref (element reference), doubleClick (optional)
Type text into editable element. Parameters: element, ref, text, submit (optional), slowly (optional)
Hover over element on page. Parameters: element, ref
Perform drag and drop between two elements. Parameters: startElement, startRef, endElement, endRef
Simulate an external drag and drop of files or clipboard-like data onto an element. Parameters: element, ref, paths (optional), data (optional)
Select an option in a dropdown. Parameters: element, ref, values (array)
Fill multiple fields with one call. Parameters: fields (array of objects with name, type, ref, and value)
Press a key on the keyboard. Parameters: key (string)
Record browser actions and return them as Playwright JavaScript.
Stop recording browser actions.
Evaluate a JavaScript expression on the page. Parameters: function (string), element (optional), ref (optional)
Take a screenshot of the current page. Parameters: filename (optional), type (string), scale (string), fullPage (optional), element/ref pair (for element screenshots)
Save page as PDF. Parameters: filename (optional)
Close the page.
Resize the browser window. Parameters: width, height
Emulate CSS media features on the current page. Parameters: colorScheme (string), reducedMotion (string), forcedColors (string), contrast (string), media (string)
Wait for text to appear/disappear or time to pass. Parameters: time (optional), text (optional), textGone (optional)
Handle browser dialogs. Parameters: accept (boolean), promptText (optional)
Upload files to the page. Parameters: paths (array of absolute file paths)
Verify an element by ARIA role/name. Parameters: role, accessibleName
Verify text visibility. Parameters: text
Verify list items at a snapshot reference. Parameters: element, ref, items (array)
Verify an element value or checked state. Parameters: type, element, ref, value
Manage browser tabs in one tool. Parameters: action (string), index (optional)
Opens a separate browser session and returns its opaque handle.
Closes a session opened with browser_session_open. Parameters: browserSessionId (string)