A11Y: Don't include aria on reply count `span` element (#17948)

This commit is contained in:
Penar Musaraj 2022-08-16 10:28:31 -04:00 committed by GitHub
parent 563036a862
commit e862373899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<{{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}}" aria-label="{{view.title}}">
{{raw-plugin-outlet name="topic-list-before-reply-count"}}
{{number topic.replyCount noTitle="true" ariaLabel=view.title}}
{{number topic.replyCount noTitle="true"}}
</button>
</{{view.tagName}}>