From: Marcel Werk Date: Sun, 14 Feb 2021 12:27:57 +0000 (+0100) Subject: Adjusted/unified html attributes for avatars X-Git-Tag: 5.4.0_Alpha_1~37 X-Git-Url: https://git.stricted.de/?p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.conversation.git;a=commitdiff_plain;h=56b83a04d50439f5028272fbcef25aa70781081b Adjusted/unified html attributes for avatars --- diff --git a/templates/conversation.tpl b/templates/conversation.tpl index ff7cb09..2c6956d 100644 --- a/templates/conversation.tpl +++ b/templates/conversation.tpl @@ -64,7 +64,7 @@ {foreach from=$participants item=participant}
  • - {user object=$participant type='avatar24'} + {user object=$participant type='avatar24' ariaHidden='true' tabindex='-1'}

    {user object=$participant} diff --git a/templates/conversationMessageListLog.tpl b/templates/conversationMessageListLog.tpl index 80d066b..a74d1de 100644 --- a/templates/conversationMessageListLog.tpl +++ b/templates/conversationMessageListLog.tpl @@ -6,7 +6,7 @@

    - {user object=$modificationLogEntry->getUserProfile() type='avatar32' ariaHidden='true'} + {user object=$modificationLogEntry->getUserProfile() type='avatar32' ariaHidden='true' tabindex='-1'}

    diff --git a/templates/conversationMessagePreview.tpl b/templates/conversationMessagePreview.tpl index 2a86033..8385544 100644 --- a/templates/conversationMessagePreview.tpl +++ b/templates/conversationMessagePreview.tpl @@ -1,6 +1,6 @@
    {if $message->getUserProfile()->getAvatar()} - {user object=$message->getUserProfile() type='avatar48' ariaHidden='true'} + {user object=$message->getUserProfile() type='avatar48' ariaHidden='true' tabindex='-1'} {/if}
    diff --git a/templates/moderationConversationMessage.tpl b/templates/moderationConversationMessage.tpl index 0745f1b..eb91b2d 100644 --- a/templates/moderationConversationMessage.tpl +++ b/templates/moderationConversationMessage.tpl @@ -2,7 +2,7 @@
    - {user object=$message->getUserProfile() type='avatar32' ariaHidden='true'} + {user object=$message->getUserProfile() type='avatar32' ariaHidden='true' tabindex='-1'}

    {if $message->getConversation()->canRead()}{$message->getTitle()}{else}{$message->getTitle()}{/if}