A platform for community discussion. Free, open, simple.
A11Y: Make the views column in topics lists tabbable
OsamaSayegh771dddb711b9
diff --git a/app/assets/javascripts/discourse/app/templates/list/topic-list-item.hbr b/app/assets/javascripts/discourse/app/templates/list/topic-list-item.hbrindex da667759fa4..5c52674fc52 100644--- a/app/assets/javascripts/discourse/app/templates/list/topic-list-item.hbr+++ b/app/assets/javascripts/discourse/app/templates/list/topic-list-item.hbr@@ -73,7 +73,7 @@</td>{{/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"}}{{number topic.views numberKey="views_long"}}</td>diff --git a/config/locales/client.en.yml b/config/locales/client.en.ymlindex 0a85b4f345d..e42e076c010 100644--- a/config/locales/client.en.yml+++ b/config/locales/client.en.yml@@ -3550,7 +3550,7 @@ en:sr_replies: "Sort by replies"views_long: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"sr_activity: "Sort by activity"likes: "Likes"