Commit 044e0c4
committed
fix(a11y): underline content links to avoid color-only differentiation
RTD theme removes underlines from links (text-decoration: none), so
content links are distinguished from surrounding text by color alone.
The contrast between link blue and body text is below 3:1, which
fails WCAG 1.4.1 / BITV 9.1.4.1 when color is the sole indicator.
Adding text-decoration: underline provides a non-color visual cue,
satisfying the requirement without changing any color values.
Fixes #9673
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>1 parent c5c2990 commit 044e0c4
1 file changed
Lines changed: 8 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
20 | 28 | | |
21 | 29 | | |
22 | 30 | | |
| |||
0 commit comments