Docs Start Overview Overview The 15 crates in four layers, their dependencies and what each is for.
The crates sit in four layers. Dependencies only point down: a package never uses one from
its own or a higher layer. None of them opens a page or speaks a browser protocol — the data
comes from the tool that embeds the packages.
Focus Show all html5-parser csp-parse media-query-parse xpath-eval relax-ng schematron-engine a11y-dom a11y-report stylesheet-parse html-conform accname a11y-rules a11y-perception web-checks a11y-wasmThe 15 crates and their dependencies The 15 crates and their dependencies An arrow leads from a crate to the one that uses it. Dependencies only point down, from L0 to L3: html-conform builds on six parsers and engines, a11y-rules on a11y-dom, a11y-report and stylesheet-parse, and a11y-wasm bundles a11y-rules and accname for the browser. a11y-perception and web-checks stand alone. L0 · Parsers and engines L1 · Model L2 · Computation L3 · Delivery stylesheet-parse → a11y-rules a11y-dom → a11y-rules a11y-report → a11y-rules a11y-dom → a11y-wasm a11y-report → a11y-wasm a11y-rules → a11y-wasm accname → a11y-wasm a11y-dom → accname csp-parse → html-conform html5-parser → html-conform media-query-parse → html-conform relax-ng → html-conform schematron-engine → html-conform xpath-eval → html-conform xpath-eval → schematron-engine media-query-parse → stylesheet-parse html5-parser – HTML parser html5-parser HTML parser csp-parse – CSP csp-parse CSP media-query-parse – Media Queries media-query-parse Media Queries xpath-eval – XPath 1.0 xpath-eval XPath 1.0 relax-ng – RELAX NG relax-ng RELAX NG schematron-engine – Schematron schematron-engine Schematron a11y-dom – Document model a11y-dom Document model a11y-report – Finding model a11y-report Finding model stylesheet-parse – CSS stylesheets stylesheet-parse CSS stylesheets html-conform – HTML conformance html-conform HTML conformance accname – Accessible Name accname Accessible Name a11y-rules – Rule set a11y-rules Rule set a11y-perception – Perception a11y-perception Perception web-checks – robots, meta, JSON-LD web-checks robots, meta, JSON-LD a11y-wasm – WebAssembly, npm a11y-wasm WebAssembly, npm Source: [dependencies] of the crate manifests in crates/*/Cargo.toml
Show chart data Data for The 15 crates and their dependencies Step Kind Lane Leads to xpath-eval step L0 · Parsers and engines html-conform, schematron-engine media-query-parse step L0 · Parsers and engines html-conform, stylesheet-parse a11y-dom step L1 · Model a11y-rules, a11y-wasm, accname a11y-perception step L2 · Computation web-checks step L2 · Computation html5-parser step L0 · Parsers and engines html-conform schematron-engine step L0 · Parsers and engines html-conform csp-parse step L0 · Parsers and engines html-conform relax-ng step L0 · Parsers and engines html-conform a11y-report step L1 · Model a11y-rules, a11y-wasm stylesheet-parse step L1 · Model a11y-rules accname step L2 · Computation a11y-wasm html-conform step L1 · Model a11y-rules step L2 · Computation a11y-wasm a11y-wasm step L3 · Delivery
Focus Show all html5-parser csp-parse media-query-parse xpath-eval relax-ng schematron-engine a11y-dom a11y-report stylesheet-parse html-conform accname a11y-rules a11y-perception web-checks a11y-wasmThe 15 crates and their dependencies The 15 crates and their dependencies An arrow leads from a crate to the one that uses it. Dependencies only point down, from L0 to L3: html-conform builds on six parsers and engines, a11y-rules on a11y-dom, a11y-report and stylesheet-parse, and a11y-wasm bundles a11y-rules and accname for the browser. a11y-perception and web-checks stand alone. L0 · Parsers and engines L1 · Model L2 · Computation L3 · Delivery stylesheet-parse → a11y-rules a11y-dom → a11y-rules a11y-report → a11y-rules a11y-dom → a11y-wasm a11y-report → a11y-wasm a11y-rules → a11y-wasm accname → a11y-wasm a11y-dom → accname csp-parse → html-conform html5-parser → html-conform media-query-parse → html-conform relax-ng → html-conform schematron-engine → html-conform xpath-eval → html-conform xpath-eval → schematron-engine media-query-parse → stylesheet-parse html5-parser – HTML parser html5-parser HTML parser csp-parse – CSP csp-parse CSP media-query-parse – Media Queries media-query-parse Media Queries xpath-eval – XPath 1.0 xpath-eval XPath 1.0 relax-ng – RELAX NG relax-ng RELAX NG schematron-engine – Schematron schematron-engine Schematron a11y-dom – Document model a11y-dom Document model a11y-report – Finding model a11y-report Finding model stylesheet-parse – CSS stylesheets stylesheet-parse CSS stylesheets html-conform – HTML conformance html-conform HTML conformance accname – Accessible Name accname Accessible Name a11y-rules – Rule set a11y-rules Rule set a11y-perception – Perception a11y-perception Perception web-checks – robots, meta, JSON-LD web-checks robots, meta, JSON-LD a11y-wasm – WebAssembly, npm a11y-wasm WebAssembly, npm Source: [dependencies] of the crate manifests in crates/*/Cargo.toml
Show chart data Data for The 15 crates and their dependencies Step Kind Lane Leads to xpath-eval step L0 · Parsers and engines html-conform, schematron-engine media-query-parse step L0 · Parsers and engines html-conform, stylesheet-parse a11y-dom step L1 · Model a11y-rules, a11y-wasm, accname a11y-perception step L2 · Computation web-checks step L2 · Computation html5-parser step L0 · Parsers and engines html-conform schematron-engine step L0 · Parsers and engines html-conform csp-parse step L0 · Parsers and engines html-conform relax-ng step L0 · Parsers and engines html-conform a11y-report step L1 · Model a11y-rules, a11y-wasm stylesheet-parse step L1 · Model a11y-rules accname step L2 · Computation a11y-wasm html-conform step L1 · Model a11y-rules step L2 · Computation a11y-wasm a11y-wasm step L3 · Delivery
Layer Crate Purpose L0 html5-parserWHATWG HTML5 tokenizer and tree construction L0 css-tokenizeCSS Syntax Level 3 tokenizer L0 csp-parseContent Security Policy grammar L0 media-query-parseCSS Media Queries grammar L0 xpath-evalXPath 1.0, generic over the document model L0 relax-ngread and validate RELAX NG schemas L0 schematron-engineISO Schematron rules, XPath via xpath-eval L1 a11y-domdocument model as a trait plus capability tiers L1 a11y-reportone finding and report model with stable JSON L1 stylesheet-parseCSS stylesheets with their @media context L1 html-conformHTML5 conformance, comparable to vnu, no JVM L1 xml-adaptersroxmltree adapters for RELAX NG, XPath and SchematronL2 accnameaccessible name and description per WAI-ARIA L2 style-cascadethe CSS cascade without a browser: computed styles for contrast checks L2 a11y-rulesthe rule set, generic over the document model L2 a11y-staticbrowser-free audit of static HTML: HTML and fetched stylesheets in, one report out L2 a11y-perceptionperception over browser data: AX tree, reading order, diff of two snapshots L2 web-checksrobots.txt, meta lengths, OpenGraph, JSON-LD, hreflang L3 a11y-wasmthe rule set as WebAssembly, on npm as @casoon/a11y-wasm L3 html-conform-wasmHTML5 conformance checking as WebAssembly, on npm as @casoon/html-conform-wasm
All 15 are on crates.io. The four a11y crates a11y-dom, a11y-report, accname and
a11y-rules are versioned together; all others independently.
Edit this page on GitHub