diff --git a/src/cdk/dialog/dialog.spec.ts b/src/cdk/dialog/dialog.spec.ts index 85e4e96bc397..688949e10bf8 100644 --- a/src/cdk/dialog/dialog.spec.ts +++ b/src/cdk/dialog/dialog.spec.ts @@ -875,7 +875,7 @@ describe('Dialog', () => { flushMicrotasks(); let firstHeader = overlayContainerElement.querySelector( - 'h1[tabindex="-1"]', + 'h2[tabindex="-1"]', ) as HTMLInputElement; expect(document.activeElement) @@ -1270,7 +1270,7 @@ class PizzaMsg { @Component({ template: ` -

This is the title

+

This is the title

`, standalone: true, imports: [DialogModule], diff --git a/src/components-examples/material/dialog/dialog-animations/dialog-animations-example-dialog.html b/src/components-examples/material/dialog/dialog-animations/dialog-animations-example-dialog.html index 383de5d18a11..1c983e5e89be 100644 --- a/src/components-examples/material/dialog/dialog-animations/dialog-animations-example-dialog.html +++ b/src/components-examples/material/dialog/dialog-animations/dialog-animations-example-dialog.html @@ -1,4 +1,4 @@ -

Delete file

+

Delete file

Would you like to delete cat.jpeg? diff --git a/src/components-examples/material/dialog/dialog-data/dialog-data-example-dialog.html b/src/components-examples/material/dialog/dialog-data/dialog-data-example-dialog.html index cb99aabd9216..6b7e7cc8b521 100644 --- a/src/components-examples/material/dialog/dialog-data/dialog-data-example-dialog.html +++ b/src/components-examples/material/dialog/dialog-data/dialog-data-example-dialog.html @@ -1,4 +1,4 @@ -

Favorite Animal

+

Favorite Animal

My favorite animal is: