Skip to content

Instantly share code, notes, and snippets.

@cynthiateeters
Created October 4, 2025 17:55
Show Gist options
  • Select an option

  • Save cynthiateeters/c74b288ce0c4d326057cf948d1996abf to your computer and use it in GitHub Desktop.

Select an option

Save cynthiateeters/c74b288ce0c4d326057cf948d1996abf to your computer and use it in GitHub Desktop.

Lighthouse Analysis & Improvement Plan

from your JSON audit

1. Summary: Strengths & Weaknesses by Category

Category Strengths Weaknesses / Opportunities
Performance • FCP (First Contentful Paint) ~1.8 s (score ~0.89) oai_citation:1‡Gist
• LCP ~1.8 s (score ~0.98) oai_citation:2‡Gist
• No HTTP → HTTPS issue (site is local) oai_citation:3‡Gist
• Viewport meta is correct (“width=device-width, initial-scale=1.0”) oai_citation:4‡Gist
• Room to reduce render-blocking CSS/JS
• Potential unused CSS or JS
• Optimizing critical path to further lower FCP/LCP
• Further improve time to interactive and reduce total blocking time
Accessibility • Some semantic structure is probably correct enough
• Some audit scores likely good for basic checks (contrast, meta tags)
• Missing or insufficient alt text on some images
• Contrast issues for some text/foregrounds
• ARIA or label issues for interactive/form elements
• Some missing landmarks or label associations
Best Practices • Uses HTTPS where relevant in setup (though local)
• No severe console errors in baseline
• Use of outdated APIs or missing security attributes
• External link rel attributes possibly missing
• Check for correct HTTP headers (CSP, etc.)
SEO • Has viewport meta tag
• Page is mobile-friendly by layout
• Basic SEO elements like <title> likely present
• Missing lang attribute on HTML
• Missing or suboptimal meta description or Open Graph tags
• Missing responsive images for SEO as well
• Duplicate or missing meta tags

Overall:
Your site is already doing well in terms of core metrics — FCP and LCP are decent. The biggest opportunities lie in refining things further: cutting unused CSS/JS, optimizing assets, and shoring up accessibility and SEO detail work.


2. Prioritized Improvement Suggestions (5–7) + Rationale

  1. Eliminate unused CSS / JavaScript & defer non-critical resources
    Reduces render-blocking, speeds up Time to Interactive, reduces main-thread work.

  2. Optimize and properly size images / use next-gen formats / responsive images
    Since image payloads often dominate, optimizing them pays large dividends for LCP.

  3. Add or improve alt attributes and ARIA labels for images and interactive elements
    Boosts accessibility score and better support for screen readers.

  4. Fix any contrast issues (text vs background) to meet WCAG standards
    Prevents readability issues for users with low vision.

  5. Add rel="noopener noreferrer" to external links with target="_blank"
    Improves security and avoids performance pitfalls when opening new tabs.

  6. Add or correct SEO / metadata: <html lang>, <meta description>, Open Graph tags, canonical links
    Enhances discoverability and sharing.

  7. Audit console and network for inefficient requests / unused third-party resources
    Sometimes 3rd-party scripts or network calls drag performance and best practices scores.


3. Suggested Code Examples / Explanations

Unused CSS / JS & deferring non-critical scripts

<!-- Defer non-critical JS -->
<script defer src="js/main.js"></script>
<script async src="js/analytics.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment