A11Y: Label posters column on topic lists

This commit is contained in:
awesomerobot 2020-09-21 23:03:42 -04:00
parent 11ce7b5e18
commit 23b962d934
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<th data-sort-order='{{order}}' class='{{view.className}}'>
<th data-sort-order='{{order}}' class='{{view.className}}' {{#if ariaLabel}}aria-label='{{ariaLabel}}'{{/if}}>
{{~#if canBulkSelect}}
{{~#if showBulkToggle}}
{{raw "flat-button" class="bulk-select" icon="list" title="topics.bulk.toggle"}}

View File

@ -7,7 +7,7 @@
{{/if}}
{{raw "topic-list-header-column" order='default' name=listTitle bulkSelectEnabled=bulkSelectEnabled showBulkToggle=toggleInTitle canBulkSelect=canBulkSelect}}
{{#if showPosters}}
{{raw "topic-list-header-column" order='posters'}}
{{raw "topic-list-header-column" order='posters' ariaLabel=(i18n "category.sort_options.posters")}}
{{/if}}
{{raw "topic-list-header-column" sortable=sortable number='true' order='posts' name='replies'}}
{{#if showLikes}}