Skip to content

fix(ui): resolve accessibility, performance and theming audit findings#11

Merged
Alexis-Gontier merged 1 commit into
mainfrom
fix/ui-audit
Jun 21, 2026
Merged

fix(ui): resolve accessibility, performance and theming audit findings#11
Alexis-Gontier merged 1 commit into
mainfrom
fix/ui-audit

Conversation

@Alexis-Gontier

Copy link
Copy Markdown
Owner

Contexte

Audit UI complet (a11y, perf, theming, responsive, anti-patterns) puis correction de tous les findings P1→P3.

Changements

  • Contact — scrim + vignette radiale centrée : le texte blanc garde un contraste AA/AAA sur l''image de fond.
  • Hero — le graphe de compétences (React Flow + d3-force) n''est monté que sur md+ via un wrapper media-query ; plus de simulation d3 sur mobile.
  • Graph — couleurs d''arêtes tokenisées (color-mix(var(--muted-foreground))).
  • Button — cibles tactiles portées à 44px uniquement sur pointeurs grossiers (pointer-coarse), le barème dense desktop est conservé.
  • Projects — tags des cartes limités à une ligne avec badge +N (nouveau hook useOneLineFit) ; tous les tags restent dans une liste sr-only.
  • Projectspriority sur l''image LCP de la page détail + cible tactile du bouton retour.
  • Abouth2 sr-only pour figurer dans le plan du document.
  • Mobile navSheetDescription localisée (a11y dialog Radix).
  • Styles — suppression des utilities gradient inutilisées et de --gradient-vite.

Vérification

  • pnpm build ✅ (29 pages)
  • pnpm test ✅ 7/7
  • pnpm test:e2e ✅ 9/9
  • pnpm lint / pnpm typecheck

- contact: add a scrim + centered radial vignette so white text keeps
  AA/AAA contrast over the background image
- hero: mount the heavy skills graph (React Flow + d3-force) only on md+
  viewports via a media-query wrapper, skipping the simulation on mobile
- graph: tokenize edge colors with color-mix(var(--muted-foreground))
- button: enlarge touch targets to 44px on coarse pointers only, keeping
  the dense desktop scale intact
- projects: clamp card tags to a single line with a "+N" overflow badge
  measured by a new useOneLineFit hook; keep all tags in an sr-only list
- projects: add priority to the detail page LCP image and enlarge the
  back button touch target
- about: add an sr-only h2 so the section appears in the document outline
- mobile-nav: add a localized SheetDescription to satisfy Radix dialog a11y
- styles: drop unused gradient utilities and the orphaned --gradient-vite
@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
algont-ier-com Ready Ready Preview, Comment Jun 21, 2026 8:04pm

@Alexis-Gontier
Alexis-Gontier merged commit 63a65c2 into main Jun 21, 2026
5 checks passed
@Alexis-Gontier
Alexis-Gontier deleted the fix/ui-audit branch June 21, 2026 20:05
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