mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-05 21:25:19 +02:00
Improve accessibility by adding 'for' attribute to backup file input label
This commit is contained in:
parent
9d004a17db
commit
15f3e4ccb7
1 changed files with 2 additions and 2 deletions
|
@ -1046,8 +1046,7 @@
|
||||||
class="space-y-4"
|
class="space-y-4"
|
||||||
>
|
>
|
||||||
<div class="form-control">
|
<div class="form-control">
|
||||||
<!-- svelte-ignore a11y-label-has-associated-control -->
|
<label class="label" for="backup-file">
|
||||||
<label class="label">
|
|
||||||
<span class="label-text font-medium"
|
<span class="label-text font-medium"
|
||||||
>{$t('settings.select_backup_file')}</span
|
>{$t('settings.select_backup_file')}</span
|
||||||
>
|
>
|
||||||
|
@ -1055,6 +1054,7 @@
|
||||||
<input
|
<input
|
||||||
type="file"
|
type="file"
|
||||||
name="file"
|
name="file"
|
||||||
|
id="backup-file"
|
||||||
class="file-input file-input-bordered file-input-primary w-full"
|
class="file-input file-input-bordered file-input-primary w-full"
|
||||||
accept=".zip"
|
accept=".zip"
|
||||||
required
|
required
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue