diff --git a/docs/css-html-cleanup-todo.md b/docs/css-html-cleanup-todo.md new file mode 100644 index 0000000..1043937 --- /dev/null +++ b/docs/css-html-cleanup-todo.md @@ -0,0 +1,17 @@ +# CSS / HTML cleanup — loose ends + +Found during sidebar/TOC refactor session (2026-04-11). + +## Redundant resets + +- `nav[data-nav="sidebar"] ul li { margin: 0; padding: 0 }` — browser default for `
  • ` already has no margin/padding. No-op, remove. +- `aside[data-toc] nav ul li { margin: 0; padding: 0 }` — same. + +## Semantic HTML + +- `← Previous` and `Next →` in prev/next footer (`docs/single.html`, `vault/single.html`) — `` is fine print, not a directional label. Replace with something appropriate. +- `role="main"` on `
    ` in `docs/single.html` — redundant and misleading. `
    ` does not map to the `main` landmark; `
    ` does. Remove the attribute. + +## i18n + +- `"On this page"` is hardcoded in `docs/single.html` and `vault/single.html`. Move to Hugo i18n strings or a site param before adding any second language.