Commit eb2a09e
committed
fix(a11y): fix contrast of inline code text
RTD theme renders inline code in #e74c3c on a white background,
yielding a contrast ratio of ~3.82:1. WCAG AA / BITV 9.1.4.3
requires 4.5:1 for normal-weight text.
Switching to #c0392b (darker red) raises the ratio to ~5.4:1.
Fixes #9677
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>1 parent c5c2990 commit eb2a09e
1 file changed
Lines changed: 8 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 | + | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
| |||
0 commit comments