summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-11-13 23:24:53 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-11-13 23:24:53 -0800
commit92192f986fbc3e4efca13074293f7ab6cffe1d89 (patch)
treee342782f12ece63cc8425974fcfac8b0b77b7045 /python/fatcat_web/templates
parent77be4e32759ecbae1d8c10ac395eecdca89b3808 (diff)
downloadfatcat-92192f986fbc3e4efca13074293f7ab6cffe1d89.tar.gz
fatcat-92192f986fbc3e4efca13074293f7ab6cffe1d89.zip
webface: add input form labels
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/base.html2
-rw-r--r--python/fatcat_web/templates/home.html8
-rw-r--r--python/fatcat_web/templates/release_search.html2
3 files changed, 6 insertions, 6 deletions
diff --git a/python/fatcat_web/templates/base.html b/python/fatcat_web/templates/base.html
index 856a6e03..6825aa96 100644
--- a/python/fatcat_web/templates/base.html
+++ b/python/fatcat_web/templates/base.html
@@ -30,7 +30,7 @@
<form class="" role="search" action="/release/search" method="get">
<div class="ui transparent inverted icon input">
<i class="search icon"></i>
- <input type="text" placeholder="Search..." name="q">
+ <input type="text" placeholder="Search..." name="q" aria-label="generic entity search">
</div>
</form>
</div>
diff --git a/python/fatcat_web/templates/home.html b/python/fatcat_web/templates/home.html
index 4d3b44a1..1657406d 100644
--- a/python/fatcat_web/templates/home.html
+++ b/python/fatcat_web/templates/home.html
@@ -42,7 +42,7 @@ indexing (aka, linking together of pre-prints and final copies).
<td><form class="" role="lookup" action="/release/lookup" method="get">
<div class="ui icon input">
<i class="search icon"></i>
- <input type="text" placeholder="DOI" name="doi">
+ <input type="text" placeholder="DOI" name="doi" aria-label="search by DOI">
</div>
</form>
<tr><td><b>Container</b>
@@ -53,7 +53,7 @@ indexing (aka, linking together of pre-prints and final copies).
<td><form class="" role="lookup" action="/container/lookup" method="get">
<div class="ui icon input">
<i class="search icon"></i>
- <input type="text" placeholder="ISSN-L" name="issnl">
+ <input type="text" placeholder="ISSN-L" name="issnl" aria-label="search by ISSN-L">
</div>
</form>
@@ -65,7 +65,7 @@ indexing (aka, linking together of pre-prints and final copies).
<td><form class="" role="lookup" action="/creator/lookup" method="get">
<div class="ui icon input">
<i class="search icon"></i>
- <input type="text" placeholder="ORCID" name="orcid">
+ <input type="text" placeholder="ORCID" name="orcid" aria-label="search by ORCID">
</div>
</form>
<tr><td><b>File</b>
@@ -76,7 +76,7 @@ indexing (aka, linking together of pre-prints and final copies).
<td><form class="" role="lookup" action="/file/lookup" method="get">
<div class="ui icon input">
<i class="search icon"></i>
- <input type="text" placeholder="SHA-1" name="sha1">
+ <input type="text" placeholder="SHA-1" name="sha1" aria-label="search by SHA1">
</div>
</form>
<tr><td><b>Work</b>
diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html
index c57ad149..18bda117 100644
--- a/python/fatcat_web/templates/release_search.html
+++ b/python/fatcat_web/templates/release_search.html
@@ -5,7 +5,7 @@
<form class="" role="search" action="/release/search" method="get">
<div class="ui form">
<div class="ui action input huge fluid">
- <input type="text" placeholder="Query..." name="q" value="{% if query %}{{ query }}{% endif %}">
+ <input type="text" placeholder="Query..." name="q" value="{% if query %}{{ query }}{% endif %}" aria-label="search release metadata">
<button class="ui button">Search</button>
</div>
<div class="ui checkbox" style="float: right; margin: 1em;">