File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
app/code/Magento/Search/view/frontend Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ $helper = $this->helper(\Magento\Search\Helper\Data::class);
35
35
role="combobox"
36
36
aria-haspopup="false"
37
37
aria-autocomplete="both"
38
- autocomplete="off"/>
38
+ autocomplete="off"
39
+ aria-expanded="false"/>
39
40
<div id="search_autocomplete" class="search-autocomplete"></div>
40
41
<?= $ block ->getChildHtml () ?>
41
42
</div>
Original file line number Diff line number Diff line change @@ -69,11 +69,9 @@ define([
69
69
media : '(max-width: 768px)' ,
70
70
entry : function ( ) {
71
71
this . isExpandable = true ;
72
- this . element . attr ( 'aria-expanded' , false ) ;
73
72
} . bind ( this ) ,
74
73
exit : function ( ) {
75
74
this . isExpandable = true ;
76
- this . element . attr ( 'aria-expanded' , false ) ;
77
75
} . bind ( this )
78
76
} ) ;
79
77
You can’t perform that action at this time.
0 commit comments