1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-05 05:05:17 +02:00

Improve accessibility by adding 'for' attribute to backup file input label

This commit is contained in:
Sean Morley 2025-06-26 10:19:40 -04:00
parent 9d004a17db
commit 15f3e4ccb7

View file

@ -1046,8 +1046,7 @@
class="space-y-4"
>
<div class="form-control">
<!-- svelte-ignore a11y-label-has-associated-control -->
<label class="label">
<label class="label" for="backup-file">
<span class="label-text font-medium"
>{$t('settings.select_backup_file')}</span
>
@ -1055,6 +1054,7 @@
<input
type="file"
name="file"
id="backup-file"
class="file-input file-input-bordered file-input-primary w-full"
accept=".zip"
required