From 2b90d1d72187df1677bef26926cb66bf978c9c5e Mon Sep 17 00:00:00 2001
From: Yasuaki Uechi
Date: Thu, 8 Aug 2019 21:53:09 +0900
Subject: [PATCH] feat: a11y
---
web/public/robots.txt | 2 ++
web/src/App.js | 1 +
web/src/components/Footer.js | 5 ++++-
3 files changed, 7 insertions(+), 1 deletion(-)
create mode 100644 web/public/robots.txt
diff --git a/web/public/robots.txt b/web/public/robots.txt
new file mode 100644
index 0000000..14267e9
--- /dev/null
+++ b/web/public/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Allow: /
\ No newline at end of file
diff --git a/web/src/App.js b/web/src/App.js
index c03dd05..a2e603f 100644
--- a/web/src/App.js
+++ b/web/src/App.js
@@ -80,6 +80,7 @@ export default function App() {
value={inputValue}
ref={inputRef}
placeholder={t('placeholder')}
+ aria-label="search query"
/>
{queryGiven && !suggested ? (
diff --git a/web/src/components/Footer.js b/web/src/components/Footer.js
index c2218aa..f4e991f 100644
--- a/web/src/components/Footer.js
+++ b/web/src/components/Footer.js
@@ -22,10 +22,13 @@ export default function Footer() {
-
+