health: fix broken pages, add image dimensions, a11y & SEO wins

Site-wide health pass (excludes in-progress blog work). Verified with a
local server + headless browser: Timeline, homepage and gallery pages load
with zero console errors and no layout distortion.

Render bugs
- Timeline page (en/mk/si): fix ../../../ paths that overshot the site root,
  so the main stylesheet and hero image load again.
- Meet Student Slovenia 2023 (en/mk/si): remove a <figure> referencing
  event3-photo-11.png, an image that was never uploaded (broken image).

Performance
- Add intrinsic width/height to 1039 raster <img> tags to prevent layout
  shift (CLS); 450 SVGs correctly skipped. Add a global
  `img { max-width:100%; height:auto }` safety net so aspect ratio is
  preserved and images never overflow.
- Preload the homepage hero (LCP) image on en/mk/si.
- Load Font Awesome non-blocking (media=print/onload swap) with a <noscript>
  fallback, on 225 pages.

Accessibility
- Add aria-label to 57 unlabeled newsletter email inputs.
- Add an sr-only <h1> to the three "My Route" pages (had no h1).
- Add an .sr-only utility class.

SEO
- Add meta descriptions to legal/msos-hub/support pages (en/mk/si).

Note: MK/SI meta descriptions are machine-drafted and should be proofread
by a native speaker before considering them final.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
popovskikandClaude Opus 4.8 committed 2026-08-04 00:31:27 +02:00
1 parent 168e4ce378
commit 9ce7450aa1
209 files changed
+1289 -1267

No files matched your search

@@ -56,7 +56,7 @@
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<!-- Font Awesome (for icons) -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" media="print" onload="this.media=&#39;all&#39;" /><noscript><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" /></noscript>
<!-- Правилна патека до главната CSS-датотека -->
<link rel="stylesheet" href="../../../css/main.css">
@@ -200,7 +200,7 @@
</header>
<figure class="article-main-image">
<img fetchpriority="high" src="../../../images/macedonia-food-shared-table-hero.webp" alt="A shared Macedonian table with salads, bread, beans, and other dishes">
<img width="1209" height="806" fetchpriority="high" src="../../../images/macedonia-food-shared-table-hero.webp" alt="A shared Macedonian table with salads, bread, beans, and other dishes">
<figcaption>Заедничка македонска трпеза. Фото: nehruresen, <a href="https://depositphotos.com/" target="_blank" rel="noopener">Depositphotos</a></figcaption>
</figure>
@@ -242,7 +242,7 @@
<p>Не му треба декорација. Доволни се леб и време.</p>
<figure class="article-inline-image">
<img loading="lazy" decoding="async" src="../../../images/macedonia-food-tavce-gravce.webp" alt="Tavče gravče baked and served in a clay dish">
<img width="1400" height="933" loading="lazy" decoding="async" src="../../../images/macedonia-food-tavce-gravce.webp" alt="Tavče gravče baked and served in a clay dish">
<figcaption>Тавче гравче, македонско јадење од грав. Фото: <a href="https://en.wikipedia.org/wiki/Tav%C4%8De_grav%C4%8De" target="_blank" rel="noopener">Wikipedia</a></figcaption>
</figure>
@@ -275,7 +275,7 @@
<p>Пастрмајлијата е добар пример како едно јадење носи градски идентитет. Луѓето не разговараат само дали е добра. Разговараат и од каде доаѓа вистинската верзија.</p>
<figure class="article-inline-image">
<img loading="lazy" decoding="async" src="../../../images/macedonia-food-ajvar-preparation.webp" alt="Roasted red peppers being prepared for homemade ajvar">
<img width="1400" height="933" loading="lazy" decoding="async" src="../../../images/macedonia-food-ajvar-preparation.webp" alt="Roasted red peppers being prepared for homemade ajvar">
<figcaption>Ајвар, вар од печени црвени пиперки. Фото: <a href="https://100daysandnights.com/ajvar/" target="_blank" rel="noopener">100daysandnights.com</a></figcaption>
</figure>
@@ -308,7 +308,7 @@
<p>За посетителот, корисната лекција е македонското гостопримство да не се мери преку ефикасност. Дополнителното време е дел од она што се нуди.</p>
<figure class="article-inline-image">
<img loading="lazy" decoding="async" src="../../../images/macedonia-food-pastrmajlija.webp" alt="A traditional oval pastrmajlija topped with seasoned meat">
<img width="1000" height="667" loading="lazy" decoding="async" src="../../../images/macedonia-food-pastrmajlija.webp" alt="A traditional oval pastrmajlija topped with seasoned meat">
<figcaption>Пастрмајлија, македонски леб со месо. Фото: <a href="https://balkantravel.rs/en/gastro-corner/pastrmajlija-the-irresistible-taste-of-north-macedonia/" target="_blank" rel="noopener">balkantravel.rs</a></figcaption>
</figure>