A platform for community discussion. Free, open, simple.
A11Y: do not use duplicate IDs (#15654)
Kris6a48106ed450
diff --git a/app/assets/javascripts/discourse/app/templates/components/categories-only.hbs b/app/assets/javascripts/discourse/app/templates/components/categories-only.hbsindex cc254c7a71d..2aab5f6415f 100644--- a/app/assets/javascripts/discourse/app/templates/components/categories-only.hbs+++ b/app/assets/javascripts/discourse/app/templates/components/categories-only.hbs@@ -29,14 +29,14 @@<table class="category-list {{if showTopics "with-topics"}} {{unless showMutedCategories "hidden"}}"><thead><tr>- <th class="category"><span aria-role="heading" aria-level="2" id="categories-only-category">{{i18n "categories.category"}}</span></th>+ <th class="category"><span aria-role="heading" aria-level="2" id="categories-only-category-muted">{{i18n "categories.category"}}</span></th><th class="topics">{{i18n "categories.topics"}}</th>{{#if showTopics}}<th class="latest">{{i18n "categories.latest"}}</th>{{/if}}</tr></thead>- <tbody aria-labelledby="categories-only-category">+ <tbody aria-labelledby="categories-only-category-muted">{{#each categories as |category|}}{{parent-category-row category=category showTopics=showTopics listType="muted"}}{{/each}}