a11y: Alternative Text for Images

This commit is contained in:
Lorenz Leutgeb
2026-05-02 22:06:35 +02:00
parent 3fd61b138e
commit ef71961920
+3 -3
View File
@@ -1,14 +1,14 @@
<a href="/">
<img id="logo" src="/assets/images/radicle.svg" width="32" height="32" />
<img id="logo" src="/assets/images/radicle.svg" width="32" height="32" alt="The logo of the Radicle project. An alien figure with blue body, two antennas on top of its head, and prominent eyes, in pixelated style."/>
</a>
<fieldset id="theme" aria-label="Theme">
<label for="light" id="light-label">
<input type="radio" id="light" name="theme" value="light" onchange="toggleTheme('light')">
<img src="/assets/images/moon.svg" width="32" height="32" />
<img src="/assets/images/moon.svg" width="32" height="32" alt="An icon representing the moon in pixelated style."/>
</label>
<label for="dark" id="dark-label">
<input type="radio" id="dark" name="theme" value="dark" onchange="toggleTheme('dark')">
<img src="/assets/images/sun.svg" width="32" height="32" />
<img src="/assets/images/sun.svg" width="32" height="32" alt="An icon representing the sun in pixelated style." />
</label>
</fieldset>