{"uid":"cap_jU9bp5vtm59Vp5WpHlmkl","slug":"api-strale-io-a0ca89b9","name":"WCAG 2.1 Accessibility Audit","description":"WCAG 2.1 accessibility audit of a URL. Checks color contrast, alt text, form labels, ARIA roles, heading hierarchy, link text, language. Mostly deterministic.","url":"https://api.strale.io/x402/accessibility-audit","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"URL to audit"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"url":"https://www.w3.org/WAI/test-evaluate/"},"response":{"url":"https://www.w3.org/WAI/test-evaluate/","_meta":{"payment":{"method":"x402","price_usd":0.324,"settlement_id":"0x5c7fe5173621366948df0a94f0043d9d677466185df93e93c40c1d75682489e5"},"capability":"accessibility-audit","latency_ms":46,"provenance":{"source":"html-analysis","fetched_at":"2026-06-13T04:25:56.164Z"}},"score":80,"passes":["All form inputs have associated labels","Heading hierarchy is sequential","1 ARIA landmark roles found","All links have descriptive text","Page language is declared","Viewport meta tag present"],"summary":{"low":0,"medium":0,"critical":1,"passed_checks":6},"violations":[{"fix":"Add descriptive alt text to all informational images, or alt='' for decorative images","rule":"WCAG 1.1.1 - Non-text Content","element":"4 <img> tags","severity":"critical","description":"4 images missing alt attribute"}],"violation_count":1,"manual_review_needed":["Keyboard navigation and focus management","Screen reader compatibility","Color contrast for all text (not just inline styles)","Dynamic content accessibility","Video captions and audio descriptions"]}},"exampleRequest":{"url":"https://www.w3.org/WAI/test-evaluate/"},"tags":["x402"],"displayCostAmount":"0.324","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.324/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.324","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.324","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NRBO57sjnKop30GHkLDA0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.324","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a WCAG 2.1 accessibility audit on a given URL, checking color contrast, alt text, form labels, ARIA roles, heading hierarchy, link text, and language attributes","exampleAgentPrompt":"Can you run a WCAG 2.1 accessibility audit on https://example.com and tell me about any color contrast failures, missing alt text, broken ARIA roles, or heading hierarchy issues?","exampleUseCases":[{"title":"Pre-launch compliance check for e-commerce site","prompt":"Before we go live with our new product pages, can you scan them for accessibility issues? I need to know if we're meeting WCAG standards—especially color contrast, alt text on product images, and form label problems."},{"title":"Audit third-party vendor websites regularly","prompt":"We partner with several vendors whose sites our customers visit. Can you run accessibility audits on their URLs and flag any major WCAG violations like missing ARIA roles, broken heading hierarchy, or inaccessible links?"},{"title":"Automated accessibility gating in CI/CD pipeline","prompt":"I want to prevent accessibility regressions before deployment. Can you check our staging URLs for WCAG 2.1 failures—focus on contrast ratios, form labels, and language attributes—and give me a structured report I can fail the build on?"}],"resultDescription":"Returns a structured accessibility audit report covering WCAG 2.1 checks including color contrast ratios, missing or inadequate alt text, unlabeled form fields, invalid or missing ARIA roles, heading hierarchy violations, non-descriptive link text, and missing language attributes — each with pass/fail status and details.","failureModes":["URL is unreachable or returns non-200 status — audit cannot be performed","URL points to a login-protected page — only publicly visible content is audited","Malformed or missing URL parameter — returns validation error","Dynamically rendered JavaScript content may not be fully evaluated","Very large pages may result in partial results or timeout"],"whenToPreferThis":"Use this endpoint when you need a deterministic, standards-based WCAG 2.1 accessibility check on a publicly accessible URL without setting up a local testing environment. Ideal for automated CI/CD accessibility gating, pre-launch compliance checks, or quick audits of third-party pages. Prefer this over manual tools when you need structured, machine-readable output covering multiple WCAG criteria in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:11.411Z","isFirstParty":false}