We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 504be58 commit eb442b6Copy full SHA for eb442b6
1 file changed
platforms/metagram/src/lib/ui/InputRadio/InputRadio.svelte
@@ -39,6 +39,12 @@
39
tabindex="0"
40
aria-checked={selected === value}
41
onclick={() => radioElement?.click()}
42
+ onkeydown={(e) => {
43
+ if (e.key === ' ' || e.key === 'Enter') {
44
+ e.preventDefault();
45
+ radioElement?.click();
46
+ }
47
+ }}
48
>
49
{#if selected === value}
50
<span class="bg-brand-burnt-orange bottom-0.75 left-0.25 absolute h-2.5 w-2.5 rounded-full"
0 commit comments