Put unread and highlight counts in aria-label in the channel list
This commit is contained in:
parent
dc6e29476a
commit
d087c726e0
@ -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"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user