BarrierLab

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
The 15 crates and their dependencies
The 15 crates and their dependenciesAn 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 enginesL1 · ModelL2 · ComputationL3 · Deliverystylesheet-parse → a11y-rulesa11y-dom → a11y-rulesa11y-report → a11y-rulesa11y-dom → a11y-wasma11y-report → a11y-wasma11y-rules → a11y-wasmaccname → a11y-wasma11y-dom → accnamecsp-parse → html-conformhtml5-parser → html-conformmedia-query-parse → html-conformrelax-ng → html-conformschematron-engine → html-conformxpath-eval → html-conformxpath-eval → schematron-enginemedia-query-parse → stylesheet-parsehtml5-parser – HTML parserhtml5-parserHTML parsercsp-parse – CSPcsp-parseCSPmedia-query-parse – Media Queriesmedia-query-parseMedia Queriesxpath-eval – XPath 1.0xpath-evalXPath 1.0relax-ng – RELAX NGrelax-ngRELAX NGschematron-engine – Schematronschematron-engineSchematrona11y-dom – Document modela11y-domDocument modela11y-report – Finding modela11y-reportFinding modelstylesheet-parse – CSS stylesheetsstylesheet-parseCSS stylesheetshtml-conform – HTML conformancehtml-conformHTML conformanceaccname – Accessible NameaccnameAccessible Namea11y-rules – Rule seta11y-rulesRule seta11y-perception – Perceptiona11y-perceptionPerceptionweb-checks – robots, meta, JSON-LDweb-checksrobots, meta, JSON-LDa11y-wasm – WebAssembly, npma11y-wasmWebAssembly, npm

Source: [dependencies] of the crate manifests in crates/*/Cargo.toml

Show chart data
Data for The 15 crates and their dependencies
StepKindLaneLeads to
xpath-evalstepL0 · Parsers and engineshtml-conform, schematron-engine
media-query-parsestepL0 · Parsers and engineshtml-conform, stylesheet-parse
a11y-domstepL1 · Modela11y-rules, a11y-wasm, accname
a11y-perceptionstepL2 · Computation
web-checksstepL2 · Computation
html5-parserstepL0 · Parsers and engineshtml-conform
schematron-enginestepL0 · Parsers and engineshtml-conform
csp-parsestepL0 · Parsers and engineshtml-conform
relax-ngstepL0 · Parsers and engineshtml-conform
a11y-reportstepL1 · Modela11y-rules, a11y-wasm
stylesheet-parsestepL1 · Modela11y-rules
accnamestepL2 · Computationa11y-wasm
html-conformstepL1 · Model
a11y-rulesstepL2 · Computationa11y-wasm
a11y-wasmstepL3 · Delivery
Focus
The 15 crates and their dependencies
The 15 crates and their dependenciesAn 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 enginesL1 · ModelL2 · ComputationL3 · Deliverystylesheet-parse → a11y-rulesa11y-dom → a11y-rulesa11y-report → a11y-rulesa11y-dom → a11y-wasma11y-report → a11y-wasma11y-rules → a11y-wasmaccname → a11y-wasma11y-dom → accnamecsp-parse → html-conformhtml5-parser → html-conformmedia-query-parse → html-conformrelax-ng → html-conformschematron-engine → html-conformxpath-eval → html-conformxpath-eval → schematron-enginemedia-query-parse → stylesheet-parsehtml5-parser – HTML parserhtml5-parserHTML parsercsp-parse – CSPcsp-parseCSPmedia-query-parse – Media Queriesmedia-query-parseMedia Queriesxpath-eval – XPath 1.0xpath-evalXPath 1.0relax-ng – RELAX NGrelax-ngRELAX NGschematron-engine – Schematronschematron-engineSchematrona11y-dom – Document modela11y-domDocument modela11y-report – Finding modela11y-reportFinding modelstylesheet-parse – CSS stylesheetsstylesheet-parseCSS stylesheetshtml-conform – HTML conformancehtml-conformHTML conformanceaccname – Accessible NameaccnameAccessible Namea11y-rules – Rule seta11y-rulesRule seta11y-perception – Perceptiona11y-perceptionPerceptionweb-checks – robots, meta, JSON-LDweb-checksrobots, meta, JSON-LDa11y-wasm – WebAssembly, npma11y-wasmWebAssembly, npm

Source: [dependencies] of the crate manifests in crates/*/Cargo.toml

Show chart data
Data for The 15 crates and their dependencies
StepKindLaneLeads to
xpath-evalstepL0 · Parsers and engineshtml-conform, schematron-engine
media-query-parsestepL0 · Parsers and engineshtml-conform, stylesheet-parse
a11y-domstepL1 · Modela11y-rules, a11y-wasm, accname
a11y-perceptionstepL2 · Computation
web-checksstepL2 · Computation
html5-parserstepL0 · Parsers and engineshtml-conform
schematron-enginestepL0 · Parsers and engineshtml-conform
csp-parsestepL0 · Parsers and engineshtml-conform
relax-ngstepL0 · Parsers and engineshtml-conform
a11y-reportstepL1 · Modela11y-rules, a11y-wasm
stylesheet-parsestepL1 · Modela11y-rules
accnamestepL2 · Computationa11y-wasm
html-conformstepL1 · Model
a11y-rulesstepL2 · Computationa11y-wasm
a11y-wasmstepL3 · Delivery
LayerCratePurpose
L0html5-parserWHATWG HTML5 tokenizer and tree construction
L0css-tokenizeCSS Syntax Level 3 tokenizer
L0csp-parseContent Security Policy grammar
L0media-query-parseCSS Media Queries grammar
L0xpath-evalXPath 1.0, generic over the document model
L0relax-ngread and validate RELAX NG schemas
L0schematron-engineISO Schematron rules, XPath via xpath-eval
L1a11y-domdocument model as a trait plus capability tiers
L1a11y-reportone finding and report model with stable JSON
L1stylesheet-parseCSS stylesheets with their @media context
L1html-conformHTML5 conformance, comparable to vnu, no JVM
L1xml-adaptersroxmltree adapters for RELAX NG, XPath and Schematron
L2accnameaccessible name and description per WAI-ARIA
L2style-cascadethe CSS cascade without a browser: computed styles for contrast checks
L2a11y-rulesthe rule set, generic over the document model
L2a11y-staticbrowser-free audit of static HTML: HTML and fetched stylesheets in, one report out
L2a11y-perceptionperception over browser data: AX tree, reading order, diff of two snapshots
L2web-checksrobots.txt, meta lengths, OpenGraph, JSON-LD, hreflang
L3a11y-wasmthe rule set as WebAssembly, on npm as @casoon/a11y-wasm
L3html-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