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.
1 parent 440af1d commit 9438b3bCopy full SHA for 9438b3b
src/dropdown/list/dropdown-list.component.ts
@@ -57,7 +57,7 @@ import { ScrollCustomEvent } from "./scroll-custom-event.interface";
57
class="cds--list-box__menu cds--multi-select"
58
(scroll)="emitScroll($event)"
59
(keydown)="navigateList($event)"
60
- tabindex="-1"
+ tabindex="0"
61
[attr.aria-label]="ariaLabel"
62
[attr.aria-activedescendant]="highlightedItem">
63
<li
@@ -67,6 +67,7 @@ import { ScrollCustomEvent } from "./scroll-custom-event.interface";
67
class="cds--list-box__menu-item"
68
[attr.aria-selected]="item.selected"
69
[id]="getItemId(i)"
70
+ [attr.tabindex]="highlightedItem === getItemId(i) ? 0 : null"
71
[attr.title]=" showTitles ? item.content : null"
72
[attr.disabled]="item.disabled ? true : null"
73
[ngClass]="{
0 commit comments