From 161212f9981d8642855bf38585c7805a85a86e97 Mon Sep 17 00:00:00 2001 From: atticuscornett <64325242+atticuscornett@users.noreply.github.com> Date: Mon, 11 Mar 2024 01:16:17 -0500 Subject: [PATCH] Made Device Setup Accessible --- src/Components/Selectable.svelte | 8 +++++++- src/DeviceSetup/AutoDetectResults.svelte | 4 ++++ src/DeviceSetup/CompatibilityWarn.svelte | 2 +- src/DeviceSetup/NameDevice.svelte | 4 ++++ src/Devices/DeviceSetup.svelte | 4 ++++ 5 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/Components/Selectable.svelte b/src/Components/Selectable.svelte index cca8a80..aa4bf1a 100644 --- a/src/Components/Selectable.svelte +++ b/src/Components/Selectable.svelte @@ -2,10 +2,16 @@ export let name; export let id; export let label; + + function handleInput(event){ + if (event.key === "Enter"){ + document.getElementById(id).checked = true; + } + } - + \ No newline at end of file diff --git a/src/DeviceSetup/CompatibilityWarn.svelte b/src/DeviceSetup/CompatibilityWarn.svelte index e953e9a..e3b41c9 100644 --- a/src/DeviceSetup/CompatibilityWarn.svelte +++ b/src/DeviceSetup/CompatibilityWarn.svelte @@ -1,7 +1,7 @@