fix: address Lighthouse SEO and performance audit failures
- nav: fix label-content-name-mismatch — aria-label now uses logoText
("PIVOINE") to match the visible link text (WCAG 2.5.3)
- index: improve link-text — "Learn more" → "About the magazine"
so the /about/ CTA has a descriptive accessible name
- head: load Google Fonts async via media=print/onload pattern to
eliminate render-blocking resource penalty (~480ms est. savings)
Remaining items needing server-side action:
- is-crawlable: x-robots-tag: none,... header must be removed in the
web server / CDN config (not controllable from this repo)
- image-delivery: large banner PNGs on live site need manual WebP
conversion or migration to Hugo page bundles for auto-processing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -57,10 +57,12 @@
|
||||
<!-- JSON-LD structured data -->
|
||||
{{- partial "schema.html" . -}}
|
||||
|
||||
<!-- Fonts — Bebas Neue + Barlow + Share Tech Mono -->
|
||||
<!-- Fonts — Bebas Neue + Barlow + Share Tech Mono (non-render-blocking) -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Share+Tech+Mono&display=swap">
|
||||
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Share+Tech+Mono&display=swap">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Share+Tech+Mono&display=swap" media="print" onload="this.media='all'">
|
||||
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Share+Tech+Mono&display=swap"></noscript>
|
||||
|
||||
<!-- CSS via Hugo Pipes + PostCSS + Tailwind v4 -->
|
||||
{{- $css := resources.Get "css/main.css" | css.PostCSS -}}
|
||||
|
||||
Reference in New Issue
Block a user