From 8647197a05490e2c10106a021cf6760bdabb5b2a Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 11 Feb 2022 17:56:27 +0100
Subject: chore: improve accessibility

---
 src/components/SearchForm/SearchForm.tsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/components/SearchForm/SearchForm.tsx')

diff --git a/src/components/SearchForm/SearchForm.tsx b/src/components/SearchForm/SearchForm.tsx
index 38ae60d..da6f25c 100644
--- a/src/components/SearchForm/SearchForm.tsx
+++ b/src/components/SearchForm/SearchForm.tsx
@@ -35,6 +35,12 @@ const SearchForm = ({ isOpened }: { isOpened: boolean }) => {
         })}
       </div>
       <Form submitHandler={launchSearch} modifier="search">
+        <label htmlFor="search-query" className="screen-reader-text">
+          {intl.formatMessage({
+            defaultMessage: 'Keywords:',
+            description: 'SearchForm: search field label',
+          })}
+        </label>
         <Input
           ref={inputRef}
           id="search-query"
-- 
cgit v1.2.3

