We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a9247f + 5cbe295 commit b60f904Copy full SHA for b60f904
app/code/Magento/Search/view/frontend/templates/form.mini.phtml
@@ -35,7 +35,8 @@ $helper = $this->helper(\Magento\Search\Helper\Data::class);
35
role="combobox"
36
aria-haspopup="false"
37
aria-autocomplete="both"
38
- autocomplete="off"/>
+ autocomplete="off"
39
+ aria-expanded="false"/>
40
<div id="search_autocomplete" class="search-autocomplete"></div>
41
<?= $block->getChildHtml() ?>
42
</div>
app/code/Magento/Search/view/frontend/web/js/form-mini.js
@@ -71,8 +71,7 @@ define([
71
this.isExpandable = true;
72
}.bind(this),
73
exit: function () {
74
- this.isExpandable = false;
75
- this.element.removeAttr('aria-expanded');
+ this.isExpandable = true;
76
}.bind(this)
77
});
78
0 commit comments