Skip to content

Commit 74437a0

Browse files
[ACS-10336] Tags in Tag Column Not Announced by Screen Readers (#11247)
1 parent 685ac09 commit 74437a0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/core/src/lib/dynamic-chip-list/dynamic-chip-list.component.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@
66
#nodeListContainer>
77
<mat-chip-set
88
[class.adf-dynamic-chip-list-full-width]="limitChipsDisplayed && !calculationsDone"
9-
role="listbox"
9+
role="list"
1010
[attr.aria-label]="'METADATA.BASIC.TAGS' | translate">
1111
<mat-chip
12-
class="adf-dynamic-chip-list-chip"
1312
*ngFor="let chip of chipsToDisplay; let idx = index"
13+
class="adf-dynamic-chip-list-chip"
1414
[style.border-radius]="roundUpChips ? '20px' : '10px'"
1515
[style.font-weight]="'bold'"
16+
role="listitem"
17+
tabIndex="0"
18+
[attr.aria-label]="chip.name"
1619
(removed)="removedChip.emit(chip.id)">
1720
<span id="adf-dynamic-chip-list-chip-name-{{ idx }}">{{ chip.name }}</span>
1821
<mat-icon *ngIf="showDelete"

0 commit comments

Comments
 (0)