aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(static)
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(static)')
-rw-r--r--src/routes/(static)/bounties/+page.svelte2
-rw-r--r--src/routes/(static)/docs/+page.svelte7
-rw-r--r--src/routes/(static)/login/+page.svelte4
-rw-r--r--src/routes/(static)/register/+page.svelte3
4 files changed, 11 insertions, 5 deletions
diff --git a/src/routes/(static)/bounties/+page.svelte b/src/routes/(static)/bounties/+page.svelte
index 695eae3e..03a9cb8f 100644
--- a/src/routes/(static)/bounties/+page.svelte
+++ b/src/routes/(static)/bounties/+page.svelte
@@ -113,7 +113,7 @@
noobserver
icon="ph:lightning-fill"
class="text-yellow-300"
- />
+ ></iconify-icon>
<span class="text-sm font-semibold tabular-nums">
{s(amount, "en-CA")}
</span>
diff --git a/src/routes/(static)/docs/+page.svelte b/src/routes/(static)/docs/+page.svelte
index c323f9bd..37cc44bc 100644
--- a/src/routes/(static)/docs/+page.svelte
+++ b/src/routes/(static)/docs/+page.svelte
@@ -21,7 +21,12 @@
</script>
{#snippet cp(something)}
- <button type="button" class="ml-auto" onclick={() => copy(something)}>
+ <button
+ type="button"
+ class="ml-auto"
+ onclick={() => copy(something)}
+ aria-label="Copy value"
+ >
<iconify-icon noobserver icon="ph:copy-bold" width="42"></iconify-icon>
</button>
{/snippet}
diff --git a/src/routes/(static)/login/+page.svelte b/src/routes/(static)/login/+page.svelte
index 28e82e09..d25c6e51 100644
--- a/src/routes/(static)/login/+page.svelte
+++ b/src/routes/(static)/login/+page.svelte
@@ -208,7 +208,7 @@
<Spinner />
</div>
{:else}
- <img src="/images/nostr.png" class="w-8" />
+ <img src="/images/nostr.png" class="w-8" alt="Nostr" />
{/if}
<div class="my-auto">{$t("login.nostr")}</div>
</button>
@@ -229,8 +229,10 @@
<div
class="fixed bg-base-100/90 inset-0 h-full w-full z-50 cursor-default"
onclick={(e) => e.stopPropagation()}
+ onkeydown={(e) => e.stopPropagation()}
role="dialog"
aria-labelledby="title"
+ tabindex="-1"
>
<div
class="mx-auto p-5 border shadow-lg rounded-md bg-base-100 space-y-5 max-w-lg"
diff --git a/src/routes/(static)/register/+page.svelte b/src/routes/(static)/register/+page.svelte
index bb3af128..5a2f966f 100644
--- a/src/routes/(static)/register/+page.svelte
+++ b/src/routes/(static)/register/+page.svelte
@@ -22,7 +22,6 @@
NumberDictionary,
uniqueNamesGenerator,
colors,
- adjectives,
animals,
} from "unique-names-generator";
import { sign } from "$lib/nostr";
@@ -382,7 +381,7 @@
<Spinner />
</div>
{:else}
- <img src="/images/nostr.png" class="w-8" />
+ <img src="/images/nostr.png" class="w-8" alt="Nostr" />
{/if}
<div class="my-auto">{$t("login.nostr")}</div>
</button>