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:
Jérémie Astori 2018-10-06 01:40:31 -04:00 committed by GitHub
commit 63b78ed7c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"
> >