Skip to content

fix: improve Lighthouse performance and accessibility - #125

Merged
starc007 merged 1 commit into
mainfrom
fix/lighthouse-100
Jul 27, 2026
Merged

fix: improve Lighthouse performance and accessibility#125
starc007 merged 1 commit into
mainfrom
fix/lighthouse-100

Conversation

@starc007

Copy link
Copy Markdown
Owner

What changed

  • defer analytics and off-screen homepage previews to reduce initial work
  • remove the hero subtitle animation that delayed LCP
  • make popover portals hydration-safe
  • prevent closed or duplicated interactive content from remaining focusable
  • improve contrast, heading order, target sizes, labels, list semantics, and route metadata
  • add hydration and accessibility regression coverage

Why

Lighthouse found shared accessibility issues across component pages, avoidable homepage load work, hydration recovery in portalled popovers, and several route-specific semantic issues. The local development server also exaggerates performance costs because it serves unminified Next.js development bundles, so this PR focuses on the actionable application-level findings without changing component behavior.

Validation

  • bun run check
  • bun test — 52 passing
  • git diff --check
  • Chrome verification on http://localhost:3000

@starc007
starc007 merged commit a0b4598 into main Jul 27, 2026
2 checks passed
@starc007
starc007 deleted the fix/lighthouse-100 branch July 27, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant