From 56fc4eebc79fa23669629a4bc8457260538845e7 Mon Sep 17 00:00:00 2001
From: Conrad Zelck <git@simpel.cc>
Date: Thu, 16 Dec 2021 12:45:05 +0000
Subject: [PATCH] fix: add label to textarea

To increase accessibility.

Signed-off-by: Conrad Zelck <git@simpel.cc>
---
 index.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 9d772ee..d7c1a7c 100644
--- a/index.html
+++ b/index.html
@@ -42,7 +42,8 @@
         <label for="unique">output unique lines only</label>
       </div>
     </div>
-    <textarea autofocus placeholder="fill in lines to sort here …" spellcheck="false" autocomplete="off"></textarea>
+    <label for="textarea">Lines to sort or already sorted:</label>
+    <textarea id="textarea" autofocus placeholder="fill in lines to sort here …" spellcheck="false" autocomplete="off"></textarea>
   </main>
 </body>
 <script src="script.js"></script>
-- 
GitLab