Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ entry has no committed page, or a committed page differs from what the script em
`index.html` against a stub DOM with deterministic timers and checks tab activation,
roving tabindex, arrow/Home/End keys, auto-rotation, and every pause condition
(hover, focus, hidden tab, reduced motion, out of view). Zero dependencies.
- `node --test scripts/carousels.test.mjs` — runs the hero carousel and projects carousel
scripts from `index.html` against a stub DOM with deterministic timers and checks dot
generation, slide/`aria-current` state, live-region announcements, keyboard/swipe/hash
navigation, auto-rotate and every pause condition, hero height measurement (clones,
resize debounce), and projects scroll-sync (debounced scroll, `scrollend`,
IntersectionObserver). Zero dependencies.
- `node --test scripts/page-scripts.test.mjs` — static gate over every committed HTML
page: each inline `<script>` parses, each JSON-LD block is valid schema.org JSON, no
external `<script src>` is introduced, and `sitemap.xml` lists exactly the canonical
Expand Down
Loading
Loading