Skip to content

Commit 61430df

Browse files
heiskrCopilot
andauthored
Fix tab indicator contrast ratio for WCAG 1.4.11 (#60300)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c832809 commit 61430df

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/tools/components/InArticlePicker.module.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
.container {
2+
// Override Primer's selected tab indicator color to meet WCAG 1.4.11
3+
// non-text contrast minimum of 3:1. The default --color-primer-border-active
4+
// (#FD8C73) has only 2.3:1 contrast. Using a Primer theme variable
5+
// that meets contrast in both light and dark color modes.
6+
--underlineNav-borderColor-active: var(--color-severe-emphasis);
7+
28
// target the ActionList dropdown that appears when UnderlineNav overflows
39
ul[class*="prc-ActionList-ActionList"] {
410
background-color: var(

0 commit comments

Comments
 (0)