A11Y: gives autocomplete in search a more accessible name (#12164)

s/discourse/discourse-search
This commit is contained in:
Joffrey JAFFEUX 2021-02-22 12:11:06 +01:00 committed by GitHub
parent b7dbdec6fb
commit 74d83abcc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import TextField from "discourse/components/text-field";
import { applySearchAutocomplete } from "discourse/lib/search";
export default TextField.extend({
autocomplete: "discourse",
autocomplete: "discourse-search",
@discourseComputed("searchService.searchContextEnabled")
placeholder(searchContextEnabled) {