Correct some HTML issues from w3c validator.
authorGreg Burri <greg.burri@gmail.com>
Thu, 20 Jun 2024 12:49:52 +0000 (14:49 +0200)
committerGreg Burri <greg.burri@gmail.com>
Thu, 20 Jun 2024 12:49:52 +0000 (14:49 +0200)
templates/main.html

index 16a3c99..5d5adcd 100644 (file)
@@ -2,10 +2,10 @@
 <html lang="en">
 
 <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>Euphorik Mumble</title>
-    <link rel="stylesheet" type="text/css" href="static/style.css" />
+    <link rel="stylesheet" type="text/css" href="static/style.css">
 </head>
 
 <body>
@@ -19,8 +19,9 @@
         <ul>
             {% for user in channel.users %}
             <li>{{ user.name }}
-                {% if user.self_mute %}<img class="icon" src="static/muted_self.svg" />{% endif %}<!--
-                -->{% if user.self_deaf %}<img class="icon" src="static/deafened_self.svg" />{% endif %}
+                {% if user.self_mute %}<img class="icon" src="static/muted_self.svg" alt="User self muted">{% endif %}<!--
+                -->{% if user.self_deaf %}<img class="icon" src="static/deafened_self.svg" alt="User self deafened">{%
+                endif %}
             </li>
             {% endfor %}
         </ul>