From 5438c6d037b7a6e6831f0824f5ad13e249a75db1 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Wed, 29 Sep 2021 14:57:27 -0400
Subject: [PATCH 01/21] TC8.1-3-pass-1.md is ready for review
---
testcases/TC8.1-3-pass-1.md | 53 +++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 testcases/TC8.1-3-pass-1.md
diff --git a/testcases/TC8.1-3-pass-1.md b/testcases/TC8.1-3-pass-1.md
new file mode 100644
index 00000000..54ed2919
--- /dev/null
+++ b/testcases/TC8.1-3-pass-1.md
@@ -0,0 +1,53 @@
+---
+# The layout must be 'testcase'; DO NOT Change
+layout: testcase
+
+# Brief, descriptive title for the test case
+title: 3:1 contrast ratio for 18 point font
+
+# The Test Case ID should follow the pattern:
+# TC[Baseline Test Procedure #]-[Test Instruction #]-
+# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
+tcid: TC8.1-3-pass-1
+
+# Description of the Test Case, the included code sample, test considerations,
+# and rationale for the expected result according to the applicable ICT
+
+# Baseline test
+descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
+
+
+# Reference and link to the applicable ICT Baseline test
+app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
+
+ **Baseline Test ID:** 8.1-Contrast
+
+ **Test Instruction:** 1
+
+
+# Expected result that the ICT Baseline would predict
+# [Pass | Fail | DNA]
+result: Pass
+
+# Brief description of the rationale for the expected result
+result-descr: The foreground text in the code sample provide sufficient contrast based on the text size, foreground color, and background color.
+
+# URL for the code sample
+# In the sample code file, add id="tc_code" to the
+# element that contains the relevant code snippet.
+#
+# Then upload the code sample to the 'testfiles' folder
+# and provide the link (and only the url) below.
+sample: /testfiles/TF08/08.1-3-pass-1.html
+
+# Table of test instructions, including the following table headers:
+# Test Instruction #; Instruction Detail; Expected Test Case Result
+#
+# Include the table in the content section below
+---
+| Test Instruction | Instruction Detail | Expected Test Case Result |
+|------------------|--------------------|---------------------------|
+|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
+| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 3:1.|
+| 8.1-2| Check that the contrast ratio is at least 3:1. [SC 3.14] | The contrast ratio is more than 3:1 (it is 3.8:1) |
+| Results | Both of the above checks pass, then Baseline Test 8.1-Contrast Minimum. |Pass|
\ No newline at end of file
From 9cbea4ad216dd8e58d664d8dbef0fa32038ecfda Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Wed, 29 Sep 2021 15:15:04 -0400
Subject: [PATCH 02/21] TC08.1-3-pass-1 Added
---
testcases.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testcases.md b/testcases.md
index 97c9d3ef..2affce24 100644
--- a/testcases.md
+++ b/testcases.md
@@ -33,7 +33,8 @@ Test Case documents are organized by Baseline Test (each serving as a Test Scena
* `8.` Contrast
* [Contrast - insufficient contrast ratio for small text (TC08.1-2-fail-1)](testcases/TC08.1-2-fail-1.html)
* [Contrast - Pass; text with contrast ratio greater than 4.5:1 (TC08.1-2-pass-1)](testcases/TC08.1-2-pass-1.html)
- * [Conrast - Insufficient contrast ratio for 15 point, bolded text (TC08.1-3-fail-1)](testcases/TC08.1-3-fail-1.html)
+ * [Contrast - Insufficient contrast ratio for 15 point, bolded text (TC08.1-3-fail-1)](testcases/TC08.1-3-fail-1.html)
+ * [Contrast - 3:1 Contrast Ratio for 18 point font (TC08.1-3-pass-1)](testcases/TC08.1-3-pass-1.html)
* `10.` Forms
* [Input text element: no accessible name or description (TC10.1-1-fail-1)](testcases/TC10.1-1-fail-1.html)
* `12.` Tables
From dfbfcb0b0beb42f10df47343c4f0733cf74a7d80 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Fri, 1 Oct 2021 12:55:08 -0400
Subject: [PATCH 03/21] Add files via upload
---
testcases/TC8.1-3-fail-2.md | 53 +++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 testcases/TC8.1-3-fail-2.md
diff --git a/testcases/TC8.1-3-fail-2.md b/testcases/TC8.1-3-fail-2.md
new file mode 100644
index 00000000..6d8296da
--- /dev/null
+++ b/testcases/TC8.1-3-fail-2.md
@@ -0,0 +1,53 @@
+---
+# The layout must be 'testcase'; DO NOT Change
+layout: testcase
+
+# Brief, descriptive title for the test case
+title: insufficient contrast ratio for 18 point text
+
+# The Test Case ID should follow the pattern:
+# TC[Baseline Test Procedure #]-[Test Instruction #]-
+# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
+tcid: TC8.1-3-fail-2
+
+# Description of the Test Case, the included code sample, test considerations,
+# and rationale for the expected result according to the applicable ICT
+
+# Baseline test
+descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
+
+
+# Reference and link to the applicable ICT Baseline test
+app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
+
+ **Baseline Test ID:** 8.1-Contrast
+
+ **Test Instruction:** 1
+
+
+# Expected result that the ICT Baseline would predict
+# [Pass | Fail | DNA]
+result: Fail
+
+# Brief description of the rationale for the expected result
+result-descr: The foreground text in the code sample provide sufficient contrast based on the text size, foreground color, and background color.
+
+# URL for the code sample
+# In the sample code file, add id="tc_code" to the
+# element that contains the relevant code snippet.
+#
+# Then upload the code sample to the 'testfiles' folder
+# and provide the link (and only the url) below.
+sample: /testfiles/TF08/08.1-3-fail-2.html
+
+# Table of test instructions, including the following table headers:
+# Test Instruction #; Instruction Detail; Expected Test Case Result
+#
+# Include the table in the content section below
+---
+| Test Instruction | Instruction Detail | Expected Test Case Result |
+|------------------|--------------------|---------------------------|
+|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
+| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 3:1 |
+| 8.1-2| Check that the contrast ratio is at least 3:1. [SC 3.14] | The contrast ratio is more than 3:1 (it is 1:7.2 ) |
+| Results | Both of the above checks pass, then Baseline Test 8.1-Contrast Minimum. | Fail |
\ No newline at end of file
From 5f9b45dc8a43a7379c1f322c39bb9e3ea2842022 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Fri, 1 Oct 2021 12:56:06 -0400
Subject: [PATCH 04/21] Add files via upload
---
testfiles/TF08/08.1-3-fail-2.html | 39 +++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 testfiles/TF08/08.1-3-fail-2.html
diff --git a/testfiles/TF08/08.1-3-fail-2.html b/testfiles/TF08/08.1-3-fail-2.html
new file mode 100644
index 00000000..33424b7f
--- /dev/null
+++ b/testfiles/TF08/08.1-3-fail-2.html
@@ -0,0 +1,39 @@
+
+
+
+
+ Color Contrast Tests
+
+
+
+
+
+Text for Testing
+
+
+
+
+
From 387d0641caa0571e27912d20cf04f01c63ab24d4 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Fri, 1 Oct 2021 12:58:59 -0400
Subject: [PATCH 05/21] Update testcases.md
---
testcases.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases.md b/testcases.md
index 2affce24..d9781a1b 100644
--- a/testcases.md
+++ b/testcases.md
@@ -35,6 +35,7 @@ Test Case documents are organized by Baseline Test (each serving as a Test Scena
* [Contrast - Pass; text with contrast ratio greater than 4.5:1 (TC08.1-2-pass-1)](testcases/TC08.1-2-pass-1.html)
* [Contrast - Insufficient contrast ratio for 15 point, bolded text (TC08.1-3-fail-1)](testcases/TC08.1-3-fail-1.html)
* [Contrast - 3:1 Contrast Ratio for 18 point font (TC08.1-3-pass-1)](testcases/TC08.1-3-pass-1.html)
+ * [Contrast - Insufficient contrast ratio for 18 point font (TC08.1-3-fail-2)](testcases/TC08.1-3-fail-2.html)
* `10.` Forms
* [Input text element: no accessible name or description (TC10.1-1-fail-1)](testcases/TC10.1-1-fail-1.html)
* `12.` Tables
From 40584bf68496cee781b1a2b3b4c31366f30c4ea6 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Mon, 4 Oct 2021 08:15:27 -0400
Subject: [PATCH 06/21] Update testcases.md
---
testcases.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testcases.md b/testcases.md
index d9781a1b..235e7663 100644
--- a/testcases.md
+++ b/testcases.md
@@ -31,11 +31,12 @@ Test Case documents are organized by Baseline Test (each serving as a Test Scena
* [Decorative Image - with alt="" (TC06.2-4-pass-1)](testcases/TC06.2-4-pass-1.html)
* [Decorative Image - with image inserted via CSS (TC06.2-5-pass-1)](testcases/TC06.2-5-pass-1.html)
* `8.` Contrast
- * [Contrast - insufficient contrast ratio for small text (TC08.1-2-fail-1)](testcases/TC08.1-2-fail-1.html)
+ * [Contrast - Insufficient contrast ratio for small text (TC08.1-2-fail-1)](testcases/TC08.1-2-fail-1.html)
* [Contrast - Pass; text with contrast ratio greater than 4.5:1 (TC08.1-2-pass-1)](testcases/TC08.1-2-pass-1.html)
* [Contrast - Insufficient contrast ratio for 15 point, bolded text (TC08.1-3-fail-1)](testcases/TC08.1-3-fail-1.html)
* [Contrast - 3:1 Contrast Ratio for 18 point font (TC08.1-3-pass-1)](testcases/TC08.1-3-pass-1.html)
* [Contrast - Insufficient contrast ratio for 18 point font (TC08.1-3-fail-2)](testcases/TC08.1-3-fail-2.html)
+ * [Contrast - Insufficient contrast ratio for 14 point font (TC08.1-2-fail-2)](testcases/TC08.1-2-fail-2.html)
* `10.` Forms
* [Input text element: no accessible name or description (TC10.1-1-fail-1)](testcases/TC10.1-1-fail-1.html)
* `12.` Tables
From 0f2d1f6ed7f5d93fb5f60c75344b5ab67619f385 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Mon, 4 Oct 2021 08:17:38 -0400
Subject: [PATCH 07/21] Add files via upload
---
testcases/TC8.1-2-fail-2.md | 53 +++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 testcases/TC8.1-2-fail-2.md
diff --git a/testcases/TC8.1-2-fail-2.md b/testcases/TC8.1-2-fail-2.md
new file mode 100644
index 00000000..b568317a
--- /dev/null
+++ b/testcases/TC8.1-2-fail-2.md
@@ -0,0 +1,53 @@
+---
+# The layout must be 'testcase'; DO NOT Change
+layout: testcase
+
+# Brief, descriptive title for the test case
+title: insufficient contrast ratio for 14 point, non-bold text
+
+# The Test Case ID should follow the pattern:
+# TC[Baseline Test Procedure #]-[Test Instruction #]-
+# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
+tcid: TC8.1-2-fail-2
+
+# Description of the Test Case, the included code sample, test considerations,
+# and rationale for the expected result according to the applicable ICT
+
+# Baseline test
+descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
+
+
+# Reference and link to the applicable ICT Baseline test
+app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
+
+ **Baseline Test ID:** 8.1-Contrast
+
+ **Test Instruction:** 1
+
+
+# Expected result that the ICT Baseline would predict
+# [Pass | Fail | DNA]
+result: Fail
+
+# Brief description of the rationale for the expected result
+result-descr: The foreground text in the code sample provide sufficient contrast based on the text size, foreground color, and background color.
+
+# URL for the code sample
+# In the sample code file, add id="tc_code" to the
+# element that contains the relevant code snippet.
+#
+# Then upload the code sample to the 'testfiles' folder
+# and provide the link (and only the url) below.
+sample: /testfiles/TF08/08.1-2-fail-2.html
+
+# Table of test instructions, including the following table headers:
+# Test Instruction #; Instruction Detail; Expected Test Case Result
+#
+# Include the table in the content section below
+---
+| Test Instruction | Instruction Detail | Expected Test Case Result |
+|------------------|--------------------|---------------------------|
+|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
+| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 3:1 |
+| 8.1-2| Check that the contrast ratio is at least 3:1. [SC 3.14] | The contrast ratio is more than 3:1 (it is 1.72) |
+| Results | Both of the above checks pass, then Baseline Test 8.1-Contrast Minimum. | Fail |
\ No newline at end of file
From f27289b64e08ef176ce4db1d139c8e0c46ff5e00 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Mon, 4 Oct 2021 08:19:08 -0400
Subject: [PATCH 08/21] Add files via upload
---
testfiles/TF08/08.1-2-fail-2.html | 39 +++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 testfiles/TF08/08.1-2-fail-2.html
diff --git a/testfiles/TF08/08.1-2-fail-2.html b/testfiles/TF08/08.1-2-fail-2.html
new file mode 100644
index 00000000..c482f853
--- /dev/null
+++ b/testfiles/TF08/08.1-2-fail-2.html
@@ -0,0 +1,39 @@
+
+
+
+
+ Color Contrast Tests
+
+
+
+
+
+Text for Testing
+
+
+
+
+
From e26283494dd31cf04e7d01ef324bb334fb9d8173 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Wed, 13 Oct 2021 16:46:34 -0400
Subject: [PATCH 09/21] Update for testcase.md 8.1-2-fail-4
Ready for review.
---
testcases.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases.md b/testcases.md
index 235e7663..7641726a 100644
--- a/testcases.md
+++ b/testcases.md
@@ -37,6 +37,7 @@ Test Case documents are organized by Baseline Test (each serving as a Test Scena
* [Contrast - 3:1 Contrast Ratio for 18 point font (TC08.1-3-pass-1)](testcases/TC08.1-3-pass-1.html)
* [Contrast - Insufficient contrast ratio for 18 point font (TC08.1-3-fail-2)](testcases/TC08.1-3-fail-2.html)
* [Contrast - Insufficient contrast ratio for 14 point font (TC08.1-2-fail-2)](testcases/TC08.1-2-fail-2.html)
+ * [Contrast - Insufficient contrast ratio for small text in an image of text (TC08.1-2-fail-4)](testcases/TC08.1-2-fail-4.html)
* `10.` Forms
* [Input text element: no accessible name or description (TC10.1-1-fail-1)](testcases/TC10.1-1-fail-1.html)
* `12.` Tables
From 847011b292580284f7e3247c9262e069a00f6536 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Wed, 13 Oct 2021 16:47:59 -0400
Subject: [PATCH 10/21] TC8.1-2-fail-4 Ready for review.
---
testcases/TC8.1-2-fail-4.md | 53 +++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 testcases/TC8.1-2-fail-4.md
diff --git a/testcases/TC8.1-2-fail-4.md b/testcases/TC8.1-2-fail-4.md
new file mode 100644
index 00000000..29dc8c6b
--- /dev/null
+++ b/testcases/TC8.1-2-fail-4.md
@@ -0,0 +1,53 @@
+---
+# The layout must be 'testcase'; DO NOT Change
+layout: testcase
+
+# Brief, descriptive title for the test case
+title: insufficient contrast ratio for small text (below 14 point) in an image of text
+
+# The Test Case ID should follow the pattern:
+# TC[Baseline Test Procedure #]-[Test Instruction #]-
+# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
+tcid: TC8.1-2-fail-4
+
+# Description of the Test Case, the included code sample, test considerations,
+# and rationale for the expected result according to the applicable ICT
+
+# Baseline test
+descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
+
+
+# Reference and link to the applicable ICT Baseline test
+app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
+
+ **Baseline Test ID:** 8.1-Contrast
+
+ **Test Instruction:** 1
+
+
+# Expected result that the ICT Baseline would predict
+# [Pass | Fail | DNA]
+result: Fail
+
+# Brief description of the rationale for the expected result
+result-descr: The foreground and background text and size contrast ratio in the code sample provide sufficient contrast in an image of text.
+
+# URL for the code sample
+# In the sample code file, add id="tc_code" to the
+# element that contains the relevant code snippet.
+#
+# Then upload the code sample to the 'testfiles' folder
+# and provide the link (and only the url) below.
+sample: /testfiles/TF08/08.1-2-fail-4.html
+
+# Table of test instructions, including the following table headers:
+# Test Instruction #; Instruction Detail; Expected Test Case Result
+#
+# Include the table in the content section below
+---
+| Test Instruction | Instruction Detail | Expected Test Case Result |
+|------------------|--------------------|---------------------------|
+|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
+| 8.1-1| Determine the contrast ratio of foreground and background in the image of text. | The contrast ratio for the text is 4.5:1 |
+| 8.1-2| Check that the contrast ratio is at least 4.5:1. [SC 3.14] | The contrast ratio is more than 4.5:1 (it is 2.6:1) |
+| Results | Both of the above checks fail, then Baseline Test 8.1-Contrast Minimum. | Fail |
\ No newline at end of file
From b50d49bfd8bb7d7652b4034fead89fb49dab3197 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Wed, 13 Oct 2021 16:48:46 -0400
Subject: [PATCH 11/21] Add files via upload
---
testfiles/TF08/08.1-2-fail-4.html | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 testfiles/TF08/08.1-2-fail-4.html
diff --git a/testfiles/TF08/08.1-2-fail-4.html b/testfiles/TF08/08.1-2-fail-4.html
new file mode 100644
index 00000000..70ad10e6
--- /dev/null
+++ b/testfiles/TF08/08.1-2-fail-4.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+imageoftext.jpg
+
+
+
+
+
+
+
From c804db278552068ca26bb6db38ec43b7cf1cb0ba Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Thu, 14 Oct 2021 08:23:55 -0400
Subject: [PATCH 12/21] 8.1-ic-dna-1 testcases.md ready for review
---
testcases.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases.md b/testcases.md
index 7641726a..52d100f5 100644
--- a/testcases.md
+++ b/testcases.md
@@ -38,6 +38,7 @@ Test Case documents are organized by Baseline Test (each serving as a Test Scena
* [Contrast - Insufficient contrast ratio for 18 point font (TC08.1-3-fail-2)](testcases/TC08.1-3-fail-2.html)
* [Contrast - Insufficient contrast ratio for 14 point font (TC08.1-2-fail-2)](testcases/TC08.1-2-fail-2.html)
* [Contrast - Insufficient contrast ratio for small text in an image of text (TC08.1-2-fail-4)](testcases/TC08.1-2-fail-4.html)
+ * [Contrast - Insufficient contrast ratio in logotype, logo, or brand name image of text.](testcases/TC08.1-ic-dna-1.html)
* `10.` Forms
* [Input text element: no accessible name or description (TC10.1-1-fail-1)](testcases/TC10.1-1-fail-1.html)
* `12.` Tables
From 6990733cd9c35b74bd1c1eb593f3007dcf6be03c Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Thu, 14 Oct 2021 08:25:56 -0400
Subject: [PATCH 13/21] 8.1-ic-dna-1 ready for review
---
testcases/TC8.1-ic-dna-1.md | 53 +++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 testcases/TC8.1-ic-dna-1.md
diff --git a/testcases/TC8.1-ic-dna-1.md b/testcases/TC8.1-ic-dna-1.md
new file mode 100644
index 00000000..e4ec8024
--- /dev/null
+++ b/testcases/TC8.1-ic-dna-1.md
@@ -0,0 +1,53 @@
+---
+# The layout must be 'testcase'; DO NOT Change
+layout: testcase
+
+# Brief, descriptive title for the test case
+title: insufficient contrast in logotype, logo, or brand name image of text
+
+# The Test Case ID should follow the pattern:
+# TC[Baseline Test Procedure #]-[Test Instruction #]-
+# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
+tcid: TC8.1-ic-dna-1
+
+# Description of the Test Case, the included code sample, test considerations,
+# and rationale for the expected result according to the applicable ICT
+
+# Baseline test
+descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
+
+
+# Reference and link to the applicable ICT Baseline test
+app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
+
+ **Baseline Test ID:** 8.1-Contrast
+
+ **Test Instruction:** 1
+
+
+# Expected result that the ICT Baseline would predict
+# [Pass | Fail | DNA]
+result: DNA
+
+# Brief description of the rationale for the expected result
+result-descr: The foreground and background text and size contrast ratio in the code sample provide sufficient contrast in logotype, logo, or brand name image of text.
+
+# URL for the code sample
+# In the sample code file, add id="tc_code" to the
+# element that contains the relevant code snippet.
+#
+# Then upload the code sample to the 'testfiles' folder
+# and provide the link (and only the url) below.
+sample: /testfiles/TF08/08.1-ic-dna-1.html
+
+# Table of test instructions, including the following table headers:
+# Test Instruction #; Instruction Detail; Expected Test Case Result
+#
+# Include the table in the content section below
+---
+| Test Instruction | Instruction Detail | Expected Test Case Result |
+|------------------|--------------------|---------------------------|
+|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
+| 8.1-1| Determine the contrast ratio of foreground and background in the image of text. | The contrast ratio for the text is DNA |
+| 8.1-2| Check that the contrast ratio is at least 4.5:1. [SC 3.14] | The contrast ratio is more than 4.5:1 (it is DNA) |
+| Results | Both of the above checks are DNA, then the Baseline Test 8.1-Contrast Minimum. | DNA |
\ No newline at end of file
From 96f2cdba92dcfb7be8da551e730d0107d0c4d4f3 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Thu, 14 Oct 2021 08:26:58 -0400
Subject: [PATCH 14/21] 08.1-ic-dna-1 test file ready for review
---
testfiles/08.1-ic-dna-1.html | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 testfiles/08.1-ic-dna-1.html
diff --git a/testfiles/08.1-ic-dna-1.html b/testfiles/08.1-ic-dna-1.html
new file mode 100644
index 00000000..d6b58844
--- /dev/null
+++ b/testfiles/08.1-ic-dna-1.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+imageoftext.jpg
+
+
+
+
+

+
+
+
+
+
+
+
From e02fcb5dca0c903e33291f35e66668ad70716fd2 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Thu, 14 Oct 2021 13:44:21 -0400
Subject: [PATCH 15/21] Update testcases.md
---
testcases.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases.md b/testcases.md
index 52d100f5..a4fc1cbc 100644
--- a/testcases.md
+++ b/testcases.md
@@ -39,6 +39,7 @@ Test Case documents are organized by Baseline Test (each serving as a Test Scena
* [Contrast - Insufficient contrast ratio for 14 point font (TC08.1-2-fail-2)](testcases/TC08.1-2-fail-2.html)
* [Contrast - Insufficient contrast ratio for small text in an image of text (TC08.1-2-fail-4)](testcases/TC08.1-2-fail-4.html)
* [Contrast - Insufficient contrast ratio in logotype, logo, or brand name image of text.](testcases/TC08.1-ic-dna-1.html)
+ * [Contrast - Insufficient contrast ratio for small text, when color changes on hover/focus (TC08.1-2-fail-3)](testcases/TC08.1-2-fail-3.html)
* `10.` Forms
* [Input text element: no accessible name or description (TC10.1-1-fail-1)](testcases/TC10.1-1-fail-1.html)
* `12.` Tables
From f9d4575b4d2965280c9f047278303f57c1eb29ba Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Thu, 14 Oct 2021 13:45:51 -0400
Subject: [PATCH 16/21] TC8.1-2-fail-3 is ready for review
---
testcases/TC8.1-2-fail-3.md | 53 +++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 testcases/TC8.1-2-fail-3.md
diff --git a/testcases/TC8.1-2-fail-3.md b/testcases/TC8.1-2-fail-3.md
new file mode 100644
index 00000000..02789ded
--- /dev/null
+++ b/testcases/TC8.1-2-fail-3.md
@@ -0,0 +1,53 @@
+---
+# The layout must be 'testcase'; DO NOT Change
+layout: testcase
+
+# Brief, descriptive title for the test case
+title: Insufficient contrast ratio for small text, when color changes on hover/focus
+
+# The Test Case ID should follow the pattern:
+# TC[Baseline Test Procedure #]-[Test Instruction #]-
+# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
+tcid: TC8.1-2-fail-2
+
+# Description of the Test Case, the included code sample, test considerations,
+# and rationale for the expected result according to the applicable ICT
+
+# Baseline test
+descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
+
+
+# Reference and link to the applicable ICT Baseline test
+app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
+
+ **Baseline Test ID:** 8.1-Contrast
+
+ **Test Instruction:** 1
+
+
+# Expected result that the ICT Baseline would predict
+# [Pass | Fail | DNA]
+result: Fail
+
+# Brief description of the rationale for the expected result
+result-descr: The foreground and background text and size contrast ratio in the code sample provide sufficient contrast in logotype, logo, or brand name image of text.
+
+# URL for the code sample
+# In the sample code file, add id="tc_code" to the
+# element that contains the relevant code snippet.
+#
+# Then upload the code sample to the 'testfiles' folder
+# and provide the link (and only the url) below.
+sample: /testfiles/TF08/08.1-2-fail-3.html
+
+# Table of test instructions, including the following table headers:
+# Test Instruction #; Instruction Detail; Expected Test Case Result
+#
+# Include the table in the content section below
+---
+| Test Instruction | Instruction Detail | Expected Test Case Result |
+|------------------|--------------------|---------------------------|
+|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
+| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 4.5:1 |
+| 8.1-2| Check that the contrast ratio is at least 4.5:1. [SC 3.14] | The contrast ratio is more than 4.5:1 (it is 2.3:1) |
+| Results | Both of the above checks fail, then Baseline Test 8.1-Contrast Minimum. | Fail |
\ No newline at end of file
From 6a518324b002e3cc400ae72841e0cfd493a4a618 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Thu, 14 Oct 2021 13:47:02 -0400
Subject: [PATCH 17/21] 08.1-2-fail-3 is ready for review
---
testfiles/TF08/08.1-2-fail-3.html | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 testfiles/TF08/08.1-2-fail-3.html
diff --git a/testfiles/TF08/08.1-2-fail-3.html b/testfiles/TF08/08.1-2-fail-3.html
new file mode 100644
index 00000000..64887477
--- /dev/null
+++ b/testfiles/TF08/08.1-2-fail-3.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+I am heading!
+
+
+
\ No newline at end of file
From 52b4f21e5729eb51b1fb8ffb368c0c5fb9d577d4 Mon Sep 17 00:00:00 2001
From: CJStegall <71291447+CJStegall@users.noreply.github.com>
Date: Thu, 24 Mar 2022 08:35:06 -0400
Subject: [PATCH 18/21] Update TC8.1-3-fail-2.md
---
testcases/TC8.1-3-fail-2.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/testcases/TC8.1-3-fail-2.md b/testcases/TC8.1-3-fail-2.md
index 6d8296da..4bad6487 100644
--- a/testcases/TC8.1-3-fail-2.md
+++ b/testcases/TC8.1-3-fail-2.md
@@ -3,7 +3,7 @@
layout: testcase
# Brief, descriptive title for the test case
-title: insufficient contrast ratio for 18 point text
+title: Insufficient contrast ratio for 18 point text
# The Test Case ID should follow the pattern:
# TC[Baseline Test Procedure #]-[Test Instruction #]-
@@ -18,11 +18,11 @@ descr: Detect the foreground and background text and size contrast ratio. Determ
# Reference and link to the applicable ICT Baseline test
-app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
+app-baseline:|[8.1 Test Procedure for Contrast Minimum](https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum)
**Baseline Test ID:** 8.1-Contrast
- **Test Instruction:** 1
+ **Test Instruction:** 2
# Expected result that the ICT Baseline would predict
@@ -47,7 +47,7 @@ sample: /testfiles/TF08/08.1-3-fail-2.html
---
| Test Instruction | Instruction Detail | Expected Test Case Result |
|------------------|--------------------|---------------------------|
-|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
+|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions)|
| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 3:1 |
-| 8.1-2| Check that the contrast ratio is at least 3:1. [SC 3.14] | The contrast ratio is more than 3:1 (it is 1:7.2 ) |
-| Results | Both of the above checks pass, then Baseline Test 8.1-Contrast Minimum. | Fail |
\ No newline at end of file
+| 8.1-2| Check that the contrast ratio is at least 3:1. [SC 3.14] | The contrast ratio is less than 3:1 (it is 1:7.2 ) |
+| Results | Both of the above checks fail, then Baseline Test 8.1-Contrast Minimum. | Fail |
From 56b84bf631be15bae94ca92d4b05534da180bad8 Mon Sep 17 00:00:00 2001
From: Andrew Nielson <29068131+drewnielson@users.noreply.github.com>
Date: Sun, 14 May 2023 16:01:08 -0400
Subject: [PATCH 19/21] remove duplicate files
---
testcases/TC8.1-2-fail-2.md | 53 -------------------------
testcases/TC8.1-2-fail-4.md | 53 -------------------------
testcases/TC8.1-3-fail-2.md | 53 -------------------------
testcases/TC8.1-3-pass-1.md | 53 -------------------------
testfiles/TF08/08.1-2-fail-3.html | 6 +--
testfiles/{ => TF08}/08.1-ic-dna-1.html | 0
6 files changed, 3 insertions(+), 215 deletions(-)
delete mode 100644 testcases/TC8.1-2-fail-2.md
delete mode 100644 testcases/TC8.1-2-fail-4.md
delete mode 100644 testcases/TC8.1-3-fail-2.md
delete mode 100644 testcases/TC8.1-3-pass-1.md
rename testfiles/{ => TF08}/08.1-ic-dna-1.html (100%)
diff --git a/testcases/TC8.1-2-fail-2.md b/testcases/TC8.1-2-fail-2.md
deleted file mode 100644
index b568317a..00000000
--- a/testcases/TC8.1-2-fail-2.md
+++ /dev/null
@@ -1,53 +0,0 @@
----
-# The layout must be 'testcase'; DO NOT Change
-layout: testcase
-
-# Brief, descriptive title for the test case
-title: insufficient contrast ratio for 14 point, non-bold text
-
-# The Test Case ID should follow the pattern:
-# TC[Baseline Test Procedure #]-[Test Instruction #]-
-# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
-tcid: TC8.1-2-fail-2
-
-# Description of the Test Case, the included code sample, test considerations,
-# and rationale for the expected result according to the applicable ICT
-
-# Baseline test
-descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
-
-
-# Reference and link to the applicable ICT Baseline test
-app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
-
- **Baseline Test ID:** 8.1-Contrast
-
- **Test Instruction:** 1
-
-
-# Expected result that the ICT Baseline would predict
-# [Pass | Fail | DNA]
-result: Fail
-
-# Brief description of the rationale for the expected result
-result-descr: The foreground text in the code sample provide sufficient contrast based on the text size, foreground color, and background color.
-
-# URL for the code sample
-# In the sample code file, add id="tc_code" to the
-# element that contains the relevant code snippet.
-#
-# Then upload the code sample to the 'testfiles' folder
-# and provide the link (and only the url) below.
-sample: /testfiles/TF08/08.1-2-fail-2.html
-
-# Table of test instructions, including the following table headers:
-# Test Instruction #; Instruction Detail; Expected Test Case Result
-#
-# Include the table in the content section below
----
-| Test Instruction | Instruction Detail | Expected Test Case Result |
-|------------------|--------------------|---------------------------|
-|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
-| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 3:1 |
-| 8.1-2| Check that the contrast ratio is at least 3:1. [SC 3.14] | The contrast ratio is more than 3:1 (it is 1.72) |
-| Results | Both of the above checks pass, then Baseline Test 8.1-Contrast Minimum. | Fail |
\ No newline at end of file
diff --git a/testcases/TC8.1-2-fail-4.md b/testcases/TC8.1-2-fail-4.md
deleted file mode 100644
index 29dc8c6b..00000000
--- a/testcases/TC8.1-2-fail-4.md
+++ /dev/null
@@ -1,53 +0,0 @@
----
-# The layout must be 'testcase'; DO NOT Change
-layout: testcase
-
-# Brief, descriptive title for the test case
-title: insufficient contrast ratio for small text (below 14 point) in an image of text
-
-# The Test Case ID should follow the pattern:
-# TC[Baseline Test Procedure #]-[Test Instruction #]-
-# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
-tcid: TC8.1-2-fail-4
-
-# Description of the Test Case, the included code sample, test considerations,
-# and rationale for the expected result according to the applicable ICT
-
-# Baseline test
-descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
-
-
-# Reference and link to the applicable ICT Baseline test
-app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
-
- **Baseline Test ID:** 8.1-Contrast
-
- **Test Instruction:** 1
-
-
-# Expected result that the ICT Baseline would predict
-# [Pass | Fail | DNA]
-result: Fail
-
-# Brief description of the rationale for the expected result
-result-descr: The foreground and background text and size contrast ratio in the code sample provide sufficient contrast in an image of text.
-
-# URL for the code sample
-# In the sample code file, add id="tc_code" to the
-# element that contains the relevant code snippet.
-#
-# Then upload the code sample to the 'testfiles' folder
-# and provide the link (and only the url) below.
-sample: /testfiles/TF08/08.1-2-fail-4.html
-
-# Table of test instructions, including the following table headers:
-# Test Instruction #; Instruction Detail; Expected Test Case Result
-#
-# Include the table in the content section below
----
-| Test Instruction | Instruction Detail | Expected Test Case Result |
-|------------------|--------------------|---------------------------|
-|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
-| 8.1-1| Determine the contrast ratio of foreground and background in the image of text. | The contrast ratio for the text is 4.5:1 |
-| 8.1-2| Check that the contrast ratio is at least 4.5:1. [SC 3.14] | The contrast ratio is more than 4.5:1 (it is 2.6:1) |
-| Results | Both of the above checks fail, then Baseline Test 8.1-Contrast Minimum. | Fail |
\ No newline at end of file
diff --git a/testcases/TC8.1-3-fail-2.md b/testcases/TC8.1-3-fail-2.md
deleted file mode 100644
index 4bad6487..00000000
--- a/testcases/TC8.1-3-fail-2.md
+++ /dev/null
@@ -1,53 +0,0 @@
----
-# The layout must be 'testcase'; DO NOT Change
-layout: testcase
-
-# Brief, descriptive title for the test case
-title: Insufficient contrast ratio for 18 point text
-
-# The Test Case ID should follow the pattern:
-# TC[Baseline Test Procedure #]-[Test Instruction #]-
-# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
-tcid: TC8.1-3-fail-2
-
-# Description of the Test Case, the included code sample, test considerations,
-# and rationale for the expected result according to the applicable ICT
-
-# Baseline test
-descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
-
-
-# Reference and link to the applicable ICT Baseline test
-app-baseline:|[8.1 Test Procedure for Contrast Minimum](https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum)
-
- **Baseline Test ID:** 8.1-Contrast
-
- **Test Instruction:** 2
-
-
-# Expected result that the ICT Baseline would predict
-# [Pass | Fail | DNA]
-result: Fail
-
-# Brief description of the rationale for the expected result
-result-descr: The foreground text in the code sample provide sufficient contrast based on the text size, foreground color, and background color.
-
-# URL for the code sample
-# In the sample code file, add id="tc_code" to the
-# element that contains the relevant code snippet.
-#
-# Then upload the code sample to the 'testfiles' folder
-# and provide the link (and only the url) below.
-sample: /testfiles/TF08/08.1-3-fail-2.html
-
-# Table of test instructions, including the following table headers:
-# Test Instruction #; Instruction Detail; Expected Test Case Result
-#
-# Include the table in the content section below
----
-| Test Instruction | Instruction Detail | Expected Test Case Result |
-|------------------|--------------------|---------------------------|
-|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions)|
-| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 3:1 |
-| 8.1-2| Check that the contrast ratio is at least 3:1. [SC 3.14] | The contrast ratio is less than 3:1 (it is 1:7.2 ) |
-| Results | Both of the above checks fail, then Baseline Test 8.1-Contrast Minimum. | Fail |
diff --git a/testcases/TC8.1-3-pass-1.md b/testcases/TC8.1-3-pass-1.md
deleted file mode 100644
index 54ed2919..00000000
--- a/testcases/TC8.1-3-pass-1.md
+++ /dev/null
@@ -1,53 +0,0 @@
----
-# The layout must be 'testcase'; DO NOT Change
-layout: testcase
-
-# Brief, descriptive title for the test case
-title: 3:1 contrast ratio for 18 point font
-
-# The Test Case ID should follow the pattern:
-# TC[Baseline Test Procedure #]-[Test Instruction #]-
-# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
-tcid: TC8.1-3-pass-1
-
-# Description of the Test Case, the included code sample, test considerations,
-# and rationale for the expected result according to the applicable ICT
-
-# Baseline test
-descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
-
-
-# Reference and link to the applicable ICT Baseline test
-app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
-
- **Baseline Test ID:** 8.1-Contrast
-
- **Test Instruction:** 1
-
-
-# Expected result that the ICT Baseline would predict
-# [Pass | Fail | DNA]
-result: Pass
-
-# Brief description of the rationale for the expected result
-result-descr: The foreground text in the code sample provide sufficient contrast based on the text size, foreground color, and background color.
-
-# URL for the code sample
-# In the sample code file, add id="tc_code" to the
-# element that contains the relevant code snippet.
-#
-# Then upload the code sample to the 'testfiles' folder
-# and provide the link (and only the url) below.
-sample: /testfiles/TF08/08.1-3-pass-1.html
-
-# Table of test instructions, including the following table headers:
-# Test Instruction #; Instruction Detail; Expected Test Case Result
-#
-# Include the table in the content section below
----
-| Test Instruction | Instruction Detail | Expected Test Case Result |
-|------------------|--------------------|---------------------------|
-|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
-| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 3:1.|
-| 8.1-2| Check that the contrast ratio is at least 3:1. [SC 3.14] | The contrast ratio is more than 3:1 (it is 3.8:1) |
-| Results | Both of the above checks pass, then Baseline Test 8.1-Contrast Minimum. |Pass|
\ No newline at end of file
diff --git a/testfiles/TF08/08.1-2-fail-3.html b/testfiles/TF08/08.1-2-fail-3.html
index 64887477..bbd53b06 100644
--- a/testfiles/TF08/08.1-2-fail-3.html
+++ b/testfiles/TF08/08.1-2-fail-3.html
@@ -1,18 +1,18 @@
-
+
-I am heading!
+I am heading!
\ No newline at end of file
diff --git a/testfiles/08.1-ic-dna-1.html b/testfiles/TF08/08.1-ic-dna-1.html
similarity index 100%
rename from testfiles/08.1-ic-dna-1.html
rename to testfiles/TF08/08.1-ic-dna-1.html
From 15f97ff8e2e3955f524626d7d2cdd3c8c73d0d22 Mon Sep 17 00:00:00 2001
From: Andrew Nielson <29068131+drewnielson@users.noreply.github.com>
Date: Sun, 14 May 2023 19:54:48 -0400
Subject: [PATCH 20/21] Deleting duplicate files from separate PR
---
testcases.md | 3 +-
.../{TC8.1-2-fail-3.md => TC08.1-2-fail-3.md} | 5 +-
testcases/TC8.1-ic-dna-1.md | 53 -------------------
testfiles/TF08/08.1-ic-dna-1.html | 18 -------
4 files changed, 4 insertions(+), 75 deletions(-)
rename testcases/{TC8.1-2-fail-3.md => TC08.1-2-fail-3.md} (92%)
delete mode 100644 testcases/TC8.1-ic-dna-1.md
delete mode 100644 testfiles/TF08/08.1-ic-dna-1.html
diff --git a/testcases.md b/testcases.md
index d041afcf..44b1cdfe 100644
--- a/testcases.md
+++ b/testcases.md
@@ -42,13 +42,12 @@ Test Case documents are organized by Baseline Test (each serving as a Test Scena
* [Contrast - Insufficient contrast ratio for small text (TC08.1-2-fail-1)](testcases/TC08.1-2-fail-1.html)
* [Contrast - Insufficient contrast ratio for 14 point font (TC08.1-2-fail-2)](testcases/TC08.1-2-fail-2.html)
* [Contrast - Insufficient contrast ratio for small text, when color changes on hover/focus (TC08.1-2-fail-3)](testcases/TC08.1-2-fail-3.html)
- * [Contrast - Contrast ratio greater than 4.5:1 (TC08.1-2-pass-1)](testcases/TC08.1-2-pass-1.html)
* [Contrast - Insufficient contrast ratio for small text in an image of text (TC08.1-2-fail-4)](testcases/TC08.1-2-fail-4.html)
+ * [Contrast - Contrast ratio greater than 4.5:1 (TC08.1-2-pass-1)](testcases/TC08.1-2-pass-1.html)
* [Contrast - Insufficient contrast ratio for 14 point, bolded text (TC08.1-3-fail-1)](testcases/TC08.1-3-fail-1.html)
* [Contrast - Insufficient contrast ratio for 18 point font (TC08.1-3-fail-2)](testcases/TC08.1-3-fail-2.html)
* [Contrast - 3:1 Contrast Ratio for 18 point font (TC08.1-3-pass-1)](testcases/TC08.1-3-pass-1.html)
* [Contrast - 3:1 contrast ratio for 14 point, bold font (TC08.1-3-pass-2)](testcases/TC08.1-3-pass-2.html)
- * [Contrast - Insufficient contrast ratio in logotype, logo, or brand name image of text.](testcases/TC08.1-ic-dna-1.html)
* `10.` Forms
* [Form Names: no accessible name or description (TC10.1-1-fail-1)](testcases/TC10.1-1-fail-1.html)
* [Form Names: accessible name from placeholder attribute (TC10.1-all-pass-1)](testcases/TC10.1-all-pass-1.html)
diff --git a/testcases/TC8.1-2-fail-3.md b/testcases/TC08.1-2-fail-3.md
similarity index 92%
rename from testcases/TC8.1-2-fail-3.md
rename to testcases/TC08.1-2-fail-3.md
index 02789ded..7bd786af 100644
--- a/testcases/TC8.1-2-fail-3.md
+++ b/testcases/TC08.1-2-fail-3.md
@@ -8,7 +8,7 @@ title: Insufficient contrast ratio for small text, when color changes on hover/f
# The Test Case ID should follow the pattern:
# TC[Baseline Test Procedure #]-[Test Instruction #]-
# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
-tcid: TC8.1-2-fail-2
+tcid: TC8.1-2-fail-3
# Description of the Test Case, the included code sample, test considerations,
# and rationale for the expected result according to the applicable ICT
@@ -18,7 +18,8 @@ descr: Detect the foreground and background text and size contrast ratio. Determ
# Reference and link to the applicable ICT Baseline test
-app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
+app-basline: |
+ [8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
**Baseline Test ID:** 8.1-Contrast
diff --git a/testcases/TC8.1-ic-dna-1.md b/testcases/TC8.1-ic-dna-1.md
deleted file mode 100644
index e4ec8024..00000000
--- a/testcases/TC8.1-ic-dna-1.md
+++ /dev/null
@@ -1,53 +0,0 @@
----
-# The layout must be 'testcase'; DO NOT Change
-layout: testcase
-
-# Brief, descriptive title for the test case
-title: insufficient contrast in logotype, logo, or brand name image of text
-
-# The Test Case ID should follow the pattern:
-# TC[Baseline Test Procedure #]-[Test Instruction #]-
-# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
-tcid: TC8.1-ic-dna-1
-
-# Description of the Test Case, the included code sample, test considerations,
-# and rationale for the expected result according to the applicable ICT
-
-# Baseline test
-descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
-
-
-# Reference and link to the applicable ICT Baseline test
-app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
-
- **Baseline Test ID:** 8.1-Contrast
-
- **Test Instruction:** 1
-
-
-# Expected result that the ICT Baseline would predict
-# [Pass | Fail | DNA]
-result: DNA
-
-# Brief description of the rationale for the expected result
-result-descr: The foreground and background text and size contrast ratio in the code sample provide sufficient contrast in logotype, logo, or brand name image of text.
-
-# URL for the code sample
-# In the sample code file, add id="tc_code" to the
-# element that contains the relevant code snippet.
-#
-# Then upload the code sample to the 'testfiles' folder
-# and provide the link (and only the url) below.
-sample: /testfiles/TF08/08.1-ic-dna-1.html
-
-# Table of test instructions, including the following table headers:
-# Test Instruction #; Instruction Detail; Expected Test Case Result
-#
-# Include the table in the content section below
----
-| Test Instruction | Instruction Detail | Expected Test Case Result |
-|------------------|--------------------|---------------------------|
-|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
-| 8.1-1| Determine the contrast ratio of foreground and background in the image of text. | The contrast ratio for the text is DNA |
-| 8.1-2| Check that the contrast ratio is at least 4.5:1. [SC 3.14] | The contrast ratio is more than 4.5:1 (it is DNA) |
-| Results | Both of the above checks are DNA, then the Baseline Test 8.1-Contrast Minimum. | DNA |
\ No newline at end of file
diff --git a/testfiles/TF08/08.1-ic-dna-1.html b/testfiles/TF08/08.1-ic-dna-1.html
deleted file mode 100644
index d6b58844..00000000
--- a/testfiles/TF08/08.1-ic-dna-1.html
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-imageoftext.jpg
-
-
-
-
-

-
-
-
-
-
-
-
From 2fd275189d0a8afa46f75370ae55cb188193ec25 Mon Sep 17 00:00:00 2001
From: Andrew Nielson <29068131+drewnielson@users.noreply.github.com>
Date: Sun, 14 May 2023 20:25:23 -0400
Subject: [PATCH 21/21] Test case and test file edits
---
testcases.md | 2 +-
testcases/TC08.1-2-fail-3.md | 19 ++++++++++---------
testfiles/TF08/08.1-2-fail-3.html | 18 ++++++------------
3 files changed, 17 insertions(+), 22 deletions(-)
diff --git a/testcases.md b/testcases.md
index 44b1cdfe..e07376e7 100644
--- a/testcases.md
+++ b/testcases.md
@@ -7,7 +7,7 @@ title: Placeholder Index of Test Cases
Until we modify the primary index file, this serves as a placeholder with links to current test case documents.
-Test Case documents are organized by Baseline Test (each serving as a Test Scenario or general "functional requirement" for testing), which inculde multiple Test Cases. Will need to develop a Test Scenario template to summarize Test Scenario purpose and subordinate Test Cases
+Test Case documents are organized by Baseline Test (each serving as a Test Scenario or general "functional requirement" for testing), which include multiple Test Cases. Will need to develop a Test Scenario template to summarize Test Scenario purpose and subordinate Test Cases
* `1.` Keyboard Accessible
* [Keyboard Access - Functionality not keyboard accessible (TC01.1-1-fail-1)](testcases/TC01.1-1-fail-1.html)
diff --git a/testcases/TC08.1-2-fail-3.md b/testcases/TC08.1-2-fail-3.md
index 7bd786af..3aa0a30f 100644
--- a/testcases/TC08.1-2-fail-3.md
+++ b/testcases/TC08.1-2-fail-3.md
@@ -3,7 +3,7 @@
layout: testcase
# Brief, descriptive title for the test case
-title: Insufficient contrast ratio for small text, when color changes on hover/focus
+title: Contrast - Insufficient contrast ratio for small text, when color changes on hover/focus
# The Test Case ID should follow the pattern:
# TC[Baseline Test Procedure #]-[Test Instruction #]-
@@ -14,12 +14,12 @@ tcid: TC8.1-2-fail-3
# and rationale for the expected result according to the applicable ICT
# Baseline test
-descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample is sufficient contrast between the foreground and background.
+descr: Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample provides sufficient contrast between the foreground and background in its initial state; however, the color of the heading changes on hover, which does not provide sufficient contrast ratio (2.32:1) between the text and the background.
# Reference and link to the applicable ICT Baseline test
-app-basline: |
- [8.1 Test Procedure for Contrast Minimum]https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum
+app-baseline: |
+ [8.1 Test Procedure for Contrast Minimum](https://ictbaseline.access-board.gov/08Contrast/#81-test-procedure-for-contrast-minimum)
**Baseline Test ID:** 8.1-Contrast
@@ -31,7 +31,7 @@ app-basline: |
result: Fail
# Brief description of the rationale for the expected result
-result-descr: The foreground and background text and size contrast ratio in the code sample provide sufficient contrast in logotype, logo, or brand name image of text.
+result-descr: The foreground and background text and size contrast ratio in the code sample provide sufficient contrast in the initial state of the text; however, the color of the heading changes on hover, which does not provide sufficient contrast ratio (2.32:1) between the text and the background.
# URL for the code sample
# In the sample code file, add id="tc_code" to the
@@ -48,7 +48,8 @@ sample: /testfiles/TF08/08.1-2-fail-3.html
---
| Test Instruction | Instruction Detail | Expected Test Case Result |
|------------------|--------------------|---------------------------|
-|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above)|
-| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 4.5:1 |
-| 8.1-2| Check that the contrast ratio is at least 4.5:1. [SC 3.14] | The contrast ratio is more than 4.5:1 (it is 2.3:1) |
-| Results | Both of the above checks fail, then Baseline Test 8.1-Contrast Minimum. | Fail |
\ No newline at end of file
+| Identify Content | All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above) | The page contains text that is 15 point, bold font |
+| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text in its initial state is 21:1; the contrast of the text on hover is 2.32:1 |
+| 8.1-2| Check that the contrast ratio is at least 4.5:1. [SC 3.14] | **FAIL:** The contrast ratio of the text on hover is less than 4.5:1 (it is 2.32:1) |
+| 8.1-3| If the contrast ratio is less than 4.5:1, check that the ratio is at least 3:1 AND the font meets one of the following criteria [SC 1.4.3]: At least 18 point (23.94 pixels); At least 14 point (18.62 pixels) AND bold (at least 700 font weight) | **FAIL:** While the text is 15 point, bold font, the text on hover is less than 3:1 (it is 2.32:1) |
+| Test Results | Both of the above checks fail, then Baseline Test 8.1-Contrast Minimum. | **FAIL:** Both checks fail |
\ No newline at end of file
diff --git a/testfiles/TF08/08.1-2-fail-3.html b/testfiles/TF08/08.1-2-fail-3.html
index bbd53b06..27fc545e 100644
--- a/testfiles/TF08/08.1-2-fail-3.html
+++ b/testfiles/TF08/08.1-2-fail-3.html
@@ -1,18 +1,12 @@
-
+
-
+
-
-I am heading!
-
+ I am heading!
\ No newline at end of file