npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ariada-org/test-fixtures

v0.2.0

Published

Curated HTML fixtures + golden snapshots for accessibility rule testing — generic axe-core cases plus EU real-world patterns (Klarna/BankID/MobilePay/Mittelstand/RGAA). HTML fixtures dedicated to the public domain (CC0-1.0); fixture-server source code und

Readme

@ariada-org/test-fixtures

Curated HTML fixtures + golden snapshots for accessibility rule testing.

HTML fixtures are dedicated to the public domain under CC0-1.0 (Creative Commons Zero v1.0 Universal — maximum-permissive, no attribution required). The fixture-server source code under src/serve.ts remains EUPL-1.2 and carries an inline EUPL-1.2 SPDX header. The compound SPDX expression in package.json is CC0-1.0 AND EUPL-1.2.

What this package does

Provides a stable, version-controlled set of HTML test inputs for accessibility-rule libraries, scanners, and CI harnesses. Two layers:

  • Generic axe-core cases — minimal stand-alone files for basic regression: contrast violations, missing alt, iframe / shadow-DOM containment, mixed-severity baselines.
  • EU real-world patterns — fixtures that imitate the visual / interaction patterns of widely-deployed European services (Klarna-style SE checkout, BankID-style SE authentication, MobilePay-style DK merchant flow, Finnish DOS-lagen statement, German Mittelstand, French RGAA). No third-party brand assets are embedded; brand names appear only in filenames and provenance comments for findability.

Install

npm install --save-dev @ariada-org/test-fixtures

Usage — programmatic HTTP server (generic fixtures)

import { startFixtureServer } from "@ariada-org/test-fixtures";

const fx = await startFixtureServer();
// fx.url → http://127.0.0.1:<random>
// navigate to `${fx.url}/color-contrast.html` etc
await fx.stop();

Usage — file-path access (any fixture)

import { createRequire } from "node:module";
import * as path from "node:path";

const require = createRequire(import.meta.url);
const fixturesRoot = path.dirname(
  require.resolve("@ariada-org/test-fixtures/fixtures/basic-pass.html"),
);

// or for the EU real-world set:
const euRoot = path.dirname(
  require.resolve("@ariada-org/test-fixtures/fixtures/eu-real-world/README.md"),
);

Generic fixtures (fixtures/)

| File | Purpose | | --------------------- | --------------------------------------------- | | basic-pass.html | Clean baseline, no violations | | color-contrast.html | 2 critical-contrast violations | | alt-text.html | 3 serious missing-alt violations | | shadow-dom.html | Open shadow root with inner violations | | iframe-nested.html | Top frame + same-origin child with violations | | iframe-child.html | Child of iframe-nested.html | | mixed-severity.html | Mixed critical/serious/moderate/minor |

EU real-world fixtures (fixtures/eu-real-world/)

Each file carries an in-file License: CC0-1.0 header and a Status: PASS|FAIL|MIXED marker. Categories:

  • Swedish e-commerceklarna-style-{cart,checkout,bad-checkout,order-confirmation}-sv.html
  • Swedish bankingbankid-style-{sso-redirect,2fa-challenge,success}-sv.html
  • Danish mobile paymobilepay-style-{merchant-checkout,authentication,bad-merchant}-da.html
  • Finnish statementaccessibility-statement-fi{,-incomplete}.html
  • German Mittelstandmittelstand-{checkout,bad-checkout}-de.html
  • French RGAArgaa-statement-fr{,-incomplete}.html

License

CC0-1.0 for all fixtures/** HTML content (Creative Commons Zero — public-domain dedication, maximum-permissive). EUPL-1.2 for src/serve.ts (the in-process fixture-server code). REUSE-machine-readable metadata in REUSE.toml. See NOTICE for the patent-peace pledge and trademark notice.

The CC0-1.0 dedication on fixtures is deliberate: accessibility test corpora benefit from frictionless reuse across competing toolchains, regulators, and academic work. We chose CC0-1.0 over Apache-2.0 / MIT to avoid an attribution-collision problem when downstream consumers concatenate fixtures from multiple sources into a single golden-file suite. This also aligns with Horizon Europe Article 17 «open data» principles for publicly-funded research outputs.

Part of the Ariada OSS platform

This package is one component of the open-core Ariada accessibility-compliance platform. See ariada.org for the full pipeline.