From 48d3684c85b0afc6c98837686905465dfa79a2bb Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 13 Mar 2026 15:56:38 +0100 Subject: [PATCH] Improve a11y of the top reactions --- com.woltlab.wcf/templates/shared_topReaction.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/com.woltlab.wcf/templates/shared_topReaction.tpl b/com.woltlab.wcf/templates/shared_topReaction.tpl index adb85ff8d44..46f3088b83f 100644 --- a/com.woltlab.wcf/templates/shared_topReaction.tpl +++ b/com.woltlab.wcf/templates/shared_topReaction.tpl @@ -1,14 +1,14 @@ {assign var='topReaction' value=$__wcf->getReactionHandler()->getTopReaction($cachedReactions)} {if $topReaction} {if $render === 'tiny'} - + {unsafe:$topReaction[reaction]->renderIcon()} - {$topReaction[count]|shortUnit} + {elseif $render === 'short'} - + {unsafe:$topReaction[reaction]->renderIcon()} - {$topReaction[count]|shortUnit} + {elseif $render === 'full'}