You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/WCAG2/1_4_3_Contrast.html
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@
7
7
Standard: WCAG2AA
8
8
Assert: Error *.G18.Fail on #basicContrastFail
9
9
Assert: No Error *.G18 on #issue155
10
+
Assert: Warning *.G145.Alpha on #rgba
11
+
Assert: Warning *.G18.Alpha on #rgba2
10
12
-->
11
13
</head>
12
14
<body>
@@ -15,6 +17,15 @@
15
17
16
18
<p>Sample: <spanid="issue155" style="color: #7c7cff; background-color: #ffffff; font-size: 14pt; font-weight: bold;">I am 14pt bold text and should pass</span></p>
17
19
20
+
<div>Warning: <divid="pr134" style="color: #7c7cff; background-color: #0000000C; font-size: 14pt; font-weight: bold;">I am 14pt bold text on a transparent background and should generate a warning</div></div>
21
+
22
+
<div>Warning RGBA: <divid="rgba" style="color: #7c7cff; background-color: rgba(0,0,0,0.5); font-size: 14pt; font-weight: bold;">I am 14pt bold text on a transparent background and should generate a warning</div></div>
Copy file name to clipboardExpand all lines: Translations/en.js
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -177,6 +177,7 @@ _global.translation['en'] = {
177
177
//1_4_3.js
178
178
,"1_4_3_G18_or_G145.Abs" : 'This element is absolutely positioned and the background color can not be determined. Ensure the contrast ratio between the text and all covered parts of the background are at least {{required}}:1.'
179
179
,"1_4_3_G18_or_G145.BgImage" : 'This element\'s text is placed on a background image. Ensure the contrast ratio between the text and all covered parts of the image are at least {{required}}:1.'
180
+
,"1_4_3_G18_or_G145.Alpha" : 'This element\'s text or background contains transparency. Ensure the contrast ratio between the text and background are at least {{required}}:1.'
180
181
,"1_4_3_G18_or_G145.Fail" : 'This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least {{required}}:1, but text in this element has a contrast ratio of {{value}}:1.'
Copy file name to clipboardExpand all lines: Translations/pl.js
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -177,6 +177,7 @@ _global.translation['pl'] = {
177
177
//1_4_3.js
178
178
,"1_4_3_G18_or_G145.Abs" : 'Ten element jest pozycjonowany absolutnie i nie jest możliwe zweryfikowanie jego kontrastu. Sprawdź samodzielnie czy kontrast jest na wystarczającym poziomie: {{required}}:1.'
179
179
,"1_4_3_G18_or_G145.BgImage" : 'Tekst elementu wyświetlany jest na obrazku. Należy upewnić się, że stosunek kontrastu tekstu do tła wynosi co najmniej {{required}}:1.'
180
+
,"1_4_3_G18_or_G145.Alpha" : 'Tekst lub tło tego elementu jest przezroczyste. Upewnij się, że współczynnik kontrastu między tekstem a tłem wynosi co najmniej {{required}}:1.'
180
181
,"1_4_3_G18_or_G145.Fail" : 'Ten element ma niewystarczający na tym poziomie zgodności stosunek kontrastu tekstu do tła. Powinien wynosić co najmniej {{required}}:1, a tekst umieszczony w tym elemencie posiada stosunek {{value}}:1.'
0 commit comments