You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaces `div` nodes inside the `button` with `span` since the former trigger some automated checkers.
Fixes#29484.
(cherry picked from commit 1aa8512)
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Button elements should contain only "Phrasing content but there must be no Interactive content"
Reproduction
Github link
Expected Behavior
div
s should be replaced withspan
elementsActual Behavior
The button contains invalid elements
Environment
Angular CLI: 18.0.2
Node: 18.20.3
Package Manager: yarn 1.22.19
OS: linux x64
Angular: 18.0.1
... animations, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.1800.2
@angular-devkit/build-angular 18.0.2
@angular-devkit/core 18.0.2
@angular-devkit/schematics 18.0.2
@angular/cdk 18.1.2
@angular/cli 18.0.2
@angular/material 18.1.2
@angular/material-experimental 18.1.2
@angular/material-moment-adapter 18.1.2
@schematics/angular 18.0.2
rxjs 7.4.0
typescript 5.4.5
zone.js 0.14.6
The text was updated successfully, but these errors were encountered: