diff --git a/app/code/Magento/Search/view/frontend/templates/form.mini.phtml b/app/code/Magento/Search/view/frontend/templates/form.mini.phtml index 44c8db3f1a663..fd96dcc72d593 100644 --- a/app/code/Magento/Search/view/frontend/templates/form.mini.phtml +++ b/app/code/Magento/Search/view/frontend/templates/form.mini.phtml @@ -35,7 +35,8 @@ $helper = $this->helper(\Magento\Search\Helper\Data::class); role="combobox" aria-haspopup="false" aria-autocomplete="both" - autocomplete="off"/> + autocomplete="off" + aria-expanded="false"/>
= $block->getChildHtml() ?> diff --git a/app/code/Magento/Search/view/frontend/web/js/form-mini.js b/app/code/Magento/Search/view/frontend/web/js/form-mini.js index 0700806a8959d..3f3e64738d46f 100644 --- a/app/code/Magento/Search/view/frontend/web/js/form-mini.js +++ b/app/code/Magento/Search/view/frontend/web/js/form-mini.js @@ -71,7 +71,7 @@ define([ this.isExpandable = true; }.bind(this), exit: function () { - this.isExpandable = false; + this.isExpandable = true; }.bind(this) });