# B2B Website Compliance, WCAG Accessibility & Lead Auditor (`jacobianflux/b2b-compliance-accessibility-auditor`) Actor

Audit business websites in bulk for WCAG 2.2 & EAA accessibility, HTTP security headers (HSTS/CSP), GDPR cookie banners, Schema.org/AI readiness, CMS/tech stack, and emails/phones/socials. Returns a 0-100 score and fix list for n8n & MCP agents. Failed URLs free.

- **URL**: https://apify.com/jacobianflux/b2b-compliance-accessibility-auditor.md
- **Developed by:** [Jacobian Flux Labs](https://apify.com/jacobianflux) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 site auditeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## B2B Website Compliance, WCAG Accessibility & Lead Auditor

**Audit thousands of business websites in one fast HTTP/2 pass for WCAG 2.2 & European Accessibility Act (EAA) gaps, HTTP security headers, GDPR/DPDP cookie compliance, AI/Schema.org readiness, tech stack, and public contacts — at $0.01 per site (failed URLs free).**

Purpose-built to sit right after **Google Maps Scraper** in `n8n`, `Make`, `Clay`, and **MCP AI Agents** (`Claude`, `Cursor`, `LangGraph`) to qualify high-intent web agency, cybersecurity, accessibility, and SaaS prospects.

***

### 6 Audit & Enrichment Layers in One Call

1. **WCAG 2.2 & EAA Accessibility (`accessibilityScore`):** Non-decorative images missing `alt` text, unlabeled `<input>` controls, missing `<html lang>`, skip-navigation anchors, `h1–h6` heading jumps, semantic/ARIA landmarks, and mobile `viewport` configuration.
2. **HTTP Security Posture (`securityScore`):** `Strict-Transport-Security` (`HSTS`), `Content-Security-Policy` (`CSP`), `X-Frame-Options`, `X-Content-Type-Options`, `Referrer-Policy`, and `Permissions-Policy`.
3. **GDPR / DPDP & AI Search Readiness (`privacyScore`):** Detects 24+ Cookie Consent Management Platforms (`OneTrust`, `Cookiebot`, `Complianz`, `Iubenda`, `Termly`, `Osano`, etc.), Privacy/Terms links, `Schema.org` JSON-LD structured data, and AI crawler `noai`/`noindex` directives.
4. **CMS, Ecommerce & Pixel Stack:** Identifies `WordPress`, `WooCommerce`, `Shopify`, `Webflow`, `Wix`, `Squarespace`, `Framer`, `HubSpot CMS`, `Drupal`, `Magento`, `Ghost`, plus `GA4`, `GTM`, `Meta Pixel`, `LinkedIn Insight`, `TikTok Pixel`, `Hotjar`, `Clarity`, and JS frameworks (`Next.js`, `React`, `Vue.js`, `Angular`, `Nuxt.js`, `Svelte`, `Astro`).
5. **Lead Contact & Social Extraction:** Deduplicated business emails, phone numbers, and company social links (`LinkedIn`, `Instagram`, `X/Twitter`, `Facebook`, `YouTube`).
6. **Ready-to-Pitch Triage (`riskLevel` & `remediationFixes`):** Classifies each domain into `LOW`, `MODERATE`, `HIGH`, or `CRITICAL` risk with plain-English fix bullets ready to merge into outreach sequences.

***

### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | `array` | `[{"url": "https://example.com"}]` | List of business website URLs (objects or plain URL strings). |
| `maxPages` | `integer` | `50` | Maximum websites to audit in one run (`1`–`5000`). |
| `timeout` | `integer` | `15` | Per-website HTTP timeout in seconds (`5`–`60`). |

***

### Sample Output JSON

```json
{
  "url": "https://www.examplebakery.com/",
  "title": "Example Bakery — Fresh Bread Daily",
  "complianceScore": 61,
  "riskLevel": "HIGH",
  "accessibilityScore": 65,
  "imagesTotal": 12,
  "imagesMissingAlt": 4,
  "inputsMissingLabels": 1,
  "hasLangAttribute": true,
  "hasSkipNav": false,
  "headingOrderOk": true,
  "hasAriaLandmarks": true,
  "hasViewportMeta": true,
  "securityScore": 50,
  "hasHSTS": true,
  "hasCSP": false,
  "hasXFrameOptions": true,
  "hasXContentTypeOptions": true,
  "hasReferrerPolicy": false,
  "hasPermissionsPolicy": false,
  "privacyScore": 70,
  "hasCookieConsent": true,
  "hasPrivacyPolicy": true,
  "hasTermsLink": false,
  "hasSchemaOrgJsonLd": false,
  "allowsAiCrawlers": true,
  "cmsDetected": "WordPress",
  "analyticsDetected": ["GA4", "GTM", "Meta Pixel"],
  "frameworksDetected": null,
  "emails": ["hello@examplebakery.com"],
  "emailsFound": 1,
  "phones": ["+1 (555) 123-4567"],
  "phonesFound": 1,
  "socialLinks": ["https://www.instagram.com/examplebakery"],
  "remediationFixes": [
    "Add descriptive WCAG alt text to 4 image(s).",
    "Associate <label> or aria-label attributes with 1 form input(s).",
    "Deploy a Content-Security-Policy (CSP) header to mitigate XSS.",
    "Add Schema.org JSON-LD structured data for search and AI agent discovery."
  ],
  "auditedAt": "2026-11-23T04:00:00+00:00",
  "error": null
}
```

***

### Integrations (`apify-client`, Claude / Cursor MCP & `n8n`)

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("jacobianflux/b2b-compliance-accessibility-auditor").call(
    run_input={
        "startUrls": [{"url": "https://example.com"}],
        "maxPages": 100,
        "timeout": 15,
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"[{item['riskLevel']}] {item['url']} ({item['complianceScore']}/100) -> {item['remediationFixes']}")
```

#### Claude Desktop / Cursor / Windsurf (Apify MCP Server)

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?actors=jacobianflux/b2b-compliance-accessibility-auditor",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

#### `n8n` / Make.com Lead Qualification Blueprint

1. **Google Maps Scraper** -> extract local business `website` URLs.
2. **Apify Run Actor** (`jacobianflux/b2b-compliance-accessibility-auditor`) -> pass extracted websites.
3. **Filter Node** (`riskLevel == "CRITICAL"` or `riskLevel == "HIGH"` and `emailsFound > 0`) -> push `remediationFixes` + `cmsDetected` into HubSpot, Smartlead, or Instantly.

***

### Transparent Pay-Per-Event Pricing

| Event | Price | Details |
| :--- | :--- | :--- |
| `site-audited` | **$0.01 / site** | Charged only for reachable websites successfully audited. Unreachable/4xx/5xx URLs are **$0 (free)**. |

Non-subscribed Free Plan users can test up to **10 websites per run** automatically.

# Actor input Schema

## `startUrls` (type: `array`):

Business website URLs to audit. Accepts objects (\[{"url": "https://example.com"}]) or plain URL strings (\["https://example.com"]). Missing schemes default to https://.

## `maxPages` (type: `integer`):

Maximum number of URLs to audit in a single run (1 to 5,000).

## `timeout` (type: `integer`):

Per-website HTTP request timeout in seconds.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://example.com"
    }
  ],
  "maxPages": 50,
  "timeout": 15
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing audited website scores, detected tech stack, extracted contacts, and prioritized remediation fixes.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://example.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jacobianflux/b2b-compliance-accessibility-auditor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://example.com" }] }

# Run the Actor and wait for it to finish
run = client.actor("jacobianflux/b2b-compliance-accessibility-auditor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://example.com"
    }
  ]
}' |
apify call jacobianflux/b2b-compliance-accessibility-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jacobianflux/b2b-compliance-accessibility-auditor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/gAzZe4ehRkh3bRYsv/builds/ebvCB6eiywqTc73ev/openapi.json
