Changelog
Generated from CHANGELOG.md in the project repository. Never maintained twice.
Unreleased
- addedAudit:
barrierlab <url|file>fetches a page, parses it without a browser and runs the structure, semantics and stylesheet rules ofa11y-rules. - addedOutput: text report through runemark, or
--jsonwith thea11y-reportmodel; exit code 1 when a rule fails. - addedContrast: styles are computed from the page's stylesheets with
style-cascade; contrast is checked where colours can be determined and reported as undetermined otherwise. - addedAudit:
--base-urlresolves linked stylesheets of a local file;--widthand--darkset the media-query environment. - addedExit code:
--fail-on reviewalso exits 1 when a finding needs review. - addedInput: a stylesheet that cannot be loaded is listed under
inputsin--jsonand in the text report, with the reason; contrast is then untested instead of passed. - addedFetching: page and stylesheet bodies are size-limited (10 MiB and 2 MiB).
- addedFetching: browser-like request headers, retries with back-off,
--botand--user-agent. - changedAudit: parsing, stylesheet discovery (
<link media>,disabled,rel=alternate,<style media>,hidden) and the cascade wiring come froma11y-static; the CLI only fetches. - changedDependencies: barrierlab crates come from crates.io (
a11y-static0.1,a11y-report0.28) instead of a sibling checkout;cargo install --gitworks on its own. - changedDependencies:
runemark0.10. In a terminal, an emptyNO_COLORno longer turns colour off, andTERM=dumbdoes; piped output is unchanged. - changedDependencies:
a11y-static0.2; a sheet that cannot be loaded is passed asSheet::failedwith its reason, so the CLI no longer rewrites the report notes itself.