Aria-label improvements for chatuserlist/networklist

This commit is contained in:
Max Leiter 2021-06-21 22:21:36 -07:00
parent 7107372a6f
commit f23cc0712c
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA
2 changed files with 15 additions and 3 deletions

View file

@ -1,5 +1,12 @@
<template>
<aside ref="userlist" class="userlist" @mouseleave="removeHoverUser">
<aside
ref="userlist"
class="userlist"
@mouseleave="removeHoverUser"
aria-label="User List for "
+
channel.name
>
<div class="count">
<input
ref="input"

View file

@ -1,8 +1,13 @@
<template>
<div v-if="$store.state.networks.length === 0" class="empty" role="navigation">
<div
v-if="$store.state.networks.length === 0"
class="empty"
role="navigation"
aria-label="Network and Channel list"
>
You are not connected to any networks yet.
</div>
<div v-else ref="networklist" role="navigation">
<div v-else ref="networklist" role="navigation" aria-label="Network and Channel list">
<div class="jump-to-input">
<input
ref="searchInput"