diff --git a/docs/guides/accessibility.adoc b/docs/guides/accessibility.adoc new file mode 100644 index 0000000..0f09d64 --- /dev/null +++ b/docs/guides/accessibility.adoc @@ -0,0 +1,66 @@ +// SPDX-License-Identifier: CC-BY-SA-4.0 +// SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell += Accessibility +:toc: left +:toclevels: 2 + +casket treats accessibility as a property of the *engine*, not a checklist for +the author. This guide separates what casket guarantees from what remains your +responsibility. + +== Engine-owned (casket guarantees) + +When you use the built-in template and the default pipeline, casket emits: + +[cols="2,3"] +|=== +| What | WCAG relevance + +| ``, ``, `color-scheme: light dark` +| 3.1.1 Language of Page; 1.4.10 Reflow; respects OS light/dark + +| A skip link (`Skip to content`) and labelled landmarks + (`header` / `nav[aria-label]` / `main#main` / `footer`) +| 2.4.1 Bypass Blocks; 1.3.1 Info & Relationships + +| `scope="col"` added to Pandoc table headers automatically +| 1.3.1 Info & Relationships (screen-reader table navigation) + +| Valid `