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:
1 parent
168e4ce378
commit
9ce7450aa1
209 files changed
+1289
-1267
No files matched your search
+11
-11
@@ -54,7 +54,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='all'" /><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>
|
||||
|
||||
<!-- Link to the main CSS file -->
|
||||
<link rel="stylesheet" href="../../css/main.css">
|
||||
@@ -228,7 +228,7 @@
|
||||
<!-- Project: Humanitarian Sports Tournament in Maribor -->
|
||||
<article class="post-card" data-category="events" data-subcategory="sports">
|
||||
<a href="humanitarian-tournament-in-maribor/" class="post-link">
|
||||
<img loading="lazy" decoding="async" src="../../images/maribor-tournament-1.webp" alt="Humanitarian Sports Tournament in Maribor" class="post-image">
|
||||
<img width="720" height="480" loading="lazy" decoding="async" src="../../images/maribor-tournament-1.webp" alt="Humanitarian Sports Tournament in Maribor" class="post-image">
|
||||
<div class="post-content">
|
||||
<p class="post-meta">MSOS Team • 5 Apr 2025 • Event</p>
|
||||
<h3 class="post-title">Humanitarian Sports Tournament in Maribor</h3>
|
||||
@@ -239,7 +239,7 @@
|
||||
<!-- Project: In Memory of the Kochani Victims -->
|
||||
<article class="post-card" data-category="events">
|
||||
<a href="in-memory-of-the-kochani-victims/" class="post-link">
|
||||
<img loading="lazy" decoding="async" src="../../images/kochani-1.webp" alt="In Memory of the Kochani Victims" class="post-image">
|
||||
<img width="720" height="480" loading="lazy" decoding="async" src="../../images/kochani-1.webp" alt="In Memory of the Kochani Victims" class="post-image">
|
||||
<div class="post-content">
|
||||
<p class="post-meta">MSOS Team • 21 Mar 2025 • Event</p>
|
||||
<h3 class="post-title">In Memory of the Kochani Victims</h3>
|
||||
@@ -250,7 +250,7 @@
|
||||
<!-- Project: Paint & Wine at Sunset -->
|
||||
<article class="post-card" data-category="events" data-subcategory="cultural">
|
||||
<a href="paint-and-wine-at-sunset/" class="post-link">
|
||||
<img loading="lazy" decoding="async" src="../../images/paint-wine-1.webp" alt="Paint & Wine at Sunset" class="post-image">
|
||||
<img width="1600" height="1067" loading="lazy" decoding="async" src="../../images/paint-wine-1.webp" alt="Paint & Wine at Sunset" class="post-image">
|
||||
<div class="post-content">
|
||||
<p class="post-meta">MSOS Team • 8 Mar 2025 • Event</p>
|
||||
<h3 class="post-title">Paint & Wine at Sunset</h3>
|
||||
@@ -261,7 +261,7 @@
|
||||
<!-- Project: In Memory of Frosina Kulakova -->
|
||||
<article class="post-card" data-category="events">
|
||||
<a href="in-memory-of-frosina-kulakova/" class="post-link">
|
||||
<img loading="lazy" decoding="async" src="../../images/frosina-1.webp" alt="In Memory of Frosina Kulakova" class="post-image">
|
||||
<img width="720" height="480" loading="lazy" decoding="async" src="../../images/frosina-1.webp" alt="In Memory of Frosina Kulakova" class="post-image">
|
||||
<div class="post-content">
|
||||
<p class="post-meta">MSOS Team • 8 Feb 2025 • Event</p>
|
||||
<h3 class="post-title">In Memory of Frosina Kulakova</h3>
|
||||
@@ -272,7 +272,7 @@
|
||||
<!-- Project: Watching Handball Together in Slovenia -->
|
||||
<article class="post-card" data-category="events" data-subcategory="sports">
|
||||
<a href="watching-handball-together-in-slovenia/" class="post-link">
|
||||
<img loading="lazy" decoding="async" src="../../images/handball-2025-1.webp" alt="Watching Handball Together in Slovenia" class="post-image">
|
||||
<img width="720" height="480" loading="lazy" decoding="async" src="../../images/handball-2025-1.webp" alt="Watching Handball Together in Slovenia" class="post-image">
|
||||
<div class="post-content">
|
||||
<p class="post-meta">MSOS Team • 25 Jan 2025 • Event</p>
|
||||
<h3 class="post-title">Watching Handball Together in Slovenia</h3>
|
||||
@@ -283,7 +283,7 @@
|
||||
<!-- Project: Meet Student Slovenia 2024 -->
|
||||
<article class="post-card" data-category="events" data-subcategory="educational">
|
||||
<a href="meet-student-slovenia-2024/" class="post-link">
|
||||
<img loading="lazy" decoding="async" src="../../images/event4-img-1.webp" alt="A group of students at the 'Meet Student Slovenia 2024' event" class="post-image">
|
||||
<img width="1920" height="1280" loading="lazy" decoding="async" src="../../images/event4-img-1.webp" alt="A group of students at the 'Meet Student Slovenia 2024' event" class="post-image">
|
||||
<div class="post-content">
|
||||
<p class="post-meta">MSOS Team • 16 Sep 2024 • Event</p>
|
||||
<h3 class="post-title">Meet Student Slovenia 2024</h3>
|
||||
@@ -294,7 +294,7 @@
|
||||
<!-- Project: Morning Coffee in front of CTK, 2024 -->
|
||||
<article class="post-card" data-category="student-life">
|
||||
<a href="morning-coffee-in-front-of-ctk/" class="post-link">
|
||||
<img loading="lazy" decoding="async" src="../../images/event4-image1.webp" alt="Students enjoying coffee and burek in front of CTK library" class="post-image">
|
||||
<img width="1920" height="1280" loading="lazy" decoding="async" src="../../images/event4-image1.webp" alt="Students enjoying coffee and burek in front of CTK library" class="post-image">
|
||||
<div class="post-content">
|
||||
<p class="post-meta">MSOS Team • 8 Jun 2024 • Student Life</p>
|
||||
<h3 class="post-title">Morning Coffee in front of CTK, 2024</h3>
|
||||
@@ -305,7 +305,7 @@
|
||||
<!-- Project: Meet Student Slovenia 2023 -->
|
||||
<article class="post-card" data-category="events" data-subcategory="educational">
|
||||
<a href="meet-student-slovenia-2023/" class="post-link">
|
||||
<img loading="lazy" decoding="async" src="../../images/event3-photo-1.webp" alt="Panel discussion at the 'Meet Student Slovenia 2023' event" class="post-image">
|
||||
<img width="1920" height="1280" loading="lazy" decoding="async" src="../../images/event3-photo-1.webp" alt="Panel discussion at the 'Meet Student Slovenia 2023' event" class="post-image">
|
||||
<div class="post-content">
|
||||
<p class="post-meta">MSOS Team • 18 Sep 2023 • Event</p>
|
||||
<h3 class="post-title">Meet Student Slovenia 2023</h3>
|
||||
@@ -316,7 +316,7 @@
|
||||
<!-- Project: Macedonian Student Night -->
|
||||
<article class="post-card" data-category="events" data-subcategory="entertainment">
|
||||
<a href="macedonian-student-night-in-ljubljana/" class="post-link">
|
||||
<img loading="lazy" decoding="async" src="../../images/msnl-1.webp" alt="Atmosphere from the Macedonian Student Night in Ljubljana" class="post-image">
|
||||
<img width="1430" height="757" loading="lazy" decoding="async" src="../../images/msnl-1.webp" alt="Atmosphere from the Macedonian Student Night in Ljubljana" class="post-image">
|
||||
<div class="post-content">
|
||||
<p class="post-meta">Kristijan Popovski • 8 Oct 2022 • Event</p>
|
||||
<h3 class="post-title">Macedonian Student Night in Ljubljana</h3>
|
||||
@@ -351,7 +351,7 @@
|
||||
<p>News, announcements and open calls, straight to your inbox.</p>
|
||||
<form class="subscribe-form-bottom">
|
||||
<div class="input-wrapper">
|
||||
<input type="email" placeholder="Enter your email">
|
||||
<input type="email" placeholder="Enter your email" aria-label="Email address">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary-orange">Subscribe</button>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user