aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Pin.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-26 22:35:28 -0800
committerAdam Soltys <[email protected]>2024-11-26 22:35:28 -0800
commitf99bd15fabd6d7b361794f756a69d6f05a50701f (patch)
tree9bb1b14519b34c343ad3bcd001fbd4681a53e447 /src/components/Pin.svelte
parentf4eb6547d0db5edd0137fdefe461433500515040 (diff)
downloadcoinos-ui-f99bd15fabd6d7b361794f756a69d6f05a50701f.tar.gz
coinos-ui-f99bd15fabd6d7b361794f756a69d6f05a50701f.zip
warnings
Diffstat (limited to 'src/components/Pin.svelte')
-rw-r--r--src/components/Pin.svelte9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/Pin.svelte b/src/components/Pin.svelte
index fb17c612..a429e976 100644
--- a/src/components/Pin.svelte
+++ b/src/components/Pin.svelte
@@ -45,23 +45,22 @@
{#if loaded}
<div
+ role="dialog"
class="fixed bg-base-100 bg-opacity-90 inset-0 h-full w-full z-50 cursor-default"
on:click|preventDefault
+ aria-labelledby="title"
>
<div
class="mx-auto p-5 border shadow-lg rounded-md bg-base-100 space-y-5 max-w-lg"
>
- <h1 class="text-center text-2xl font-semibold">{title}</h1>
+ <h1 id="title" class="text-center text-2xl font-semibold">{title}</h1>
<Pinpad bind:v={p} {cancel} />
<div>
<label for="locktime" class="font-bold"
>{$t("user.settings.rememberFor")}</label
>
- <select
- name="locktime"
- bind:value={locktime}
- >
+ <select name="locktime" bind:value={locktime}>
<option value={30}>30 {$t("user.settings.seconds")}</option>
<option value={5 * 60}>5 {$t("user.settings.minutes")}</option>
<option value={10 * 60}>10 {$t("user.settings.minutes")}</option>