Add the missing `alt` attribute on the user card
authorAlexander Ebert <ebert@woltlab.com>
Mon, 23 Dec 2024 16:31:30 +0000 (17:31 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 23 Dec 2024 16:31:30 +0000 (17:31 +0100)
Fixes #6142

com.woltlab.wcf/templates/userCard.tpl

index deee068de19caecc70e0ceae36a0743086584b0f..94758ddbb867d957cf6af496a6cb2022cad7c8ea 100644 (file)
@@ -3,7 +3,8 @@
                <div class="userCard__header__background">
                        <img
                                class="userCard__header__background__image"
-                               src="{$user->getCoverPhoto()->getURL()}">
+                               src="{$user->getCoverPhoto()->getURL()}"
+                               alt="">
                </div>
                <div class="userCard__header__avatar">
                        {user object=$user type='avatar64' ariaHidden='true' tabindex='-1'}