A11Y: add aria-label to avatar link on categories page (#28304)
This commit is contained in:
parent
b59b24884f
commit
9d5eb6fed6
|
@ -4,7 +4,13 @@
|
|||
@outletArgs={{hash topic=this.topic}}
|
||||
/>
|
||||
<div class="topic-poster">
|
||||
<UserLink @user={{this.topic.lastPosterUser}}>
|
||||
<UserLink
|
||||
@user={{this.topic.lastPosterUser}}
|
||||
aria-label={{if
|
||||
this.topic.lastPosterUser.username
|
||||
(i18n "latest_poster_link" username=this.topic.lastPosterUser.username)
|
||||
}}
|
||||
>
|
||||
{{avatar this.topic.lastPosterUser imageSize="large"}}
|
||||
</UserLink>
|
||||
<UserAvatarFlair @user={{this.topic.lastPosterUser}} />
|
||||
|
|
Loading…
Reference in New Issue