mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 11:06:20 +08:00
A11Y: Make the views column in topics lists tabbable
This commit is contained in:
parent
bc54b0055c
commit
771dddb711
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user