Skip to content

Commit 640b650

Browse files
authored
Updating the contrast value (#1780)
* Updating the contrast value * Rain's suggested wording * removing the SRGB reference @michaelc does this work for removing a bib entry? * Meeting updates. * Aligned understandings docs From AWK comment.
1 parent 987d072 commit 640b650

File tree

7 files changed

+22
-29
lines changed

7 files changed

+22
-29
lines changed

biblio.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,6 @@ respecConfig.localBiblio = {
3131
"publisher": "International Standards Organization"
3232
},
3333

34-
"sRGB": {
35-
"authors": [
36-
"M. Stokes",
37-
"M. Anderson",
38-
"S. Chandrasekar",
39-
"R. Motta"
40-
],
41-
"date": "November 5, 1996",
42-
"href": "https://www.w3.org/Graphics/Color/sRGB.html",
43-
"title": "A Standard Default Color Space for the Internet - sRGB, Version 1.10"
44-
},
45-
4634
"UNESCO": {
4735
"date": "1997",
4836
"href": "http://www.unesco.org/education/information/nfsunesco/doc/isced_1997.htm",

guidelines/terms/20/relative-luminance.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
<ul>
1414

15-
<li>if RsRGB <= 0.03928 then <strong>Rstrong> = RsRGB/12.92 else <strong>Rstrong> = ((RsRGB+0.055)/1.055) ^ 2.4
15+
<li>if RsRGB <= 0.04045 then <strong>Rstrong> = RsRGB/12.92 else <strong>Rstrong> = ((RsRGB+0.055)/1.055) ^ 2.4
1616
li>
1717

18-
<li>if GsRGB <= 0.03928 then <strong>Gstrong> = GsRGB/12.92 else <strong>Gstrong> = ((GsRGB+0.055)/1.055) ^ 2.4
18+
<li>if GsRGB <= 0.04045 then <strong>Gstrong> = GsRGB/12.92 else <strong>Gstrong> = ((GsRGB+0.055)/1.055) ^ 2.4
1919
li>
2020

21-
<li>if BsRGB <= 0.03928 then <strong>Bstrong> = BsRGB/12.92 else <strong>Bstrong> = ((BsRGB+0.055)/1.055) ^ 2.4
21+
<li>if BsRGB <= 0.04045 then <strong>Bstrong> = BsRGB/12.92 else <strong>Bstrong> = ((BsRGB+0.055)/1.055) ^ 2.4
2222
li>
2323

2424
ul>
@@ -35,11 +35,13 @@
3535

3636
ul>
3737

38-
<p>The "^" character is the exponentiation operator. (Formula taken from [[sRGB]] and
38+
<p>The "^" character is the exponentiation operator. (Formula taken from
3939
[[IEC-4WD]]).
4040
p>
4141

4242
div>
43+
44+
<p class="note">Before May 2021 the value of 0.04045 in the definition was different (0.03928). It was taken from an older version of the specification and has been updated. It has no practical effect on the calculations in the context of these guidelines.p>
4345

4446
<p class="note">Almost all systems used today to view Web content assume sRGB encoding. Unless it
4547
is known that another color space will be used to process and display the content,

techniques/general/G145.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<ul>
5353
<li>if R
5454
sRGB
55-
<= 0.03928 then
55+
<= 0.04045 then
5656
<strong>Rstrong>
5757
= R
5858
sRGB
@@ -63,7 +63,7 @@
6363
+0.055)/1.055) ^ 2.4li>
6464
<li>if G
6565
sRGB
66-
<= 0.03928 then
66+
<= 0.04045 then
6767
<strong>Gstrong>
6868
= G
6969
sRGB
@@ -74,7 +74,7 @@
7474
+0.055)/1.055) ^ 2.4li>
7575
<li>if B
7676
sRGB
77-
<= 0.03928 then
77+
<= 0.04045 then
7878
<strong>Bstrong>
7979
= B
8080
sRGB
@@ -146,6 +146,7 @@
146146
<li>#4 is trueli>
147147
ul>
148148
section>
149+
<p class="note">Before May 2021 the value of 0.04045 in the definition was different (0.03928). It was taken from an older version of the specification and has been updated. It has no practical effect on the calculations in the context of these guidelines.p>
149150
section><section id="related"><h2>Related Techniquesh2>section><section id="resources"><h2>Resourcesh2>
150151

151152
<ul>

