mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-10336] Tags in Tag Column Not Announced by Screen Readers (#11247)
This commit is contained in:
@@ -6,13 +6,16 @@
|
|||||||
#nodeListContainer>
|
#nodeListContainer>
|
||||||
<mat-chip-set
|
<mat-chip-set
|
||||||
[class.adf-dynamic-chip-list-full-width]="limitChipsDisplayed && !calculationsDone"
|
[class.adf-dynamic-chip-list-full-width]="limitChipsDisplayed && !calculationsDone"
|
||||||
role="listbox"
|
role="list"
|
||||||
[attr.aria-label]="'METADATA.BASIC.TAGS' | translate">
|
[attr.aria-label]="'METADATA.BASIC.TAGS' | translate">
|
||||||
<mat-chip
|
<mat-chip
|
||||||
class="adf-dynamic-chip-list-chip"
|
|
||||||
*ngFor="let chip of chipsToDisplay; let idx = index"
|
*ngFor="let chip of chipsToDisplay; let idx = index"
|
||||||
|
class="adf-dynamic-chip-list-chip"
|
||||||
[style.border-radius]="roundUpChips ? '20px' : '10px'"
|
[style.border-radius]="roundUpChips ? '20px' : '10px'"
|
||||||
[style.font-weight]="'bold'"
|
[style.font-weight]="'bold'"
|
||||||
|
role="listitem"
|
||||||
|
tabIndex="0"
|
||||||
|
[attr.aria-label]="chip.name"
|
||||||
(removed)="removedChip.emit(chip.id)">
|
(removed)="removedChip.emit(chip.id)">
|
||||||
<span id="adf-dynamic-chip-list-chip-name-{{ idx }}">{{ chip.name }}</span>
|
<span id="adf-dynamic-chip-list-chip-name-{{ idx }}">{{ chip.name }}</span>
|
||||||
<mat-icon *ngIf="showDelete"
|
<mat-icon *ngIf="showDelete"
|
||||||
|
|||||||
Reference in New Issue
Block a user