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:
diff --git a/src/components-examples/material/dialog/dialog-elements/dialog-elements-example-dialog.html b/src/components-examples/material/dialog/dialog-elements/dialog-elements-example-dialog.html
index 8b0bf4346eb8..206c9a3efa60 100644
--- a/src/components-examples/material/dialog/dialog-elements/dialog-elements-example-dialog.html
+++ b/src/components-examples/material/dialog/dialog-elements/dialog-elements-example-dialog.html
@@ -1,4 +1,4 @@
-Dialog with elements
+Dialog with elements
This dialog showcases the title, close, content and actions elements.
Close
diff --git a/src/components-examples/material/dialog/dialog-overview/dialog-overview-example-dialog.html b/src/components-examples/material/dialog/dialog-overview/dialog-overview-example-dialog.html
index 9f19909a6f2f..212816310692 100644
--- a/src/components-examples/material/dialog/dialog-overview/dialog-overview-example-dialog.html
+++ b/src/components-examples/material/dialog/dialog-overview/dialog-overview-example-dialog.html
@@ -1,4 +1,4 @@
-Hi {{data.name}}
+Hi {{data.name}}
What's your favorite animal?
diff --git a/src/dev-app/slider/slider-demo.ts b/src/dev-app/slider/slider-demo.ts
index e7a6a703ba80..a0715e5fb16d 100644
--- a/src/dev-app/slider/slider-demo.ts
+++ b/src/dev-app/slider/slider-demo.ts
@@ -123,7 +123,7 @@ export class SliderDemo {
selector: 'slider-dialog-demo',
styleUrls: ['slider-demo.css'],
template: `
- Slider in a dialog
+ Slider in a dialog
diff --git a/src/material/dialog/dialog.spec.ts b/src/material/dialog/dialog.spec.ts
index 0c36e322b8c9..e0bb260b1506 100644
--- a/src/material/dialog/dialog.spec.ts
+++ b/src/material/dialog/dialog.spec.ts
@@ -1214,7 +1214,7 @@ describe('MDC-based MatDialog', () => {
flushMicrotasks();
let firstHeader = overlayContainerElement.querySelector(
- 'h1[tabindex="-1"]',
+ 'h2[tabindex="-1"]',
) as HTMLInputElement;
expect(document.activeElement)
@@ -1625,7 +1625,7 @@ describe('MDC-based MatDialog', () => {
@Component({
standalone: true,
imports: [MatDialogTitle],
- template: `@if (showTitle()) { This is the first title }`,
+ template: `@if (showTitle()) { This is the first title }`,
})
class DialogCmp {
showTitle = signal(true);
@@ -2240,13 +2240,13 @@ class PizzaMsg {
@Component({
template: `
@if (shouldShowTitle('first')) {
- This is the first title
+ This is the first title
}
@if (shouldShowTitle('second')) {
- This is the second title
+ This is the second title
}
@if (shouldShowTitle('third')) {
- This is the third title
+ This is the third title
}
Lorem ipsum dolor sit amet.
@@ -2275,13 +2275,13 @@ class ContentElementDialog {
template: `
@if (shouldShowTitle('first')) {
- This is the first title
+ This is the first title
}
@if (shouldShowTitle('second')) {
- This is the second title
+ This is the second title
}
@if (shouldShowTitle('third')) {
- This is the third title
+ This is the third title
}
Lorem ipsum dolor sit amet.