Skip to content

Production hardening: self-hosted fonts, a11y fixes, dependency and CI upgrades - #16

Merged
cmin764 merged 8 commits into
mainfrom
chore/tooling-deps
Nov 17, 2026
Merged

cmin764 merged 8 commits into
mainfrom
chore/tooling-deps

Conversation

@cmin764

@cmin764 cmin764 commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Why

The site sells GDPR and EU AI Act credibility, but it was leaking visitor IPs to Google through the font CDN without saying so in the privacy policy. Keyboard users also couldn't see focus in the waitlist form, the one place we collect signups. On top of that, CI floated on bun latest, nothing flagged outdated packages, and a few pages (404, thank-you) were missing nav, footer and landmarks.

This PR closes those gaps so the site is accurate, accessible and reproducible before launch traffic arrives.

What

  • Privacy and legal accuracy: fonts are self-hosted (no Google requests, tighter CSP). Privacy wording fixed for Cal.eu (outbound link, not an embed) and Vercel (static site, no edge functions).
  • Accessibility: visible solid focus ring on form fields (both themes). Theme toggle announces a stable label with its on/off state. Two-line headlines are one heading. 404 and thank-you get nav and footer.
  • Performance and hosting: immutable cache on hashed assets, legal pages lazy-loaded, COOP header, theme-color meta.
  • Dependencies and tooling: 13 packages bumped (React 19.3, Vite 8.3, ESLint 10.15 and others), react-router imports, stricter tsconfig, Bun pinned for local and CI, weekly Dependabot. TypeScript held at 6 (typescript-eslint doesn't support 7 yet).
  • Robustness and quality: theme storage guarded against blocked localStorage. UI strings moved into copy.ts. First unit tests (bun test, run in CI) for form validation and the deadline countdown.
  • Docs and the frontend-review checklist updated to match.

Check

  • CI green (typecheck, lint, test, build)
  • Vercel preview: tab through the waitlist form in light and dark, ring visible
  • Network tab shows no fonts.googleapis.com / gstatic requests, fonts render
  • /assets/* response has Cache-Control: immutable
  • /privacy, /terms, /dpa still load; 404 and thank-you show nav and footer
  • Theme toggle still persists across reload
  • No horizontal scroll at 320 to 412px on every route (fixed hero tooltip and legal tables)
  • Lighthouse on / (local build): performance 95, accessibility 100, best practices 96, SEO 100

@cmin764 cmin764 added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 17, 2026
@cmin764 cmin764 self-assigned this Nov 17, 2026
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
traced-ai-website Ready Ready Preview Nov 17, 2026 12:49pm UTC

…oute hash scroll, nav strings, local fonts in design-system doc
@cmin764
cmin764 merged commit 4e3c84b into main Nov 17, 2026
3 checks passed
@cmin764
cmin764 deleted the chore/tooling-deps branch November 17, 2026 12:57
@cmin764
cmin764 restored the chore/tooling-deps branch November 17, 2026 12:58
@cmin764
cmin764 deleted the chore/tooling-deps branch November 17, 2026 12:58

This branch was successfully deployed

1 active deployment
Preview — ad7ebf0f Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant