Adjusted/unified html attributes for avatars
authorMarcel Werk <burntime@woltlab.com>
Sun, 14 Feb 2021 12:29:58 +0000 (13:29 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 14 Feb 2021 12:29:58 +0000 (13:29 +0100)
22 files changed:
com.woltlab.wcf/templates/boxFollowingsOnline.tpl
com.woltlab.wcf/templates/boxRecentActivitySidebar.tpl
com.woltlab.wcf/templates/boxStaffOnline.tpl
com.woltlab.wcf/templates/boxTodaysBirthdays.tpl
com.woltlab.wcf/templates/boxTodaysFollowingBirthdays.tpl
com.woltlab.wcf/templates/boxUserList.tpl
com.woltlab.wcf/templates/commentList.tpl
com.woltlab.wcf/templates/commentResponseList.tpl
com.woltlab.wcf/templates/following.tpl
com.woltlab.wcf/templates/ignoredUsers.tpl
com.woltlab.wcf/templates/messageQuoteList.tpl
com.woltlab.wcf/templates/messageSidebar.tpl
com.woltlab.wcf/templates/moderationArticle.tpl
com.woltlab.wcf/templates/moderationComment.tpl
com.woltlab.wcf/templates/moderationReport.tpl
com.woltlab.wcf/templates/pageHeaderUser.tpl
com.woltlab.wcf/templates/recentActivityListItem.tpl
com.woltlab.wcf/templates/searchResultList.tpl
com.woltlab.wcf/templates/userBirthdayList.tpl
com.woltlab.wcf/templates/userListItem.tpl
com.woltlab.wcf/templates/userProfileLikeItem.tpl
com.woltlab.wcf/templates/usersOnlineList.tpl

index f92609a2cf088ecef53875d66be33e76921c07d6..d8c748b2f4f8e026574673abba673bccf6ea2d47 100644 (file)
@@ -1,7 +1,7 @@
 <ul class="sidebarItemList">
        {foreach from=$usersOnlineList item=userOnline}
                <li class="box32">
-                       {user object=$userOnline type='avatar32' ariaHidden='true'}
+                       {user object=$userOnline type='avatar32' ariaHidden='true' tabindex='-1'}
                        
                        <div class="sidebarItemTitle">
                                <h3>{user object=$userOnline}</h3>
index e9ba482580f5d12e1163e2b1348e439ed144c7c8..8efd42805f0eacaf221d66d1db5e2131fa715195 100644 (file)
@@ -1,7 +1,7 @@
 <ul class="sidebarItemList">
        {foreach from=$eventList item=event}
                <li class="box24{if $__wcf->getUserProfileHandler()->isIgnoredUser($event->getUserProfile()->userID)} ignoredUserContent{/if}">
-                       {user object=$event->getUserProfile() type='avatar24'}
+                       {user object=$event->getUserProfile() type='avatar24' ariaHidden='true' tabindex='-1'}
                        
                        <div class="sidebarItemTitle">
                                <h3>
index 99d6cf9ac6ec005a8b4374821b8b1df27baa42d6..df6debddf591afa68c3cb92d32d0c74e3442cb8a 100644 (file)
@@ -1,7 +1,7 @@
 <ul class="sidebarItemList">
        {foreach from=$usersOnlineList item=userOnline}
                <li class="box32">
-                       {user object=$userOnline type='avatar32' ariaHidden='true'}
+                       {user object=$userOnline type='avatar32' ariaHidden='true' tabindex='-1'}
                        
                        <div class="sidebarItemTitle">
                                <h3>
index 93a37da6f6d49255c725f5f735a601f257375e3f..867749979a09108b03ca247c2bee5282e803c119 100644 (file)
@@ -1,7 +1,7 @@
 <ul class="sidebarItemList">
        {foreach from=$birthdayUserProfiles item=birthdayUserProfile}
                <li class="box32">
-                       {user object=$birthdayUserProfile type='avatar32' ariaHidden='true'}
+                       {user object=$birthdayUserProfile type='avatar32' ariaHidden='true' tabindex='-1'}
                        
                        <div class="sidebarItemTitle">
                                <h3>{user object=$birthdayUserProfile}</h3>
index 5e5be36819ef42bee28802190bfae68a6a7bca88..c93626adebb35369c092b8bc820db8e60a7b85f1 100644 (file)
@@ -1,7 +1,7 @@
 <ul class="sidebarItemList">
        {foreach from=$birthdayUserProfiles item=birthdayUserProfile}
                <li class="box32">
-                       {user object=$birthdayUserProfile type='avatar32' ariaHidden='true'}
+                       {user object=$birthdayUserProfile type='avatar32' ariaHidden='true' tabindex='-1'}
                        
                        <div class="sidebarItemTitle">
                                <h3>{user object=$birthdayUserProfile}</h3>
index 68b66c197fe83e01855700c0aea559feea64303c..4c00b3b586c1e65f1c60a27d35b3a1e2653a0714 100644 (file)
@@ -1,7 +1,7 @@
 <ul class="sidebarItemList">
        {foreach from=$boxUsers item=boxUser}
                <li class="box24">
-                       {user object=$boxUser type='avatar24' ariaHidden='true'}
+                       {user object=$boxUser type='avatar24' ariaHidden='true' tabindex='-1'}
                        
                        <div class="sidebarItemTitle">
                                <h3>{user object=$boxUser}</h3>
index 41117aca15e514f2b7cf2c369a722ed596ee4d4c..1ee58c12ab7e17639aeed686ad8ef30d6626fecb 100644 (file)
@@ -13,7 +13,7 @@
                        data-responses="{@$comment->responses}" data-last-response-time="{if $commentLastResponseTime|empty}{@$comment->getLastResponseTime()}{else}{@$commentLastResponseTime}{/if}" data-is-disabled="{@$comment->isDisabled}"
                >
                        <div class="box48{if $__wcf->getUserProfileHandler()->isIgnoredUser($comment->userID)} ignoredUserContent{/if}">
-                               {user object=$comment->getUserProfile() type='avatar48'}
+                               {user object=$comment->getUserProfile() type='avatar48' ariaHidden='true' tabindex='-1'}
                                
                                <div class="commentContentContainer" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
                                        <div class="commentContent">
index a55bc3c4862006a5d64617013627883eb919849f..eea492013a99b045141eaf29de50dc45dc427fd3 100644 (file)
@@ -6,7 +6,7 @@
        {else}
                <li class="commentResponse jsCommentResponse" data-response-id="{@$response->responseID}" {@$__wcf->getReactionHandler()->getDataAttributes('com.woltlab.wcf.comment.response', $response->responseID)} data-can-edit="{if $response->isEditable()}true{else}false{/if}" data-can-delete="{if $response->isDeletable()}true{else}false{/if}" data-user-id="{@$response->userID}">
                        <div class="box32{if $__wcf->getUserProfileHandler()->isIgnoredUser($response->userID)} ignoredUserContent{/if}">
-                               {user object=$response->getUserProfile() type='avatar48'}
+                               {user object=$response->getUserProfile() type='avatar48' ariaHidden='true' tabindex='-1'}
                                
                                <div class="commentContent commentResponseContent" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
                                        <meta itemprop="dateCreated" content="{@$response->time|date:'c'}">
index 9693ce6b1b9e8c65c70d30013c8251f4d867f319..1fa09541281bc0fe016eb0a991505afede9dfadf 100644 (file)
@@ -16,7 +16,7 @@
                        {foreach from=$objects item=user}
                                <li class="jsFollowing">
                                        <div class="box48">
-                                               {user object=$user type='avatar48' title=$user->username}
+                                               {user object=$user type='avatar48' ariaHidden='true' tabindex='-1'}
                                                
                                                <div class="details userInformation">
                                                        {include file='userInformationHeadline'}
index 9987b329a4744a53b4bf6a0883e3c096ea336a98..11f552f4313fa1897e950e56de562243c164a5db 100644 (file)
@@ -16,7 +16,7 @@
                        {foreach from=$objects item=user}
                                <li class="jsIgnoredUser">
                                        <div class="box48">
-                                               {user object=$user type='avatar48' title=$user->username}
+                                               {user object=$user type='avatar48' ariaHidden='true' tabindex='-1'}
                                                
                                                <div class="details userInformation">
                                                        {include file='userInformationHeadline'}
index fcff3a42f5035fed24e441e84750811095ef42cf..cd9f8c14b31ddd7cb1d3679294c6adebe6ef875c 100644 (file)
@@ -5,7 +5,7 @@
                        <header class="messageHeader">
                                <div class="box32 messageHeaderWrapper">
                                        {if $userProfiles[$message->getUserID()]|isset}
-                                               {user object=$userProfiles[$message->getUserID()] type='avatar32' ariaHidden='true'}
+                                               {user object=$userProfiles[$message->getUserID()] type='avatar32' ariaHidden='true' tabindex='-1'}
                                        {else}
                                                <span><img src="{@$__wcf->getPath()}images/avatars/avatar-default.svg" alt="" class="userAvatarImage" style="width: 32px; height: 32px"></span>
                                        {/if}
index 4362e984f8e2f7a6ecd3d1fd036d01ecc4116b4a..9cc04c6a7d7afd4930b087c37fdbedf1dd9a55cc 100644 (file)
@@ -17,7 +17,7 @@
                        
                        {if $userProfile->getAvatar()}
                                <div class="userAvatar">
-                                       {user object=$userProfile type='avatar128' ariaHidden='true'}
+                                       {user object=$userProfile type='avatar128' ariaHidden='true' tabindex='-1'}
                                        
                                        {if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && !$isReply && $userProfile->isOnline()}<span class="badge green badgeOnline" title="{lang}wcf.user.online.title{/lang}">{lang}wcf.user.online{/lang}</span>{/if}
                                </div>
index 8a87f6d15a7c339af70b918220fb5fd36c9ddc07..e0fab10307dfd00930947e3f036558fb99a1368f 100644 (file)
@@ -2,7 +2,7 @@
        <section class="messageContent">
                <header class="messageHeader">
                        <div class="box32 messageHeaderWrapper">
-                               {user object=$article->getUserProfile() type='avatar32' ariaHidden='true'}
+                               {user object=$article->getUserProfile() type='avatar32' ariaHidden='true' tabindex='-1'}
                                
                                <div class="messageHeaderBox">
                                        <h2 class="messageTitle">
index 981c13ef322fc55268d0ff16fbfe2bb2f06adaf9..4bd295699f9bae1c52118c38645ddb24f7fb89ac 100644 (file)
@@ -2,7 +2,7 @@
        <section class="messageContent">
                <header class="messageHeader">
                        <div class="box32 messageHeaderWrapper">
-                               {user object=$message->getUserProfile() type='avatar32' ariaHidden='true'}
+                               {user object=$message->getUserProfile() type='avatar32' ariaHidden='true' tabindex='-1'}
                                
                                <div class="messageHeaderBox">
                                        <h2 class="messageTitle">
index e7de90e93c123f3b33d080e67f62a60ebe0f9116..6e5c21c3c62c20c8cba707055b005f9b41ab7c40 100644 (file)
@@ -61,7 +61,7 @@
        <h2 class="sectionTitle">{lang}wcf.moderation.report.reportedBy{/lang}</h2>
        
        <div class="box32">
-               {user object=$reportUser type='avatar32'}
+               {user object=$reportUser type='avatar32' ariaHidden='true' tabindex='-1'}
                
                <div>
                        <div class="containerHeadline">
index d2aaabfc62d2ff2040f9d85d4771ade09f1315cf..2374399141549a508732eeee906b2969f933192f 100644 (file)
@@ -24,7 +24,7 @@
                                                <ul class="interactiveDropdownItems interactiveDropdownItemsUserMenu">
                                                        <li>
                                                                <div class="box48">
-                                                                       {user object=$__wcf->getUserProfileHandler()->getUserProfile() type='avatar48' ariaHidden='true'}
+                                                                       {user object=$__wcf->getUserProfileHandler()->getUserProfile() type='avatar48' ariaHidden='true' tabindex='-1'}
                                                                        
                                                                        <div class="containerHeadline">
                                                                                <h3>
index 005264a7a6879cb7917238da1a57517a7017bcb9..abd15e3c623506ea7b06f89d274d2bf152de3429 100644 (file)
@@ -1,7 +1,7 @@
 {foreach from=$eventList item=event}
        <li>
                <div class="box48{if $__wcf->getUserProfileHandler()->isIgnoredUser($event->getUserProfile()->userID)} ignoredUserContent{/if}">
-                       {user object=$event->getUserProfile() type='avatar48' ariaHidden='true'}
+                       {user object=$event->getUserProfile() type='avatar48' ariaHidden='true' tabindex='-1'}
                        
                        <div>
                                <div class="containerHeadline">
index 943090b2f99c8d56020f032e6ac0f824e8f149d6..15faaef7cad5937bc2886bdafff323b6a37fe18d 100644 (file)
@@ -7,7 +7,7 @@
                                        {assign var=_messageCustomIcon value=$customIcons[$_messageObjectHash]}
                                        {if $_messageCustomIcon === ''}
                                                {if $message->getUserProfile()}
-                                                       {user object=$message->getUserProfile() type='avatar48' ariaHidden='true'}
+                                                       {user object=$message->getUserProfile() type='avatar48' ariaHidden='true' tabindex='-1'}
                                                {else}
                                                        <p><span class="icon icon48 fa-file-o"></span></p>
                                                {/if}
index 0b4bf74ef4ad58b03429bf4f903441bfdc17984f..6951a1b657b55d2ade5d183746d81bfcdff24cbc 100644 (file)
@@ -4,7 +4,7 @@
                        {foreach from=$users item=user}
                                <li data-object-id="{@$user->userID}">
                                        <div class="box48">
-                                               {user object=$user type='avatar48' ariaHidden='true'}
+                                               {user object=$user type='avatar48' ariaHidden='true' tabindex='-1'}
                                                
                                                <div class="details userInformation">
                                                        <div class="containerHeadline">
index d7d79ef83a9b97e9e2e489369d04bf7950e4bb2b..dd5b27762355bd1cdd60225f2583fc19c8982352 100644 (file)
@@ -1,6 +1,6 @@
 <li data-object-id="{@$user->userID}">
        <div class="box48">
-               {user object=$user type='avatar48' ariaHidden='true'}
+               {user object=$user type='avatar48' ariaHidden='true' tabindex='-1'}
                
                <div class="details userInformation">
                        {include file='userInformation'}
index fd11ee9108c9f8e3d1997dd49f4dfa9c93dcd822..5bdb5b9020878f1fbe355ab740f096495339bc1b 100644 (file)
@@ -1,7 +1,7 @@
 {foreach from=$likeList item=like}
        <li>
                <div class="box48">
-                       {user object=$like->getUserProfile() type='avatar48' ariaHidden='true'}
+                       {user object=$like->getUserProfile() type='avatar48' ariaHidden='true' tabindex='-1'}
                        
                        <div>
                                <div class="containerHeadline">
index 513ef58d08ed28303309df85b8b64a258f47e090..943e39f42a31aa2837299cbd25c7072fa21127a9 100644 (file)
                {capture append=usersOnlineList}
                        <li>
                                <div class="box48">
-                                       {user object=$user type='avatar48' title=$user->username ariaHidden='true'}
+                                       {user object=$user type='avatar48' ariaHidden='true' tabindex='-1'}
                                        
                                        <div class="details userInformation">
                                                <div class="containerHeadline">