Skip to content

Commit 49b05d0

Browse files
Add autofocus
1 parent 9c56b4d commit 49b05d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/src/routes/+page.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
>
6161
</a>
6262
</nav>
63+
<!-- svelte-ignore a11y_autofocus -->
6364
<input
6465
type="text"
6566
class="border border-gray-500/50 w-full rounded-lg px-3 py-2 outline-none"
@@ -80,6 +81,7 @@
8081
}
8182
}}
8283
placeholder="10km/h * 1 decade in light seconds"
84+
autofocus
8385
/>
8486
<div class="pt-1 leading-tight">
8587
<div class="px-3 py-2">

0 commit comments

Comments
 (0)