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/24] 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/24] 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/24] 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/24] 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/24] 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/24] 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/24] 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/24] 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/24] 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/24] 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/24] 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 + + + + file:///C:/Users/CECILIA.STEGALL/OneDrive%20-%20Department%20of%20Homeland%20Security/Desktop/Baseline%20Project%20Test%20Cases/TextinImage.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/24] 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/24] 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/24] 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/24] 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/24] 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/24] 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 84cedfa027265ccd263e23f6de1800dc4872c873 Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Fri, 15 Oct 2021 07:23:34 -0400 Subject: [PATCH 18/24] Update testcases.md --- testcases.md | 1 + 1 file changed, 1 insertion(+) diff --git a/testcases.md b/testcases.md index a4fc1cbc..2eb15aeb 100644 --- a/testcases.md +++ b/testcases.md @@ -40,6 +40,7 @@ Test Case documents are organized by Baseline Test (each serving as a Test Scena * [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) + * [Contrast - Insufficient contrast ratio for 18 point text, when color changes on hover/focus (TC08.1-3-fail-3)](testcases/TC08.1-3-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 fc5a47dd95901a46e4db6ac17afdad8bfaba2bc7 Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Fri, 15 Oct 2021 08:35:32 -0400 Subject: [PATCH 19/24] CJS-8.1-3-fail-3 is ready for review --- testcases/TC8.1-3-fail-3.md | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 testcases/TC8.1-3-fail-3.md diff --git a/testcases/TC8.1-3-fail-3.md b/testcases/TC8.1-3-fail-3.md new file mode 100644 index 00000000..1d02ad2c --- /dev/null +++ b/testcases/TC8.1-3-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 18 point 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-3-fail-3 + +# 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 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 when ratio for 18 point text, when color changes on hover/focus. + +# 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-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 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 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 d3e79600128f590f15a230aeb75b8267868866dd Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Fri, 15 Oct 2021 08:36:52 -0400 Subject: [PATCH 20/24] 08.1-3-fail-3 ready for review --- testfiles/TF08/08.1-3-fail-3.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 testfiles/TF08/08.1-3-fail-3.html diff --git a/testfiles/TF08/08.1-3-fail-3.html b/testfiles/TF08/08.1-3-fail-3.html new file mode 100644 index 00000000..1c282d1a --- /dev/null +++ b/testfiles/TF08/08.1-3-fail-3.html @@ -0,0 +1,18 @@ + + + + + + + +
I am heading!
+ + + \ No newline at end of file From bfe9c46b1fe970ebc392c575ba39f13d63dd7224 Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Thu, 10 Feb 2022 10:36:05 -0500 Subject: [PATCH 21/24] New Improved html --- testfiles/TF08/08.1-ic-dna-3.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 testfiles/TF08/08.1-ic-dna-3.html diff --git a/testfiles/TF08/08.1-ic-dna-3.html b/testfiles/TF08/08.1-ic-dna-3.html new file mode 100644 index 00000000..6bd51f35 --- /dev/null +++ b/testfiles/TF08/08.1-ic-dna-3.html @@ -0,0 +1,9 @@ + + + + + +NASA Logo + + + \ No newline at end of file From cb72c5360dbadbd75738d6e3356c7895ecca8c1f Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Thu, 10 Feb 2022 10:37:30 -0500 Subject: [PATCH 22/24] Delete 08.1-3-fail-3.html --- testfiles/TF08/08.1-3-fail-3.html | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 testfiles/TF08/08.1-3-fail-3.html diff --git a/testfiles/TF08/08.1-3-fail-3.html b/testfiles/TF08/08.1-3-fail-3.html deleted file mode 100644 index 1c282d1a..00000000 --- a/testfiles/TF08/08.1-3-fail-3.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - -
I am heading!
- - - \ No newline at end of file From 4f182813ddcb1252d3b4f39f87f10155e1e86fa7 Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Wed, 23 Mar 2022 12:05:48 -0400 Subject: [PATCH 23/24] Update TC8.1-3-fail-3.md --- testcases/TC8.1-3-fail-3.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/testcases/TC8.1-3-fail-3.md b/testcases/TC8.1-3-fail-3.md index 1d02ad2c..ad9e3bd7 100644 --- a/testcases/TC8.1-3-fail-3.md +++ b/testcases/TC8.1-3-fail-3.md @@ -14,15 +14,15 @@ tcid: TC8.1-3-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 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 code sample is not sufficient for contrast between the foreground and background when hover/focus for color change. # 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:** 3 # Expected result that the ICT Baseline would predict @@ -47,7 +47,7 @@ sample: /testfiles/TF08/08.1-3-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 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 2.3:1) | -| Results | Both of the above checks fail, then Baseline Test 8.1-Contrast Minimum. | Fail | \ No newline at end of file +|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions)| Presence of text change when hover/focus. | +| 8.1-1| Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 2.0: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 2.0:1) | +| Results | Both of the above checks fail, then Baseline Test 8.1-Contrast Minimum. | Fail | From 4a01263442675e71dfb00879e17a7a0d9d074008 Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Wed, 23 Mar 2022 12:08:57 -0400 Subject: [PATCH 24/24] Add files via upload --- testfiles/TF08/08.1-3-fail-3.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testfiles/TF08/08.1-3-fail-3.html diff --git a/testfiles/TF08/08.1-3-fail-3.html b/testfiles/TF08/08.1-3-fail-3.html new file mode 100644 index 00000000..478be3b6 --- /dev/null +++ b/testfiles/TF08/08.1-3-fail-3.html @@ -0,0 +1,21 @@ + + +
+ + + + + + +
I am heading!
+ +
+ + \ No newline at end of file