Skip to content

Commit ca73d8c

Browse files
lee-chasetw15egankodiakhq[bot]
authored
fix: high contrast focus (#7268)
Co-authored-by: Lee Chase <lee.chase@uk.ibm.com> Co-authored-by: TJ Egan <tw15egan@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent cb3f770 commit ca73d8c

File tree

1 file changed

+4
-0
lines changed
  • packages/components/src/components/tag

1 file changed

+4
-0
lines changed

packages/components/src/components/tag/_tag.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@
182182
box-shadow: inset 0 0 0 2px $focus;
183183
}
184184

185+
.#{$prefix}--tag--high-contrast .#{$prefix}--tag__close-icon:focus {
186+
box-shadow: inset 0 0 0 2px $inverse-focus-ui;
187+
}
188+
185189
.#{$prefix}--tag--filter.#{$prefix}--tag--disabled
186190
.#{$prefix}--tag__close-icon:hover {
187191
background-color: transparent;

0 commit comments

Comments
 (0)