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 of WCAG/violation tags), includeIncomplete (default true), maxNodesPerViolation (default 10), includeSelectors (optional), excludeSelectors (optional), withRules (optional), disableRules (optional), annotateScreenshot (default false).
Crawls and scans multiple internal pages, then aggregates violations across the site. Default strategy: link-based BFS from the current URL. 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.
Inspects the browser's accessibility tree, accessible names and element geometry for potential accessibility issues. 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 without returning the full snapshot. Parameters: text (case-insensitive substring), regex (regular expression), maxResults (optional positive integer), filename (optional).
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 map of mime type to value).
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 (e.g., 'ArrowLeft' or 'a').
Record browser actions and return them as Playwright JavaScript.
Stop the recording of browser actions.
Evaluate a JavaScript expression on the page. Parameters: function (e.g., () => document.title), element (optional), ref (optional).
Take a screenshot of the current page. Parameters: filename (optional), type (png, jpeg, webp), scale (css or device), fullPage (optional), element/ref pair (for element screenshots).
Save page as PDF. Parameters: filename (optional).
Install the configured browser engine.
Close the page.
Resize the browser window. Parameters: width, height.
Manage browser tabs. Parameters: action (list, new, close, select), index (optional for close/select), isolatedContext (optional).
Opens a separate browser session and returns its handle.
Closes a session and releases its browser resources. Parameters: browserSessionId.
Returns all console messages from the page.
Returns the current request list.
Returns credential-redacted request/response headers and body metadata for one request. Parameters: index (the request ID).
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.