Put unread and highlight counts in aria-label in the channel list

This commit is contained in:
Pavel Djundik 2018-10-05 12:05:09 +03:00
parent dc6e29476a
commit d087c726e0

View File

@ -4,7 +4,7 @@
data-id="{{id}}" data-id="{{id}}"
data-target="#chan-{{id}}" data-target="#chan-{{id}}"
role="tab" role="tab"
aria-label="{{name}}" aria-label="{{name}}{{#if unread}} ({{unread}} unread{{#if highlight}}, {{highlight}} mentions{{/if}}){{/if}}"
aria-controls="chan-{{id}}" aria-controls="chan-{{id}}"
aria-selected="false" aria-selected="false"
> >