We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f7e32f commit ec87358Copy full SHA for ec87358
src/material-experimental/mdc-tabs/_tabs-common.scss
@@ -46,6 +46,14 @@ $mat-tab-animation-duration: 500ms !default;
46
.mdc-tab__ripple::before {
47
opacity: map-get($mdc-ripple-dark-ink-opacities, focus);
48
}
49
+
50
+ // The usual focus indication is color-based so it won't show up in
51
+ // high contrast mode. Add an outline which is a bit more visible.
52
+ @include cdk-high-contrast {
53
+ $outline-width: 2px;
54
+ outline: dotted $outline-width;
55
+ outline-offset: -$outline-width; // Not supported on IE, but looks better everywhere else.
56
+ }
57
58
59
.mat-ripple-element {
0 commit comments