Menu

All 516 of our pages have exactly one h1, no skip link, and skip a heading level in exactly the same place
📰

All 516 of our pages have exactly one h1, no skip link, and skip a heading level in exactly the same place

DEV Community: nextjs·Daniel Pertu·19 days ago
#9BLvtVpE
#devtonextjs#devto#dev#why#how
Long article (1196 words) — no AI summary yet.
Reading 0:00
15s threshold

A template-driven site does not have 516 pages. It has about six pages and 516 URLs, which means every accessibility defect is either on one page or on all of them. That is a cheerful thought, because it makes a census worth running: twenty lines of Python, every URL in the sitemap, count the tags.

This is not a substitute for axe or for actually tabbing through a page with a screen reader on. It answers a narrower question, which is whether the site is doing the same thing everywhere, and that question is the one a build-time template site should ask first.

Here is what came back for munchable.app , all 516 URLs, every one a 200.

The part that is fine

pages fetched 516 exactly one <h1> 516 exactly one <main> 516 exactly one <footer> 516 html lang set 516 <img> elements 0 so: images missing alt text, 0 labelled <nav> elements 508 pages have 2, 8 pages have 1

Enter fullscreen mode

Exit fullscreen mode

The eight pages with one <nav> are the top-level ones that have no breadcrumb.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.