A11Y: tag should be "role" not "aria-role" (#15653)
This commit is contained in:
parent
f0c1a4fab8
commit
1d02b9728d
|
@ -3,7 +3,7 @@
|
|||
<table class="category-list {{if showTopics "with-topics"}}">
|
||||
<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 role="heading" aria-level="2" id="categories-only-category">{{i18n "categories.category"}}</span></th>
|
||||
<th class="topics">{{i18n "categories.topics"}}</th>
|
||||
{{#if showTopics}}
|
||||
<th class="latest">{{i18n "categories.latest"}}</th>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<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-muted">{{i18n "categories.category"}}</span></th>
|
||||
<th class="category"><span 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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div aria-role="heading" aria-level="2" class="table-heading">
|
||||
<div role="heading" aria-level="2" class="table-heading">
|
||||
{{i18n (concat "filters." filter ".title")}}
|
||||
{{plugin-outlet name="categories-topics-table-heading" connectorTagName="div"}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue