Closed
Description
Reproduction
Steps to reproduce:
- Go to HTML-Code of Material Button: https://github.com/angular/components/blob/master/src/material/button/button.html
- There you see the syntax of a material Button which leads to div tags inside a button tag which is not a valid html structure.
Fix
Replace the 2 divs with a span for valid html
<span class="mat-button-wrapper"><ng-content></ng-content></span> <span matRipple class="mat-button-ripple" [class.mat-button-ripple-round]="isRoundButton || isIconButton" [matRippleDisabled]="_isRippleDisabled()" [matRippleCentered]="isIconButton" [matRippleTrigger]="_getHostElement()"></span> <span class="mat-button-focus-overlay"></span>