Pa11y runner for HTML linting with HTMLHint.
🚧 Currently the runner is only compatible with PR #524 – Add lower-level runner API to support non-browser runners, and on my fork thibaudcolas/pa11y#feature/node-runners.
npm install -g https://github.com/thibaudcolas/pa11y#feature/node-runners pa11y-runner-htmlhint
With Pa11y and the runner installed,
pa11y --runner htmlhint https://www.example.com/
HTMLHint isn’t an accessibility checker like other Pa11y runners – it’s a general-purpose HTML linter. Nonetheless, HTMLHint contains a lot of "code smell" linting rules which can be indicative of underlying issues – for example duplicate attributes on HTML elements.
See anything you like in here? Anything missing? We welcome all support, whether on bug reports, feature requests, code, design, reviews, tests, documentation, and more. Please have a look at our contribution guidelines.