mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(settings): label user quota progress with aria-labelledby
Labeling with `<label>` doesn't work in some screen readers. `<label>` also doesn't work as a clickable link here. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
This commit is contained in:
parent
5249c3376e
commit
d33ce8a8d5
1 changed files with 2 additions and 2 deletions
|
|
@ -190,8 +190,8 @@
|
|||
@option:selected="setUserQuota" />
|
||||
</template>
|
||||
<template v-else-if="!isObfuscated">
|
||||
<label :for="'quota-progress' + uniqueId">{{ userQuota }} ({{ usedSpace }})</label>
|
||||
<NcProgressBar :id="'quota-progress' + uniqueId"
|
||||
<span :id="'quota-progress' + uniqueId">{{ userQuota }} ({{ usedSpace }})</span>
|
||||
<NcProgressBar :aria-labelledby="'quota-progress' + uniqueId"
|
||||
class="row__progress"
|
||||
:class="{
|
||||
'row__progress--warn': usedQuota > 80,
|
||||
|
|
|
|||
Loading…
Reference in a new issue