Merge pull request #2828 from thelounge/xpaw/chanlist-unread-label
Put unread and highlight counts in aria-label in the channel list
This commit is contained in:
commit
63b78ed7c4
@ -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