Dev Log
Sitewide visual and SEO audit
What was done
- Browser-tested
/services/master-planned-communities/large-scale-planning/after Ryan flagged an unstyled process-scope note. - Added a global
.process-callout .scope-notefallback style so the shared construction-scope note remains styled across service pages and during local dev-server refreshes. - Added
src/scripts/audit-site-quality.mjs, a reusable static audit for built HTML title, meta description, canonical URL, H1 count, JSON-LD parsing, image alt text, and internal-link resolution. - Sanitized and normalized generated meta descriptions in
BaseLayout.astroso markdown-like characters in summaries cannot break the rendered meta tag. - Added missing metadata to the noindex client site-evaluation page.
- Fixed the Star service-area breadcrumb for its dual-county label so it points to
/service-areas/ada-county/instead of the generated/service-areas/ada-/-canyon/.
Verification
- Browser automation checked all 37 service/FAQ catalog routes for horizontal overflow, H1 count, canonical presence, process-note styling, button overflow, missing image alt text, and console errors.
npm run buildpassed.node src/scripts/audit-site-quality.mjspassed with 0 failures.
Remaining warnings
The static audit still reports advisory warnings, mostly long titles, short descriptions, old virtual/service-area outputs without a complete outer HTML document, and a few intentionally exposed markdown or agent-status links. These should be reviewed as SEO backlog, but they are no longer blocking failures.