From 0d6bb64c0fb337dfa31c595d4eaf34b3eda806f0 Mon Sep 17 00:00:00 2001 From: OsamaSayegh Date: Mon, 21 Mar 2022 23:40:32 +0300 Subject: [PATCH] A11Y: Add aria-label to the Replies cell in topics list When tabbing through a topics list like /latest, /unread, /new etc. the Replies column is announced as ` button` by screen readers and it's not clear that number means the topic has that number of replies. This commit adds an `aria-label` so the Replies column to make it clear what that number means. The current copy of the `aria-label` is "This topic has replies". --- .../discourse/app/templates/list/posts-count-column.hbr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.hbr index 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}}'> -