Skip to content

Commit

Permalink
Merge pull request #185 from Xyna-Factory/184-aria-label-should-not-b…
Browse files Browse the repository at this point in the history
…e-set-automatically-for-xc-button

removed flawed and in case of this button type also unnecessary setti…
  • Loading branch information
PatrickVonMassow-GIP committed May 10, 2024
2 parents 69a560d + 7cafa1c commit 891e11b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions xc/xc-button/xc-button.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ export class XcButtonComponent extends XcButtonBaseComponent implements OnInit,

private element: HTMLElement;

protected setAriaLabel(value: string) {
super.setAriaLabel(value || (this.elementRef.nativeElement as HTMLElement).innerText);
}

ngOnInit() {
super.ngOnInit();
this.element = this.elementRef.nativeElement.querySelector('.mdc-button__label');
Expand Down

0 comments on commit 891e11b

Please sign in to comment.