diff --git a/app/javascript/src/components/Search/SearchForm.jsx b/app/javascript/src/components/Search/SearchForm.jsx index 3baba1c38..4e54d97fa 100644 --- a/app/javascript/src/components/Search/SearchForm.jsx +++ b/app/javascript/src/components/Search/SearchForm.jsx @@ -21,7 +21,7 @@ export const SearchForm = ({ type="text" name="q" id={searchBoxId} - placeholder="Search (Press '/' to focus)" + placeholder="Search" autoComplete="off" aria-label="search" onKeyDown={onSearch} diff --git a/app/javascript/src/components/Search/__tests__/__snapshots__/Search.test.jsx.snap b/app/javascript/src/components/Search/__tests__/__snapshots__/Search.test.jsx.snap index 1dda0a34e..3b7e3239e 100644 --- a/app/javascript/src/components/Search/__tests__/__snapshots__/Search.test.jsx.snap +++ b/app/javascript/src/components/Search/__tests__/__snapshots__/Search.test.jsx.snap @@ -22,7 +22,7 @@ exports[` renders properly 1`] = ` id="nav-search" name="q" onKeyDown={[Function]} - placeholder="Search (Press '/' to focus)" + placeholder="Search" type="text" value="" /> diff --git a/app/javascript/src/components/Search/__tests__/__snapshots__/SearchForm.test.jsx.snap b/app/javascript/src/components/Search/__tests__/__snapshots__/SearchForm.test.jsx.snap index 3c693e7d4..7a7acc565 100644 --- a/app/javascript/src/components/Search/__tests__/__snapshots__/SearchForm.test.jsx.snap +++ b/app/javascript/src/components/Search/__tests__/__snapshots__/SearchForm.test.jsx.snap @@ -22,7 +22,7 @@ exports[` renders properly when given search functions and a searc id="nav-search" name="q" onKeyDown={[MockFunction]} - placeholder="Search (Press '/' to focus)" + placeholder="Search" type="text" value="hello" /> diff --git a/app/views/layouts/_top_bar.html.erb b/app/views/layouts/_top_bar.html.erb index 2a7c9b57a..3cb3031a2 100644 --- a/app/views/layouts/_top_bar.html.erb +++ b/app/views/layouts/_top_bar.html.erb @@ -12,7 +12,7 @@