From 2966a6f15870d1ba9d06586ce545df4c0b332a67 Mon Sep 17 00:00:00 2001
From: Logan Hunt <loganhunt@simponic.xyz>
Date: Tue, 3 May 2022 16:17:32 -0600
Subject: Add for in labels to get rid of pesky warning

---
 src/routes/contact/index.svelte | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'src/routes/contact/index.svelte')

diff --git a/src/routes/contact/index.svelte b/src/routes/contact/index.svelte
index 84d9621..3f551ec 100644
--- a/src/routes/contact/index.svelte
+++ b/src/routes/contact/index.svelte
@@ -101,17 +101,17 @@
   <form class="bg-light border shadow p-4" on:submit|preventDefault={handleSubmit}>
     <div class="row mb-2">
       <div class="form-group col-md-6">
-        <label>Email *</label>
-        <input type="email" class="form-control" bind:value={submission.email} placeholder="johnnyappleseed@example.com" required>
+        <label for="email">Email *</label>
+        <input id="email" type="email" class="form-control" bind:value={submission.email} placeholder="johnnyappleseed@example.com" required>
       </div>
       <div class="form-group col-md-6">
-        <label>Name *</label>
-        <input type="text" class="form-control" bind:value={submission.name} placeholder="Johnny Appleseed" required>
+        <label for="name">Name *</label>
+        <input id="name" type="text" class="form-control" bind:value={submission.name} placeholder="Johnny Appleseed" required>
       </div>
     </div>
     <div class="form-group">
-      <label>Message *</label>
-      <textarea class="form-control" bind:value={submission.message} rows="3" placeholder="Hello! I would like to schedule a free 15-minute consultation..." required></textarea>
+      <label for="message">Message *</label>
+      <textarea id="message" class="form-control" bind:value={submission.message} rows="3" placeholder="Hello! I would like to schedule a free 15-minute consultation..." required></textarea>
     </div>
     <div class="pt-2">
       <HCaptcha 
-- 
cgit v1.2.3-70-g09d2

