Skip to content

Commit

Permalink
fix(Accessibility): Focus is not visible on dropdown elements in high…
Browse files Browse the repository at this point in the history
… contrast (#304)
  • Loading branch information
ionelc-ensemble committed Jul 12, 2023
1 parent fae0821 commit cde7c68
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions coral-component-list/src/styles/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@
height: var(--spectrum-medium-circleloader-medium-height);
}

@media (forced-colors: active) {
._coral-Menu-item.focus-ring,
._coral-Menu-item.is-focused {
border: 1px solid #000000;
box-sizing: border-box;
}
}

@require 'light';
@require 'lightest';
@require 'dark';
Expand Down

0 comments on commit cde7c68

Please sign in to comment.