包详细信息

pa11y-runner-htmlhint

thibaudcolas21MIT0.1.2

Pa11y runner for HTML linting with HTMLHint

pa11y, pa11y-runner, accessibility, html validation

自述文件

pa11y-runner-htmlhint npm Build Status Total alerts Language grade: JavaScript

Pa11y runner for HTML linting with HTMLHint.

Usage

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

Why

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.

Contributing

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.

Credits

View the full list of contributors. MIT licensed.

更新日志

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning, enforced with semantic-release.

0.1.2 (2020-06-06)

Bug Fixes

  • deps: update htmlhint to ^0.14.0 (#4) (5ddb521)

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning, enforced with semantic-release.

0.1.1 (2020-06-01)

Bug Fixes

  • deps: whitelist files for published package (26746cc)

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

0.1.0 (2020-05-31)

Features

  • First usable release 🎉