{"uid":"cap_RqeEt20cNUOADd4l1KiPc","slug":"wcag-accessibility-audit-via-axe-core-d2ef2e20","name":"WCAG Accessibility Audit via axe-core","description":"WCAG accessibility audit of a public URL using headless Chromium and axe-core: violation/pass/incomplete counts by impact, per-rule detail, and a 0-100 score.","url":"https://x402-api-24223879872.us-east1.run.app/v1/a11y-audit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL to audit. Private/loopback/link-local hosts are rejected."},"wcag":{"enum":["2.1-aa","2.2-aa"],"type":"string","default":"2.2-aa"},"viewport":{"enum":["desktop","mobile"],"type":"string","default":"desktop"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{"type":"string"},"score":{"type":"number"},"summary":{"type":"object","properties":{"passes":{"type":"number"},"byImpact":{"type":"object","properties":{"minor":{"type":"number"},"serious":{"type":"number"},"critical":{"type":"number"},"moderate":{"type":"number"}}},"incomplete":{"type":"number"},"violations":{"type":"number"}}},"finalUrl":{"type":"string"},"viewport":{"enum":["desktop","mobile"],"type":"string"},"auditedAt":{"type":"string"},"wcagLevel":{"enum":["2.1-aa","2.2-aa"],"type":"string"},"incomplete":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"impact":{"type":["string","null"]},"description":{"type":"string"}}}},"violations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"nodes":{"type":"array","items":{"type":"object","properties":{"html":{"type":"string"},"selector":{"type":"string"},"failureSummary":{"type":"string"}}}},"impact":{"type":["string","null"]},"helpUrl":{"type":"string"},"wcagTags":{"type":"array","items":{"type":"string"}},"description":{"type":"string"}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jyShVLiMsCZu_72cIWVf3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a WCAG 2.1-AA or 2.2-AA accessibility audit on any public URL using headless Chromium and axe-core, returning violation/pass/incomplete counts by impact level and a 0-100 accessibility score.","exampleAgentPrompt":"Can you run a WCAG 2.2-AA accessibility audit on https://example.com using a desktop viewport and tell me the score plus any critical or serious violations?","exampleUseCases":[{"title":"Pre-launch accessibility compliance check","prompt":"Before we go live, can you audit https://myapp.com for WCAG 2.2-AA accessibility issues on desktop and give me the score and a breakdown of any critical or serious violations?"},{"title":"Mobile accessibility review for a client site","prompt":"Run a WCAG 2.1-AA accessibility audit on https://client-portfolio.com using a mobile viewport — I need the full list of violations with their impact levels and the HTML selectors where they occur."},{"title":"Continuous accessibility regression monitoring","prompt":"Check https://staging.myblog.com against WCAG 2.2-AA on desktop and tell me if there are any new accessibility violations compared to a perfect score — especially anything flagged as critical or moderate."}],"resultDescription":"Returns a JSON object with: a 0-100 accessibility score, the audited and final URLs, the WCAG level and viewport used, an audit timestamp, a summary object with total violation/pass/incomplete counts and a breakdown by impact (critical, serious, moderate, minor), an array of violations each with rule ID, description, impact, WCAG tags, help URL, and per-node HTML snippets and failure summaries, plus an array of incomplete (needs-review) rules.","failureModes":["Private, loopback, or link-local URLs are rejected with an error","URL that times out or returns non-200 in headless Chromium results in an audit failure","Malformed or missing 'url' query parameter returns a validation error","Sites with heavy JavaScript that doesn't render in time may yield incomplete audits","Paywalled or login-required pages will only audit the publicly visible portion"],"whenToPreferThis":"Choose this endpoint when you need a programmatic, per-rule WCAG accessibility audit with axe-core severity breakdown (critical/serious/moderate/minor) and a normalized 0-100 score for any public URL, especially when you need both desktop and mobile viewport options and support for both WCAG 2.1-AA and 2.2-AA standards. Prefer it over manual audits or browser extensions when automating CI/CD checks or agent-driven compliance workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T18:31:24.490Z","isFirstParty":false,"canonicalSlug":"wcag-accessibility-audit-via-axe-core-d2ef2e20"}