Content-Length: 257158 | pFad | https://github.com/nodejs/node/commit/52c18e605e

B9 doc: fix color contrast issue in light mode · nodejs/node@52c18e6 · GitHub
Skip to content

Commit 52c18e6

Browse files
Trottaduh95
authored andcommitted
doc: fix color contrast issue in light mode
Attributes are being highlighted as #f00 on a background of #f2f2f2. That's a color contrast of 3.98:1, failing to meet the 4.5:1 requirement of WCAG 2.1 AA. This changes the attribute color to #d00, which has a color contrast of 5.09:1 meeting the 4.5:1 requirement. PR-URL: #56272 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Claudio Wunder <cwunder@gnome.org>
1 parent 4831b87 commit 52c18e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api_assets/hljs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
color: #808080;
5050
}
5151
.hljs-attr {
52-
color: #f00;
52+
color: #d00;
5353
}
5454
.hljs-symbol,
5555
.hljs-bullet,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/nodejs/node/commit/52c18e605e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy