A platform for community discussion. Free, open, simple.
A11Y: add aria-label to user profile link in topic list (#29088)
Krise75571c4012b
diff --git a/app/assets/javascripts/discourse/app/raw-templates/list/posters-column.hbr b/app/assets/javascripts/discourse/app/raw-templates/list/posters-column.hbrindex 72aee8790d1..51c470733f2 100644--- a/app/assets/javascripts/discourse/app/raw-templates/list/posters-column.hbr+++ b/app/assets/javascripts/discourse/app/raw-templates/list/posters-column.hbr@@ -3,7 +3,7 @@{{#if poster.moreCount}}<a class="posters-more-count">{{poster.moreCount}}</a>{{else}}- <a href="{{poster.user.path}}" data-user-card="{{poster.user.username}}" class="{{poster.extraClasses}}">{{avatar poster avatarTemplatePath="user.avatar_template" usernamePath="user.username" namePath="user.name" imageSize="small"}}</a>+ <a href="{{poster.user.path}}" data-user-card="{{poster.user.username}}" class="{{poster.extraClasses}}" aria-label="{{i18n "user.profile_possessive" username=poster.user.username}}">{{avatar poster avatarTemplatePath="user.avatar_template" usernamePath="user.username" namePath="user.name" imageSize="small"}}</a>{{/if}}{{/each}}</td>