File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ export class Dropdown extends Component<DropdownOptions> implements Openable {
125
125
this . isTouchMoving = false ;
126
126
this . focusedIndex = - 1 ;
127
127
this . filterQuery = [ ] ;
128
+ this . el . ariaExpanded = 'false'
128
129
129
130
// Move dropdown-content after dropdown-trigger
130
131
this . _moveDropdown ( ) ;
@@ -610,6 +611,7 @@ export class Dropdown extends Component<DropdownOptions> implements Openable {
610
611
// Do this one frame later so that we don't bind an event handler that's immediately
611
612
// called when the event bubbles up to the document and closes the dropdown
612
613
setTimeout ( ( ) => this . _setupTemporaryEventHandlers ( ) , 0 ) ;
614
+ this . el . ariaExpanded = 'true'
613
615
}
614
616
615
617
/**
@@ -628,6 +630,7 @@ export class Dropdown extends Component<DropdownOptions> implements Openable {
628
630
if ( this . options . autoFocus ) {
629
631
this . el . focus ( ) ;
630
632
}
633
+ this . el . ariaExpanded = 'false'
631
634
}
632
635
633
636
/**
You can’t perform that action at this time.
0 commit comments