static/shared: add search focus class to header search
This class ensures the header search bar is focused
when the / key is pressed
Trust: Jamal Carvalho
Run-TryBot: Jamal Carvalho
TryBot-Result: kokoro
<option {{if eq .SearchMode "identifiers"}}selected{{end}} value="identifiers">Identifiers</option>
</select>
{{end}}
- <input name="q" class="go-Input" aria-label="Search for a package" type="text"
+ <input name="q" class="go-Input js-searchFocus" aria-label="Search for a package" type="text"
autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false"
placeholder="Search for a package" />
<button class="go-Button go-Button--inverted" aria-label="Submit search">
