Fix expander button label

This commit is contained in:
Chocobozzz 2024-09-26 15:55:18 +02:00
parent e637f3e426
commit 9f222b49d1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap'
@Component({ @Component({
selector: 'my-table-expander-icon', selector: 'my-table-expander-icon',
template: ` template: `
<button class="expander border-0 p-0" [ngbTooltip]="tooltip"> <button type="button" class="expander border-0 p-0" [ngbTooltip]="tooltip" [ariaLabel]="tooltip">
<i [ngClass]="expanded ? 'chevron-down' : 'chevron-right'"></i> <i [ngClass]="expanded ? 'chevron-down' : 'chevron-right'"></i>
</button>`, </button>`,
standalone: true, standalone: true,