Skip to content

Commit e09c8d6

Browse files
committed
Merge branch 'MC-15993' into Performance-PR-2.3.2
2 parents ae611f6 + 0427429 commit e09c8d6

File tree

1 file changed

+16
-21
lines changed

1 file changed

+16
-21
lines changed

app/code/Magento/Search/view/frontend/templates/form.mini.phtml

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,26 @@ $helper = $this->helper(\Magento\Search\Helper\Data::class);
1616
<div class="block block-content">
1717
<form class="form minisearch" id="search_mini_form" action="<?= /* @escapeNotVerified */ $helper->getResultUrl() ?>" method="get">
1818
<div class="field search">
19+
<label class="label" for="search" data-role="minisearch-label">
20+
<span><?= /* @escapeNotVerified */ __('Search') ?></span>
21+
</label>
1922
<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":{
2825
"formSelector":"#search_mini_form",
2926
"url":"<?= /* @escapeNotVerified */ $helper->getSuggestUrl()?>",
3027
"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"/>
4439
<div id="search_autocomplete" class="search-autocomplete"></div>
4540
<?= $block->getChildHtml() ?>
4641
</div>

0 commit comments

Comments
 (0)