Commit 183dcf3
committed
fix(a11y): fix contrast of keyboard shortcut labels
kbd elements inherit the red code text color (#e74c3c), which gives
~3.82:1 against white — below the 4.5:1 required for normal text
(WCAG 1.4.3 / BITV 9.1.4.3). The light border (#a6a6a6) also falls
short of the 3:1 required for UI component boundaries (WCAG 1.4.11).
Override text color to #c0392b (~5.4:1) and border to #767676 (~4.5:1).
Fixes #9675
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>1 parent c5c2990 commit 183dcf3
1 file changed
Lines changed: 10 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
68 | 78 | | |
69 | 79 | | |
70 | 80 | | |
| |||
0 commit comments