Accessibility rule handbook metadata
- Rule
DET.A11Y.KS.HASH_MARKERS· lanedeterministic· scopeks- Page status
- current
- page_version
d00c8b56cf3d2d3489df3c58a997ba4362258683394271c8d661606972b8c976- generated_at
- 2026-05-26T08:51:23.000Z
- registry_fingerprint
e11a2939d018a45bae7d6e23364aba2ae4e13f190d942f49891c89ea84c44c46
How this rule is checked
Deterministic lane — scope ks. Detected by det-a11y-ks-*.check.js or the axe lane for WCAG-tagged violations.
- Harness:
auditor-tests/invoke-a11y-ruleset-harness.shon the Before fixture. - Audit:
analyze-website-a11y.mjs --only-deterministic-rule-ids DET.A11Y.KS.HASH_MARKERS
Module: docs/design/a11y-audit/deterministic-a11y-rules.md#det-a11y-ks-hash-markers. See Before / After below.
Purpose
hash and data-ks-hash must agree on visual roots.
Passing signals
- DOM and/or repo signals satisfy the rule implementation in
tools/website-a11y-auditor. - For axe-backed WCAG criteria, use
--lanes axe,detwith an appropriate--standardpreset.
Failing signals
- Auditor emits a finding with
ruleIdDET.A11Y.KS.HASH_MARKERSon the crawled URL. - Harness:
auditor-tests/invoke-a11y-ruleset-harness.sh DET.A11Y.KS.HASH_MARKERSexpects ≥1 finding on the Before fixture.
Before example
Before (failing example)
Mismatched governed markers.
After example
After (passing example)
Matching three-letter hash pair.
Evidence and remediation
- Reproduce with
analyze-website-a11y.mjs --only-deterministic-rule-ids DET.A11Y.KS.HASH_MARKERSwhen lane is deterministic. - Apply the After markup pattern (or fix generator source for KS rules).
- Re-run harness or audit until the rule is clean on the target URL.