Skip to content

Installation

How to install and set up the HolmDigital testing suite. Modular packages for engine, standards, and components.

The HolmDigital suite is modular. You can install only what you need, but we recommend the full toolkit for the best experience.

0. Packages

Engine

Automated scanner core.

@holmdigital/engine
Standards

Regulatory logic & laws.

@holmdigital/standards
Components

Accessible React UI.

@holmdigital/components

1. CLI Quick Start

You don't even need to install the engine locally to run a scan. Use npx:

# Simple scan npx hd-a11y-scan https://example.com # Generate PDF report npx hd-a11y-scan https://example.com --pdf ./report.pdf --lang sv # Generate statement for private sector (EAA) npx hd-a11y-scan https://example.com --statement ./statement.html --sector private --country SE

2. Localization

The engine supports multiple languages for reports and accessibility statements.

en
sv
no
da
fi
de
fr
es
nl
it
pt
pl
en-gb
en-us
en-ca

3. Project Configuration (.a11yrc)

Store your settings in a .a11yrc (JSON) file in your project root. The engine will automatically detect and apply these values.

{ "lang": "sv", "threshold": "high", "viewport": "desktop", "ci": true, "org": "HolmDigital AB", "email": "hej@holmdigital.se", "sector": "public" }