Fixes aria issues on search form (#2211)

* Fixes aria issues on search form
* Swapping aria-label for <label> tag in search
* Removing background gray caused by adding <form> tag to search
* Removing redundant space
* Making form not submit if key is enter

Close #2180
This commit is contained in:
Jim Drury
2019-07-17 21:05:50 +01:00
committed by Michael Rose
parent 75c120f56d
commit af772af56f
3 changed files with 28 additions and 13 deletions

View File

@@ -50,6 +50,11 @@
@include breakpoint($x-large) {
max-width: $max-width;
}
}
&__form {
background-color: transparent;
}
.search-input {
@@ -119,6 +124,7 @@
font-style: normal;
text-decoration: underline;
}
.archive__item-excerpt .ais-Highlight {
color: $primary-color;
font-style: normal;