Skip to content

[WIP] Fix Lighthouse scores below acceptable thresholds#260

Merged
DavidKRK merged 6 commits into
gh-pagesfrom
claude/fix-lighthouse-score
Jun 2, 2026
Merged

[WIP] Fix Lighthouse scores below acceptable thresholds#260
DavidKRK merged 6 commits into
gh-pagesfrom
claude/fix-lighthouse-score

Conversation

@Claude
Copy link
Copy Markdown
Contributor

@Claude Claude AI commented Jun 2, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>⚠️ Score Lighthouse sous le seuil acceptable</issue_title>
<issue_description>## 🔦 Alerte Performance / SEO

L'audit Lighthouse automatique a détecté des scores inférieurs aux seuils définis :

  • Performance : minimum requis 60/100
  • SEO : minimum requis 85/100

Workflow déclenché : 🔦 Lighthouse CI - Performance & SEO
Run ID : 26735276206

📊 Consultez les artefacts du workflow pour les rapports détaillés.

Issue créée automatiquement par le workflow Lighthouse CI.</issue_description>

Comments on the Issue (you are @claude[agent] in this section)

@Claude Claude AI assigned Claude and DavidKRK Jun 2, 2026
@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@Claude Claude AI linked an issue Jun 2, 2026 that may be closed by this pull request
Claude AI and others added 3 commits June 2, 2026 21:52
- Increase header navigation links to meet 44x44px minimum
- Increase language button sizes to meet accessibility standards
- Add min-width/min-height to all interactive elements
- Improve padding for better touch targets on mobile

Fixes critical target-size failures in Lighthouse audit

Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/83353388-96ec-4eb9-ad24-aecc4f47d452

Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
- Remove broken link to responsive.css that doesn't exist
- Reduces failed resource requests
- All responsive styles are already in main style.css

Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/83353388-96ec-4eb9-ad24-aecc4f47d452

Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
- Add loading="lazy" to all images for better performance
- Add loading="lazy" to Mixcloud iframe
- Improve iframe styling to prevent layout shifts
- All images already have width/height attributes

Addresses CLS and LCP performance warnings

Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/83353388-96ec-4eb9-ad24-aecc4f47d452

Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
@Claude Claude AI requested a review from DavidKRK June 2, 2026 21:56
@DavidKRK DavidKRK requested a review from Copilot June 2, 2026 22:09
@DavidKRK DavidKRK marked this pull request as ready for review June 2, 2026 22:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR targets Lighthouse Performance/SEO regressions by reducing initial page load work (primarily via lazy-loading) and improving tap target sizing to meet accessibility guidance.

Changes:

  • Added loading="lazy" to some images and the Mixcloud iframe to defer offscreen resource loading.
  • Removed the separate responsive.css include from index.html (responsive rules now live in style.css).
  • Increased minimum tap target sizes (44×44px) and adjusted spacing in header and language selector styles.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
shop.html Adds lazy-loading to shop images (currently only in the FR block).
index.html Removes responsive.css, adds lazy-loading to hero image and Mixcloud iframe, tweaks iframe inline styling.
assets/css/style.css Adjusts header link spacing and enforces 44×44px minimum sizes; tweaks responsive overrides and button sizing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread index.html Outdated
Comment thread shop.html
Comment thread assets/css/style.css
Copy link
Copy Markdown
Owner

@DavidKRK DavidKRK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merci pour la review. Les optimisations lazy-loading et les ajustements d’accessibilité sont pertinents. Je vérifie juste que la suppression de responsive.css n’a pas d’impact sur le responsive, puis ce sera bon pour moi.

Copilot AI requested a review from DavidKRK June 2, 2026 22:18
@DavidKRK
Copy link
Copy Markdown
Owner

DavidKRK commented Jun 2, 2026

@copilot resolve the merge conflicts in this pull request

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 2, 2026

@copilot resolve the merge conflicts in this pull request

Conflits de merge résolus dans le commit b207a38.

Comment thread index.html
@DavidKRK DavidKRK merged commit 9977399 into gh-pages Jun 2, 2026
12 of 13 checks passed
@DavidKRK DavidKRK deleted the claude/fix-lighthouse-score branch June 2, 2026 22:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread assets/css/style.css
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.

⚠️ Score Lighthouse sous le seuil acceptable

5 participants