@@ -16,31 +16,26 @@ $helper = $this->helper(\Magento\Search\Helper\Data::class);
16
16
<div class="block block-content">
17
17
<form class="form minisearch" id="search_mini_form" action="<?= /* @escapeNotVerified */ $ helper ->getResultUrl () ?> " method="get">
18
18
<div class="field search">
19
+ <label class="label" for="search" data-role="minisearch-label">
20
+ <span><?= /* @escapeNotVerified */ __ ('Search ' ) ?> </span>
21
+ </label>
19
22
<div class="control">
20
- <label for="search" data-role="minisearch-label">
21
- <span class="label">
22
- <?= /* @escapeNotVerified */ __ ('Search ' ) ?>
23
- </span>
24
- <input
25
- aria-expanded="false"
26
- id="search"
27
- data-mage-init='{"quickSearch":{
23
+ <input id="search"
24
+ data-mage-init='{"quickSearch":{
28
25
"formSelector":"#search_mini_form",
29
26
"url":"<?= /* @escapeNotVerified */ $ helper ->getSuggestUrl ()?> ",
30
27
"destinationSelector":"#search_autocomplete"}
31
- }'
32
- type="text"
33
- name="<?= /* @escapeNotVerified */ $ helper ->getQueryParamName () ?> "
34
- value="<?= /* @escapeNotVerified */ $ helper ->getEscapedQueryText () ?> "
35
- placeholder="<?= /* @escapeNotVerified */ __ ('Search entire store here... ' ) ?> "
36
- class="input-text"
37
- maxlength="<?= /* @escapeNotVerified */ $ helper ->getMaxQueryLength () ?> "
38
- role="combobox"
39
- aria-haspopup="false"
40
- aria-autocomplete="both"
41
- autocomplete="off"
42
- />
43
- </label>
28
+ }'
29
+ type="text"
30
+ name="<?= /* @escapeNotVerified */ $ helper ->getQueryParamName () ?> "
31
+ value="<?= /* @escapeNotVerified */ $ helper ->getEscapedQueryText () ?> "
32
+ placeholder="<?= /* @escapeNotVerified */ __ ('Search entire store here... ' ) ?> "
33
+ class="input-text"
34
+ maxlength="<?= /* @escapeNotVerified */ $ helper ->getMaxQueryLength () ?> "
35
+ role="combobox"
36
+ aria-haspopup="false"
37
+ aria-autocomplete="both"
38
+ autocomplete="off"/>
44
39
<div id="search_autocomplete" class="search-autocomplete"></div>
45
40
<?= $ block ->getChildHtml () ?>
46
41
</div>
0 commit comments