Skip to content

Commit

Permalink
fix(chips): focus indication not visible in high contrast mode (#12431)
Browse files Browse the repository at this point in the history
Fixes not being able to tell which chip is focused in high contrast mode.
  • Loading branch information
crisbeto authored and jelbourn committed Aug 7, 2018
1 parent 212bd0b commit 3652707
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/chips/chips.scss
Expand Up @@ -47,6 +47,11 @@ $mat-chip-remove-size: 18px;

@include cdk-high-contrast {
outline: solid 1px;

&:focus {
// Use 2px here since the dotted outline is a little thinner.
outline: dotted 2px;
}
}

&.mat-chip-with-trailing-icon.mat-chip-with-avatar,
Expand Down

0 comments on commit 3652707

Please sign in to comment.