Skip to content

Commit 1aa059d

Browse files
bradenbizBraden Bisping
andauthored
fix(components/lookup): set aria-expanded to true on the autocomplete component when the dropdown is open (#544)
* fix aria-expanded value addition * fix(components/lookup): fix the autocomplete component to properly add the aria-expanded property to the combobox role * remove unnecessary qualifier for aria-expanded Co-authored-by: Braden Bisping <bradennbisping@gmail.com>
1 parent d33cf9e commit 1aa059d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/components/lookup/src/lib/modules/autocomplete/autocomplete.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
aria-haspopup="listbox"
44
class="sky-autocomplete"
55
role="combobox"
6-
[attr.aria-expanded]="isOpen && searchText"
6+
[attr.aria-expanded]="isOpen"
77
[attr.aria-labelledby]="ariaLabelledBy"
88
[attr.aria-owns]="isOpen ? resultsListId : null"
99
[attr.id]="resultsWrapperId"

0 commit comments

Comments
 (0)