Expand description
Per-gate implementations for crate::audit.
Each gate is its own module. all returns the registry order used
by crate::audit::AuditRunner — the order is stable so callers
can rely on the JSON / JUnit output layout being deterministic.
Re-exports§
pub use util::hreflang_attr;pub use util::strip_script_and_style;
Modules§
- ai_
discovery - AI-discovery protocol validation (depends on E8 — issue #552).
- broken_
links - Broken internal/external link gate.
- csp_sri
- CSP + SRI hash validation gate.
- feeds
- RSS / Atom feed structural validation gate.
- hreflang
- Hreflang reciprocity gate.
- html5
- HTML5 structural validation gate.
- images
- Image optimisation + alt-text gate.
- jsonld
- JSON-LD (Schema.org) semantic audit gate.
- lang_
consistency - Language consistency gate (v0.0.47 plan §2 item 1.5 / A5).
- markdownlint
- Markdown linting and formatting gate (native Rust, no shell-out).
- metadata
- Metadata + Open Graph + Twitter card gate.
- performance
- Performance budget gate.
- pqc_tls
- Post-quantum-crypto TLS readiness gate (depends on E6 — issue #550).
- search_
index - Localized semantic vector search index integrity (depends on E1 — issue #545).
- util
- Internal helpers shared across audit gates.
- wcag
- WCAG 2.2 AAA accessibility gate.
Functions§
- all
- Returns the 15 built-in gates in registration order.
- find_
tag_ end - Returns the absolute end index (one past the closing
>) of the HTML tag that starts attag_start. Skips>characters inside quoted attribute values (single and double quotes).