From 766597fe8afe90d629b6f03a6a871bc3783e7b2c Mon Sep 17 00:00:00 2001 From: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com> Date: Mon, 24 Mar 2025 13:31:48 +0000 Subject: [PATCH 1/2] Add alt text to all images on the ball pages --- ball/2020/index.html | 2 +- ball/2021/index.html | 2 +- ball/2023/index.html | 2 +- ball/2024/index.html | 2 +- ball/2025/index.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ball/2020/index.html b/ball/2020/index.html index 2529c213..c1cf4357 100644 --- a/ball/2020/index.html +++ b/ball/2020/index.html @@ -31,7 +31,7 @@

{{ qanda.title }}

{{ qanda.paragraph }}

{% assign url = ball.image_root | append: qanda.image %} - + An image taken at the 2020 CSS Ball
{% endfor %} diff --git a/ball/2021/index.html b/ball/2021/index.html index c98f7215..71ac9883 100644 --- a/ball/2021/index.html +++ b/ball/2021/index.html @@ -29,7 +29,7 @@

{{ qanda.title }}

{% for image in qanda.images %} {% assign url = ball.image_root | append: image.name %} - + An image taken at the 2021 CSS Ball
{% endfor %} {% endfor %} diff --git a/ball/2023/index.html b/ball/2023/index.html index 1e8c0d30..ff3c5b2b 100644 --- a/ball/2023/index.html +++ b/ball/2023/index.html @@ -49,7 +49,7 @@

Live Music


- + A cartoon image of a ticket with the text 'CSS Ball, Fazeley Studios, 26 April, Admit One'

Tickets

diff --git a/ball/2024/index.html b/ball/2024/index.html index 2f45d22e..7ed65492 100644 --- a/ball/2024/index.html +++ b/ball/2024/index.html @@ -39,7 +39,7 @@

The Venue


- + A cartoon image of a ticket with the text 'CSS Ball, Fazeley Studios, 26 April, Admit One'

Tickets

diff --git a/ball/2025/index.html b/ball/2025/index.html index 8b3154b2..9d6d5d26 100644 --- a/ball/2025/index.html +++ b/ball/2025/index.html @@ -40,7 +40,7 @@

The Venue


- + A cartoon image of a ticket with the text 'CSS Ball, Fazeley Studios, 26 April, Admit One'

Tickets

From d6afa48022b37134a68c157711dace79849530ef Mon Sep 17 00:00:00 2001 From: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com> Date: Mon, 24 Mar 2025 20:53:51 +0000 Subject: [PATCH 2/2] Implement dynamic alt text for 2020 and 2021 --- _data/ball/2020.yaml | 3 +++ _data/ball/2021.yaml | 7 +++++++ ball/2020/index.html | 3 ++- ball/2021/index.html | 3 ++- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/_data/ball/2020.yaml b/_data/ball/2020.yaml index f772013d..cfd228a5 100644 --- a/_data/ball/2020.yaml +++ b/_data/ball/2020.yaml @@ -14,13 +14,16 @@ features: with CSS balloons. Once we had enjoyed the delicious food and finally exhausted the supply of booze, we invaded the dance floor, where we held our very own CSS disco.' image: 'balloons-bubbles-booze.jpg' + alt: 'An image taken at the css ball, showing individuals out of focus behind confetti' - title: 'New Friends and Old' paragraph: 'At the event, many future best friends met for the first time. For many others, it was the last. Whether fresher or final year, we all created lifelong memories from the mayhem that was that night.' image: 'new-friends-and-old.jpg' + alt: 'An image taken at the css ball, showing a group of friends posing for a photo' - title: 'A Well-Timed Ball' paragraph: "For most, CSS Ball 2020 was the last time we could get together with our friends and truly have a blast before we went into lockdown 10 days later. It was our last chance for a year and a half to get up to the crazy shenanigans which CSS is famous for. Its a miracle we even had a ball in 2020, and it will always remain an unforgettable night." image: 'well-timed-ball.jpg' + alt: 'An image taken at the css ball, showing a group of friends posing for a photo' diff --git a/_data/ball/2021.yaml b/_data/ball/2021.yaml index 0adaa783..9b4e3973 100644 --- a/_data/ball/2021.yaml +++ b/_data/ball/2021.yaml @@ -12,23 +12,30 @@ features: guests could walk around, chat and show off their outfits!" images: - name: "start.png" + alt: "An image of the Gather.Town map with the dining hall" - title: "But what about food?" paragraph: "Don't worry, we had that covered! Each guest received an Uber Eats voucher (worth more than the ticket cost!) which they used to get their favourite dish delivered straight to their door. And just like at any other ball, we sat together at (virtual) tables!" images: - name: "Screenshot_20210325_201739.png" + alt: "An image of the Gather.Town map with the dining hall and several members of the CSS community" - title: "...and drink?" paragraph: "The great thing about this year was that we could bring any drink we wanted. We even created our own cocktail just for the event!" images: - name: "the_tex.png" + alt: "An image containing the recepie for the 'TeX' cocktail" - title: "Fun and Games" paragraph: "After we'd eaten, we enjoyed the custom-built maze and a treasure hunt around the map we had created. We had a group photo competition, and got up to some famous CSS shenanigans. Everyone had an absolute blast, and for many of us it was the highlight of the year!" images: - name: "maze.png" + alt: "An image of a maze as part of the game at the CSS Ball" - name: "unknown-12.png" + alt: "An image of the game being played as part of the Ball with 5 people in the image" - name: "rick-astley.png" + alt: "An image of Rick Astley being played as part of the Ball" - name: "CSS_Virtual_Ball_2021.jpg" + alt: "An image of multiple attendees of the online ball" diff --git a/ball/2020/index.html b/ball/2020/index.html index c1cf4357..ae904571 100644 --- a/ball/2020/index.html +++ b/ball/2020/index.html @@ -31,7 +31,8 @@

{{ qanda.title }}

{{ qanda.paragraph }}

{% assign url = ball.image_root | append: qanda.image %} - An image taken at the 2020 CSS Ball + {% assign alt = qanda.alt %} + {{ alt }}
{% endfor %}
diff --git a/ball/2021/index.html b/ball/2021/index.html index 71ac9883..d394947e 100644 --- a/ball/2021/index.html +++ b/ball/2021/index.html @@ -29,7 +29,8 @@

{{ qanda.title }}

{% for image in qanda.images %} {% assign url = ball.image_root | append: image.name %} - An image taken at the 2021 CSS Ball + {% assign alt = image.alt %} + {{ alt }}
{% endfor %} {% endfor %}