Web Accessibility & Compliance Audit
Screen public pages for accessibility, privacy, and internationalization findings
Screen public pages for accessibility, privacy, and internationalization findings. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.
Implementation example by the EdgeDNS team · Updated
The Challenge
Static checks can identify useful issues while leaving keyboard behavior, rendered contrast, and dynamic interactions untested.
The Solution
Run accessibility, privacy, internationalization, and compliance-score checks against representative public pages. The accessibility analyzer reports its static-HTML coverage and confidence. Schedule keyboard, screen-reader, rendered-style, and dynamic-content testing; these scores do not establish accessibility or privacy conformance.
Endpoints Used
Combine these EdgeDNS endpoints to build this solution.
/v1/domain/accessibilityAPI referenceAccessibility Audit: Static HTML accessibility checks with coverage limits
/v1/domain/privacy-auditAPI referencePrivacy Audit: Cookies, trackers, and compliance analysis
/v1/domain/i18nAPI referenceInternationalization Check: Hreflang, language, charset, and RTL support
/v1/score/complianceAPI referenceCompliance Score: Composite score summarizing observed technical compliance signals
What this workflow helps you do
Find static accessibility issues
Review findings and reported coverage before prioritizing fixes.
Review privacy and language signals
Use technical findings to guide specialist review.
Plan manual verification
Test interactions and assistive-technology behavior beyond static HTML.
Code Example
Screen public pages for accessibility, privacy, and internationalization findings
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
{
"path": "/v1/domain/accessibility",
"params": {
"domain": "https://example.com"
}
},
{
"path": "/v1/domain/privacy-audit",
"params": {
"domain": "https://example.com"
}
},
{
"path": "/v1/domain/i18n",
"params": {
"domain": "https://example.com"
}
}
];
// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
const url = new URL(path, 'https://api.edgedns.dev');
url.search = new URLSearchParams(params).toString();
const response = await fetch(url, { headers });
const result = await response.json();
if (!response.ok) {
throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
}
// Keep the response metadata and any partial/unknown findings for review.
console.log(path, result);
}Learn More
Explore industry standards and best practices related to this use case.
W3C Web Content Accessibility Guidelines (WCAG) 2.2
W3C Recommendation defining success criteria for making web content accessible to people with disabilities
European Accessibility Act (EAA)
EU Directive 2019/882 establishing accessibility requirements for products and services including websites
GDPR Official Text
Complete text of the EU General Data Protection Regulation with article-by-article commentary
Ready to build Web Accessibility & Compliance Audit?
Get started with 200 free API requests per month. No credit card required.
Other Use Cases
GDPR Privacy & Third-Party Tracking Audit
Inventory observable tracking signals for a privacy review
Cloud Security Engineer / Platform EngineerSubdomain Takeover Checks for Service Offboarding
Review dangling DNS before retiring a cloud resource or SaaS service
Product Engineer / International Growth TeamIP Geolocation for Content Localization
Suggest a regional experience while keeping the visitor in control