Accessibility Audit API
developer/v1/domain/accessibilityRuns static HTML accessibility diagnostics using an HTML5 parser, native semantics and resolved accessible-name references. Returns scoped check outcomes, evidence coverage and explicit manual/rendered limitations. The score is not WCAG conformance or legal certification.
What It Does
Inspects real elements rather than commented/rawtext/template markup; checks native labels, ordered IDREF names, language tags, headings, images, links and structural signals. Native HTML needs no redundant ARIA and tag/attribute counts do not earn points. Caption quality, table relationships, focus appearance and keyboard behavior require review; unobserved runtime content is unavailable. Error/challenge/SPA-shell documents cannot establish the requested page assessment.
Why It's Useful
Web accessibility is both a legal requirement (ADA, WCAG) and a business imperative — it expands your audience and improves usability for everyone. Automated audits catch common issues at scale that manual testing would miss.
Use Cases
WCAG Compliance Check
Screen pages for static HTML accessibility findings and use reported coverage limits to plan manual follow-up.
Reduce legal risk and improve inclusivity for users with disabilities.
Development QA
Check new pages or components for accessibility regressions before deployment with detailed per-category scoring.
Catch a11y regressions early in the development cycle with actionable recommendations.
Enterprise Compliance
Monitor accessibility compliance across all public-facing web properties with consistent scoring methodology.
Track and report on accessibility progress across the organization with transparent, weighted scoring.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | Required | Domain or full URL — accepts `example.com` or `https://example.com/path`.Example: https://example.com |
Response Fields
Result fields below are inside the JSON data object. Any row named meta describes the sibling response metadata object. See response and error handling for status codes and error responses. Optional observations may be absent or null; inspect warnings and partial-failure fields before treating a missing result as a negative finding.
| Field | Type | Description |
|---|---|---|
assessment | object | Evidence completeness/coverage; unavailable/error documents cannot establish requested-page accessibility |
checkResults | object | Per static check pass/fail/needs_review/not_applicable; not whole-criterion or WCAG conformance outcomes |
methodology | object | Versioned static HTML diagnostic scope and partial WCAG references |
finalUrl | string | Final inspected document URL |
responseStatusCode | number | Inspected response status; error/challenge representations are unavailable evidence |
domain | string | The audited domain (bare hostname). |
url | string | Full URL that was fetched, echoing the protocol used in the request. |
aria | object | ARIA attributes, landmarks, and issues found |
semanticHtml | object | Semantic element usage with score |
formLabels | object | Form input label coverage and issues |
language | object | Lang attribute presence and validity |
headings | object | Heading order validation and skipped levels |
images | object | Image alt text coverage, quality, and decorative detection |
skipNavigation | object | Skip navigation link detection |
tabIndex | object | Positive tabindex anti-pattern detection |
linkText | object | Generic link text detection |
pageTitle | object | Page title presence, emptiness, and generic title detection |
viewport | object | Viewport zoom restriction detection |
autoplayMedia | object | Unmuted autoplay media detection |
mediaCaptions | object | Video/audio caption and subtitle detection (WCAG 1.2.2) |
tables | object | Table caption, header, and scope usage |
buttons | object | Empty button accessible name detection |
iframes | object | Iframe title attribute coverage |
duplicateIds | object | Duplicate ID attribute detection |
linkAccessibility | object | Empty and image-only link detection |
autocomplete | object | Autocomplete attribute coverage on identifiable inputs |
metaRefresh | object | Meta refresh redirect detection |
svgs | object | SVG accessible name detection |
formGroups | object | Fieldset/legend usage for radio/checkbox groups |
focusSuppression | object | Inline outline suppression detection |
mediaAlternatives | object | Object, embed, canvas alternative text detection |
score | number | Diagnostic score over applicable observed static checks; consult assessment and checkResults before interpreting |
grade | string|null | Static-check grade when evidence is complete; null when provisional or unavailable. Does not establish WCAG conformance. |
gradeDescription | string | Description of the static diagnostic result, including unavailable or provisional scope. |
breakdown | object | Per-category score breakdown with max weights |
recommendations | array | Actionable accessibility improvements |
supplementaryChecks | object | Informational WCAG checks not included in scoring: orientation lock (1.3.4), accesskeys (2.1.4), aria-live regions (4.1.3) |
wcagCoverage | object | Partial criterion references and explicit static/manual limitations; no universal automatable-criterion denominator |
confidence | object | Result confidence indicator: level (high/medium/low) and limitations list |
Scoring Methodology
24 checks / 100 pts
Each check maps to a WCAG 2.1 success criterion at Level A or AA. The weighted score (0-100) determines the letter grade: A+ (95-100), A (85-94), B (70-84), C (50-69), D (30-49), F (0-29). Categories without applicable elements on the page receive full marks.
| Check | WCAG | Level | Weight |
|---|---|---|---|
| Semantic HTML Static landmark correctness; no quota for semantic element names | 1.3.1 | A | 10 |
| Form Labels Input label coverage via explicit, implicit, or ARIA labeling | 1.3.1 / 4.1.2 | A | 10 |
| Image Alt Text Alt text presence (60%) and quality (40%) blended score | 1.1.1 | A | 10 |
| Heading Order Heading outline diagnostics; no universal exactly-one-H1 requirement | 1.3.1 / 2.4.6 | A | 10 |
| Language Valid lang attribute on the html element | 3.1.1 | A | 7 |
| ARIA Applicable role correctness; redundant ARIA attributes earn no extra credit | 4.1.2 | A | 6 |
| Viewport Zoom No user-scalable=no or maximum-scale < 2 | 1.4.4 | AA | 5 |
| Skip Navigation Skip-to-content link for keyboard navigation | 2.4.1 | A | 4 |
| Page Title Descriptive title element present (generic titles like "Home" or "Untitled" receive partial credit) | 2.4.2 | A | 4 |
| Link Text No generic link text (click here, read more, etc.) | 2.4.4 | A | 3 |
| Tab Index No positive tabindex values (anti-pattern) | 2.4.3 | A | 3 |
| Link Accessibility No empty or image-only links missing alt text | 2.4.4 / 4.1.2 | A | 3 |
| Autoplay Media No unmuted autoplay audio or video | 1.4.2 | A | 2 |
| Media Captions Caption/track static signals requiring manual content review | 1.2.2 | A | 3 |
| Tables Table markup signals; actual header relationships and layout/data applicability require review | 1.3.1 | A | 3 |
| Duplicate IDs Each id attribute must be unique — duplicate IDs break ARIA references (aria-labelledby, aria-controls) and label[for] associations. | 1.3.1 / 4.1.2 | A | 2 |
| Autocomplete Autocomplete on identifiable inputs (name, email, phone) | 1.3.5 | AA | 2 |
| Meta Refresh No meta http-equiv=refresh redirect or reload | 2.2.1 | A | 2 |
| SVG Accessibility Accessible names on non-decorative SVGs via title or aria-label | 1.1.1 | A | 2 |
| Form Groups Fieldset and legend for radio/checkbox groups | 1.3.1 | A | 2 |
| Buttons All buttons have accessible names | 4.1.2 | A | 2 |
| Focus Management No inline outline:none suppressing focus indicators | 2.4.7 | AA | 2 |
| Iframes Title attribute on all iframe elements | 2.4.1 | A | 2 |
| Media Alternatives Alternative text for object, embed, and canvas elements | 1.1.1 | A | 1 |
| Total | 100 | ||
Code Examples
Replace YOUR_API_KEY with your API key. This endpoint requires the developer plan or higher; see plans and usage limits.
curl --request GET 'https://api.edgedns.dev/v1/domain/accessibility?domain=https%3A%2F%2Fexample.com' \
--header "Authorization: Bearer YOUR_API_KEY"const response = await fetch(
"https://api.edgedns.dev/v1/domain/accessibility?domain=https%3A%2F%2Fexample.com",
{
"method": "GET",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
);
if (!response.ok) {
throw new Error(`EdgeDNS returned HTTP ${response.status}`);
}
const data = await response.json();
console.log(data);import requests
response = requests.request(
'GET',
"https://api.edgedns.dev/v1/domain/accessibility?domain=https%3A%2F%2Fexample.com",
headers={'Authorization': 'Bearer YOUR_API_KEY'},
timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)Read the full Accessibility Audit guide
Learn the concepts, choose a practical workflow, and interpret the observations from Accessibility Audit before acting on them. Run supported checks via MCP or through REST.
Read the guide →Related Endpoints
External References
Learn more about the standards and protocols behind this endpoint.
Try This Endpoint
Test the Accessibility Audit endpoint live in the playground.