# WCAG 2.1 Accessibility Audit

> WCAG 2.1 Accessibility Audit is a paid API for AI agents from api.strale.io, paid per call via x402, $0.324/call, status unknown (last checked 2026-09-14).

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

## Facts

- Endpoint: GET https://api.strale.io/x402/accessibility-audit
- Price: $0.324/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-a0ca89b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jU9bp5vtm59Vp5WpHlmkl

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-strale-io-a0ca89b9
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

WCAG 2.1 accessibility audit of a URL. Checks color contrast, alt text, form labels, ARIA roles, heading hierarchy, link text, language. Mostly deterministic.

## Output

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.

## Example request

```json
{
 "url": "https://www.w3.org/WAI/test-evaluate/"
}
```

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-a0ca89b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
