Fix expander button label
This commit is contained in:
parent
e637f3e426
commit
9f222b49d1
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue