# WCAG 2.2, EAA & BFSG Accessibility Checker | BarrierPulse (`liebreich-software/barrierpulse-wcag-bfsg-accessibility-auditor`) Actor

Website accessibility checker, crawler & auditor for WCAG 2.2 AA, European Accessibility Act (EAA), EN 301 549 & German BFSG (§ 14): 26 deterministic DOM, ARIA & color-contrast checks, copy-paste HTML fixes, 0-100 score & CSV/Markdown reports ($0.02/page).

- **URL**: https://apify.com/liebreich-software/barrierpulse-wcag-bfsg-accessibility-auditor.md
- **Developed by:** [Seyithan Akay](https://apify.com/liebreich-software) (community)
- **Categories:** Developer tools, Lead generation, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$20.00 / 1,000 page audited (wcag 2.2 aa & eu bfsg)s

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/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

## BarrierPulse — WCAG 2.2 AA & EU BFSG Accessibility Auditor

BarrierPulse is a deterministic, low-memory Apify Actor for agencies, shops, banks, SaaS teams and public-sector suppliers that need repeatable **WCAG 2.2 Level A/AA**, **EN 301 549-oriented** and **German BFSG § 14** accessibility checks across many pages.

Unlike browser-based scanners, BarrierPulse uses SSRF-hardened asynchronous HTML+CSS fetching and a deterministic mini-DOM. It runs in the 256–512 MB Apify memory tier and produces both machine-readable findings and copy-paste remediation examples for developers.

### Pay-per-event pricing

- `page-audited`: **$0.02** per successfully audited HTML page (`ok` or `partial`)
- **$0.00 transparency records** for `not_found`, `unreachable`, `not_html`, `ssrf_blocked`, and `error`

### Deterministic audit coverage

- Images, image inputs and informative SVG icons without text alternatives
- Missing programmatic labels for inputs, selects and textareas
- Missing `<main>` landmark, missing/multiple `<h1>`, skipped heading levels
- Data tables without `<th>` or `scope`
- Missing document title and skip-to-content link
- Empty or ambiguous links/buttons and positive `tabindex` anti-patterns
- Missing/invalid `<html lang>` and mobile zoom blockers (`user-scalable=no`, `maximum-scale=1`)
- WCAG 1.4.3 contrast calculations using the official relative-luminance formula for inline and CSS-declared color pairs
- `<marquee>`, `<blink>`, and autoplay media without controls/muting
- Invalid ARIA roles, `aria-hidden="true"` on focusable controls, duplicate IDs
- Discovery of linked `Barrierefreiheitserklärung` / accessibility statement plus feedback/contact mechanism signals

### Input

The default one-click input audits `https://liebreichsoftware.com` for exactly one billable page. Set `crawlSubpages: true` to crawl same-domain HTML pages up to `maxPagesPerDomain` (1–100, default 10). PDFs, ZIPs, images, videos, CSS and JS assets are ignored as crawl targets.

### Output

Each dataset record contains:

- `accessibilityScore` (0–100), `grade` (`A+` to `F`) and `bfsgComplianceStatus`
- severity counts and remediation-rich findings (`ruleId`, `wcagCriterion`, `elementSnippet`, `suggestedHtmlFix`)
- BFSG accessibility-statement and feedback-mechanism signals
- fetch metadata and zero-charge error status where applicable

Optional Key-Value Store outputs:

- `BFSG_WCAG_AUDIT_CSV` — OWASP formula-injection-safe agency CSV
- `BFSG_CLIENT_REPORT_MD` — customer-ready Markdown report

### Local CLI

```bash
python -m apify_main --urls https://liebreichsoftware.com
python -m apify_main --urls https://example.com --crawl-subpages --max-pages 10
```

### Scope note

Static deterministic analysis is fast and reproducible, but it does not replace manual screen-reader, keyboard-only, JavaScript-runtime or user testing required for a complete WCAG conformity assessment.

# Actor input Schema

## `urls` (type: `array`):

Start URLs for the accessibility audit. Use full https:// page URLs for precise scans. Identical canonical URLs are deduplicated before crawling, auditing, and charging.

## `crawlSubpages` (type: `boolean`):

Discover and audit same-domain HTML links breadth-first. Files such as PDFs, images, ZIPs, videos, CSS and JS are ignored. Every hop is SSRF-validated and fetched with strict public-IP pinning.

## `maxPagesPerDomain` (type: `integer`):

Maximum number of attempted same-domain pages when crawlSubpages is enabled (1-100). The default 10 keeps agency scans predictable; each successfully audited page is one billable page-audited event.

## `includeExternalCss` (type: `boolean`):

Fetch up to 5 public stylesheet assets per page (512 KiB cap each) so CSS-declared color/background pairs can be contrast-tested in addition to inline styles.

## `maxConcurrency` (type: `integer`):

Number of pages/assets fetched concurrently (1-10).

## `timeoutSeconds` (type: `number`):

Network timeout per page or CSS request in seconds (2.0 to 20.0).

## `exportCsvToKeyValueStore` (type: `boolean`):

Write BFSG_WCAG_AUDIT_CSV, an OWASP formula-injection-safe spreadsheet export, to the Apify Key-Value Store.

## `exportMarkdownReport` (type: `boolean`):

Write BFSG_CLIENT_REPORT_MD, a client-ready Markdown audit report with prioritized copy-paste remediation snippets, to the Apify Key-Value Store.

## Actor input object example

```json
{
  "urls": [
    "https://liebreichsoftware.com"
  ],
  "crawlSubpages": false,
  "maxPagesPerDomain": 10,
  "includeExternalCss": true,
  "maxConcurrency": 5,
  "timeoutSeconds": 8,
  "exportCsvToKeyValueStore": true,
  "exportMarkdownReport": true
}
```

# Actor output Schema

## `audits` (type: `string`):

Dataset containing one scorecard and remediation-rich findings per audited page.

## `auditCsv` (type: `string`):

OWASP formula-injection-safe CSV export of all audit scorecards.

## `clientReportMarkdown` (type: `string`):

Client-ready Markdown report with prioritized copy-paste remediation examples.

# 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 = {
    "urls": [
        "https://liebreichsoftware.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("liebreich-software/barrierpulse-wcag-bfsg-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 = { "urls": ["https://liebreichsoftware.com"] }

# Run the Actor and wait for it to finish
run = client.actor("liebreich-software/barrierpulse-wcag-bfsg-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 '{
  "urls": [
    "https://liebreichsoftware.com"
  ]
}' |
apify call liebreich-software/barrierpulse-wcag-bfsg-accessibility-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,liebreich-software/barrierpulse-wcag-bfsg-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/I9inds8rM7Cb3SioQ/builds/TRC5BX0gTDFJBbEJL/openapi.json
