A11Y: Make the views column in topics lists tabbable

This commit is contained in:
OsamaSayegh 2022-03-23 22:18:32 +03:00 committed by Osama Sayegh
parent bc54b0055c
commit 771dddb711
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@
</td> </td>
{{/if}} {{/if}}
<td class="num views {{topic.viewsHeat}} topic-list-data"> <td class="num views {{topic.viewsHeat}} topic-list-data" aria-label='{{i18n "views_long" count=topic.views}}' tabindex="0">
{{raw-plugin-outlet name="topic-list-before-view-count"}} {{raw-plugin-outlet name="topic-list-before-view-count"}}
{{number topic.views numberKey="views_long"}} {{number topic.views numberKey="views_long"}}
</td> </td>

View File

@ -3550,7 +3550,7 @@ en:
sr_replies: "Sort by replies" sr_replies: "Sort by replies"
views_long: views_long:
one: "this topic has been viewed %{count} time" one: "this topic has been viewed %{count} time"
other: "this topic has been viewed %{number} times" other: "this topic has been viewed %{count} times"
activity: "Activity" activity: "Activity"
sr_activity: "Sort by activity" sr_activity: "Sort by activity"
likes: "Likes" likes: "Likes"