Add missing alt attribute to reaction type image
authorNiklas (Krymonota) <Krymonota@users.noreply.github.com>
Thu, 6 Feb 2020 23:27:35 +0000 (00:27 +0100)
committerNiklas (Krymonota) <Krymonota@users.noreply.github.com>
Thu, 6 Feb 2020 23:27:35 +0000 (00:27 +0100)
See: https://community.woltlab.com/thread/281417-reaktions-icons-alt-attribut-fehlt/

com.woltlab.wcf/templates/reactionTypeImage.tpl

index 55cd51006011c8d5b046cbdfa7c697c6ffd047a5..eb0f8fafcf7efe65abf86e1382f2512848008584 100644 (file)
@@ -1,5 +1,6 @@
 <img
        src="{@$__wcf->getPath()}images/reaction/{$reactionType->iconFile}"
+       alt="{$reactionType->getTitle()}"
        class="reactionType"
        data-reaction-type-id="{$reactionType->reactionTypeID}"
 >