Skip to content

Commit e74be63

Browse files
committed
fix(material/stepper): add HCM disabled styles
This adds disabled styles for stepper header in high contrast mode
1 parent 75634a8 commit e74be63

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/material/stepper/step-header.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@
2525
text-decoration: underline;
2626
}
2727
}
28+
29+
// When a step header is disabled in high contrast mode, set the text color to the disabled
30+
// color, which is (unintuitively) named "GrayText".
31+
&[aria-disabled="true"] {
32+
outline-color: GrayText;
33+
.mat-step-label,
34+
.mat-step-icon,
35+
.mat-step-optional {
36+
color: GrayText;
37+
}
38+
}
2839
}
2940
}
3041

0 commit comments

Comments
 (0)