A platform for community discussion. Free, open, simple.
A11Y: Add aria-label to the Replies cell in topics list
OsamaSayegh0d6bb64c0fb3
diff --git a/app/assets/javascripts/discourse/app/templates/list/posts-count-column.hbr b/app/assets/javascripts/discourse/app/templates/list/posts-count-column.hbrindex a697ff9e017..0087b015667 100644--- a/app/assets/javascripts/discourse/app/templates/list/posts-count-column.hbr+++ b/app/assets/javascripts/discourse/app/templates/list/posts-count-column.hbr@@ -1,5 +1,5 @@<{{view.tagName}} class='num posts-map posts {{view.likesHeat}} topic-list-data' title='{{view.title}}'>- <button class="btn-link posts-map badge-posts {{view.likesHeat}}">+ <button class="btn-link posts-map badge-posts {{view.likesHeat}}" aria-label="{{view.title}}">{{raw-plugin-outlet name="topic-list-before-reply-count"}}{{number topic.replyCount noTitle="true" ariaLabel=view.title}}</button>