Skiplink

Guides

Monitoring production for new accessibility violations

A CI gate checks what your team merges. Production also changes when an editor publishes a page, a marketing tag is added or a third-party widget updates itself, and none of those open a pull request.

What CI does not see

A pull request gate is the right place to catch the regressions your developers introduce. It is blind to everything else that changes a live page:

None of this goes through your repository, so none of it meets the gate.

Monitors: the CI gate, on a schedule

A Skiplink monitor runs the same check as CI against a production URL on a schedule. It keeps its own baseline, and it notifies you only when a violation appears that it has not already told you about. Once you have heard about a violation, you do not hear about it again on every run.

That second part matters more than it sounds. A monitor that sends the same forty contrast findings every morning is a feed, and people mute feeds. One that stays quiet until something new appears gets read.

Creating one is a single API call. Monitors are on the Growth plan and above, and each run counts as one scan.

curl -X POST https://api.skiplink.dev/v1/monitors \
  -H "Authorization: Bearer $SKIPLINK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
        "url": "https://example.com/checkout",
        "name": "Checkout",
        "interval": "daily",
        "notify_slack": "https://hooks.slack.com/services/..."
      }'

The parameters, from the docs:

To pause one, PATCH /v1/monitors/{id} with {"enabled": false}. GET /v1/monitors lists them and DELETE /v1/monitors/{id} removes one.

Choosing pages and intervals

Monitor templates and journeys, not every URL. On most sites a handful of pages stand for the rest: the home page, one article or product page per template, the sign-up and checkout entry points, and anything that carries a third-party widget.

Then match the interval to how often the page changes and how much a problem costs:

Ten pages daily is roughly 300 scans a month; five of them moved to hourly is closer to 3,750. The arithmetic is worth doing before you create them.

Verifying webhook deliveries

A webhook URL ends up in logs, chat and screenshots, so treat it as public and check the signature on every delivery. Each request carries a Skiplink-Signature header of the form t=<unix>,v1=<hex>, where the signature is HMAC-SHA256, under your webhook secret, of the timestamp, a dot, and the raw request body:

const [, ts, sig] = header.match(/t=(\d+),v1=([a-f0-9]+)/);
const expected = crypto.createHmac('sha256', secret)
  .update(ts + '.' + rawBody).digest('hex');
if (!crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected))) throw new Error('bad signature');

Compute it over the raw body, before any JSON parsing, and reject timestamps more than a few minutes old so a captured request cannot be replayed later.

When a monitor goes quiet

Ten consecutive delivery failures disable a monitor. An endpoint that has been down for days is using your scan quota to talk to nobody, so the monitor stops rather than retrying indefinitely. If a monitor you rely on has been silent for a suspiciously long time, check whether it has been disabled, and re-enable it with PATCH once the endpoint is back:

curl -X PATCH https://api.skiplink.dev/v1/monitors/{id} \
  -H "Authorization: Bearer $SKIPLINK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"enabled": true}'

Pages a monitor cannot reach

Monitors fetch pages from the public internet, like any hosted scan. A signed-in dashboard or an account page is out of reach, and the guard refuses private and internal addresses. For those, the check belongs in your end-to-end tests with the Playwright adapter, run against production-like data on a schedule of your own.

What a quiet monitor means

A monitor that has not alerted means no new automatically detectable violations appeared on the pages it watches, at the moments it ran. It does not mean the accepted violations have gone away, and it says nothing about the problems no rule can detect: a CMS editor's alt text that reads "image", a new widget that traps keyboard focus. Those still need a person. The list of what no scanner detects is the place to start, and what a scan does not tell you explains why.

Try it on your own site: scan a URL for free, or read the docs to add a baseline to your pipeline.