techniques/general/G17.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<ul>
5454
<li>if R
5555
sRGB
56-
<= 0.03928 then
56+
<= 0.04045 then
5757
<strong>Rstrong>
5858
= R
5959
sRGB
@@ -64,7 +64,7 @@
6464
+0.055)/1.055) ^ 2.4li>
6565
<li>if G
6666
sRGB
67-
<= 0.03928 then
67+
<= 0.04045 then
6868
<strong>Gstrong>
6969
= G
7070
sRGB
@@ -75,7 +75,7 @@
7575
+0.055)/1.055) ^ 2.4li>
7676
<li>if B
7777
sRGB
78-
<= 0.03928 then
78+
<= 0.04045 then
7979
<strong>Bstrong>
8080
= B
8181
sRGB
@@ -147,6 +147,7 @@
147147
<li>#4 is trueli>
148148
ul>
149149
section>
150+
<p class="note">Before May 2021 the value of 0.04045 in the definition was different (0.03928). It was taken from an older version of the specification and has been updated. It has no practical effect on the calculations in the context of these guidelines.p>
150151
section><section id="related"><h2>Related Techniquesh2><ul>
151152
<li><a href="../general/G148">G148a>li>
152153
<li><a href="../general/G174">G174a>li>

techniques/general/G18.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<ul>
5959
<li>if R
6060
sRGB
61-
<= 0.03928 then
61+
<= 0.04045 then
6262
<strong>Rstrong>
6363
= R
6464
sRGB
@@ -69,7 +69,7 @@
6969
+0.055)/1.055) ^ 2.4li>
7070
<li>if G
7171
sRGB
72-
<= 0.03928 then
72+
<= 0.04045 then
7373
<strong>Gstrong>
7474
= G
7575
sRGB
@@ -80,7 +80,7 @@
8080
+0.055)/1.055) ^ 2.4li>
8181
<li>if B
8282
sRGB
83-
<= 0.03928 then
83+
<= 0.04045 then
8484
<strong>Bstrong>
8585
= B
8686
sRGB
@@ -152,6 +152,7 @@
152152
<li>#4 is true.li>
153153
ul>
154154
section>
155+
<p class="note">Before May 2021 the value of 0.04045 in the definition was different (0.03928). It was taken from an older version of the specification and has been updated. It has no practical effect on the calculations in the context of these guidelines.p>
155156
section><section id="related"><h2>Related Techniquesh2>section><section id="resources"><h2>Resourcesh2>
156157

157158
<ul>

understanding/20/contrast-enhanced.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,13 @@

Rationale for the Ratios Chosen

163163

164164
<h3>Notes on formulah3>
165165

166-
<p>Conversion from nonlinear to linear RGB values is based on IEC/4WD 61966-2-1 [[IEC-4WD]] and on "A Standard Default Color Space for the Internet - sRGB" [[sRGB]].p>
166+
<p>Conversion from nonlinear to linear RGB values is based on IEC/4WD 61966-2-1 [[IEC-4WD]].p>
167167

168168
<p>The formula (L1/L2) for contrast is based on [[ISO-9241-3]] and [[ANSI-HFES-100-1988]] standards.p>
169169

170170
<p>The ANSI/HFS 100-1988 standard calls for the contribution from ambient light to be
171171
included in the calculation of L1 and L2. The .05 value used is based on Typical Viewing
172-
Flare from [[IEC-4WD]] and the [[sRGB]] paper by M. Stokes et al.
172+
Flare from [[IEC-4WD]].
173173
p>
174174

175175
<p>This Success Criterion and its definitions use the terms "contrast ratio" and "relative

understanding/20/contrast-minimum.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,13 @@

Rationale for the Ratios Chosen

223223

224224
<h3>Notes on formulah3>
225225

226-
<p>Conversion from nonlinear to linear RGB values is based on IEC/4WD 61966-2-1 [[IEC-4WD]] and on "A Standard Default Color Space for the Internet - sRGB" [[sRGB]].p>
226+
<p>Conversion from nonlinear to linear RGB values is based on IEC/4WD 61966-2-1 [[IEC-4WD]].p>
227227

228228
<p>The formula (L1/L2) for contrast is based on [[ISO-9241-3]] and [[ANSI-HFES-100-1988]] standards.p>
229229

230230
<p>The ANSI/HFS 100-1988 standard calls for the contribution from ambient light to be
231231
included in the calculation of L1 and L2. The .05 value used is based on Typical Viewing
232-
Flare from [[IEC-4WD]] and the [[sRGB]] paper by M. Stokes et al.
232+
Flare from [[IEC-4WD]].
233233
p>
234234

235235
<p>This Success Criterion and its definitions use the terms "contrast ratio" and "relative

0 commit comments

Comments
 (0)