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 + + + + 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/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 dcb00ce8152329dec90dd6f42728597f298233be Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Thu, 28 Oct 2021 08:20:30 -0400 Subject: [PATCH 15/21] Update testcases.md Ready for review 8.1-ic-dna-2 --- testcases.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testcases.md b/testcases.md index 52d100f5..a7690a3d 100644 --- a/testcases.md +++ b/testcases.md @@ -38,10 +38,11 @@ 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) + * [Contrast - Insufficient contrast ratio in logotype, logo, or brand name image of text (TC08.1-ic-dna-1.html)](testcases/TC08.1-ic-dna-1.html) + * [Contrast - Insufficient contrast ratio in inactive/disabled user interface component (TC08.1-ic-dna-2.html)](testcases/TC08.1-ic-dna-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 +* `12.` Table * [Data Tables - data table with role="presentation" (TC12.1-2-fail-1)](testcases/TC12.1-2-fail-1.html) * [Table - data table in a `` element and `role="none"` (TC12.1-2-fail-2)](testcases/TC12.1-2-fail-2.html) * [Data table - `
` element in a table also includes `role = "cell"` (TC12.1-3-fail-1)](testcases/TC12.1-3-fail-1.html) From 548823a7eab63e59b5a1f572b5ccb6504446bac2 Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Thu, 28 Oct 2021 08:25:13 -0400 Subject: [PATCH 16/21] TC8.1-ic-dna-2 is ready for review --- testcases/TC8.1-ic-dna-2.md | 52 +++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 testcases/TC8.1-ic-dna-2.md diff --git a/testcases/TC8.1-ic-dna-2.md b/testcases/TC8.1-ic-dna-2.md new file mode 100644 index 00000000..e2880e67 --- /dev/null +++ b/testcases/TC8.1-ic-dna-2.md @@ -0,0 +1,52 @@ +--- +# The layout must be 'testcase'; DO NOT Change +layout: testcase + +# Brief, descriptive title for the test case +title: insufficient contrast in inactive/disabled user interface component + +# 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-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: 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 inactive/disabled user interface component. + +# 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-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 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 62655a327f8419dfa2031a77333efd5ec0c9663a Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Thu, 28 Oct 2021 08:27:01 -0400 Subject: [PATCH 17/21] 08.1-ic-dna-2.html ready for review --- testfiles/TF08/08.1-ic-dna-2.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testfiles/TF08/08.1-ic-dna-2.html diff --git a/testfiles/TF08/08.1-ic-dna-2.html b/testfiles/TF08/08.1-ic-dna-2.html new file mode 100644 index 00000000..04aba304 --- /dev/null +++ b/testfiles/TF08/08.1-ic-dna-2.html @@ -0,0 +1,16 @@ + + + + +

The input disabled attribute

+ +
+ +

+ +

+ +
+ + + From bf22edd2ff53b4d615932798122a72c656652849 Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Fri, 11 Mar 2022 12:06:27 -0500 Subject: [PATCH 18/21] Update TC8.1-ic-dna-2.md --- testcases/TC8.1-ic-dna-2.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/testcases/TC8.1-ic-dna-2.md b/testcases/TC8.1-ic-dna-2.md index e2880e67..c8586301 100644 --- a/testcases/TC8.1-ic-dna-2.md +++ b/testcases/TC8.1-ic-dna-2.md @@ -3,7 +3,7 @@ layout: testcase # Brief, descriptive title for the test case -title: insufficient contrast in inactive/disabled user interface component +title: Insufficient contrast in inactive/disabled user interface component # The Test Case ID should follow the pattern: # TC[Baseline Test Procedure #]-[Test Instruction #]- @@ -14,15 +14,15 @@ tcid: TC8.1-ic-dna-2 # 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 visual presentation of text, images of text or logos. Text that is part of a logo or brand name has no minimum contrast requirement. # 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:** IC # Expected result that the ICT Baseline would predict @@ -30,7 +30,7 @@ app-basline:|[8.1 Test Procedure for Contrast Minimum]https://section508coordina 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 inactive/disabled user interface component. +result-descr: Detect the visual presentation of text, images of text or logos. The following types of text and images of text are not included in this test, inactive (disabled) user interface components. # In the sample code file, add id="tc_code" to the # element that contains the relevant code snippet. @@ -46,7 +46,5 @@ sample: /testfiles/TF08/08.1-ic-dna-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)| -| 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 +|IC| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions).| Presence of text found in an inactive element. | +| Results | | Does Not Apply | From 0a61cae7d0d1643d0645ea599bf6378e21a79e4e Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Wed, 16 Mar 2022 11:48:14 -0400 Subject: [PATCH 19/21] Update TC8.1-ic-dna-2.md Updated... --- testcases/TC8.1-ic-dna-2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testcases/TC8.1-ic-dna-2.md b/testcases/TC8.1-ic-dna-2.md index c8586301..07b61a61 100644 --- a/testcases/TC8.1-ic-dna-2.md +++ b/testcases/TC8.1-ic-dna-2.md @@ -12,9 +12,9 @@ tcid: TC8.1-ic-dna-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 visual presentation of text, images of text or logos. Text that is part of a logo or brand name has no minimum contrast requirement. + +descr: Detect the visual presentation of text, images of text or logos. Text that is part of an inactive (disabled) user interface components are exempt. # Reference and link to the applicable ICT Baseline test @@ -47,4 +47,4 @@ sample: /testfiles/TF08/08.1-ic-dna-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).| Presence of text found in an inactive element. | -| Results | | Does Not Apply | +| Results |Inactive (disabled) user interface components are exempt. | Does Not Apply | From 1f4f755c843801a87d112f1777d8ea11f5598c59 Mon Sep 17 00:00:00 2001 From: CJStegall <71291447+CJStegall@users.noreply.github.com> Date: Wed, 16 Mar 2022 11:56:19 -0400 Subject: [PATCH 20/21] Update 08.1-ic-dna-2.html --- testfiles/TF08/08.1-ic-dna-2.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/testfiles/TF08/08.1-ic-dna-2.html b/testfiles/TF08/08.1-ic-dna-2.html index 04aba304..09b3c431 100644 --- a/testfiles/TF08/08.1-ic-dna-2.html +++ b/testfiles/TF08/08.1-ic-dna-2.html @@ -1,7 +1,8 @@ - +
+

The input disabled attribute

@@ -11,6 +12,7 @@

The input disabled attribute



- + +
From bc0605a30b5686aa7fc00d09af36b84f5faf2412 Mon Sep 17 00:00:00 2001 From: Andrew Nielson <29068131+drewnielson@users.noreply.github.com> Date: Thu, 7 Apr 2022 15:00:18 -0400 Subject: [PATCH 21/21] minor yaml syntax fixes; link fix; minor text edit --- testcases/TC8.1-2-fail-2.md | 3 ++- testcases/TC8.1-2-fail-4.md | 3 ++- testcases/TC8.1-3-fail-2.md | 3 ++- testcases/TC8.1-3-pass-1.md | 3 ++- testcases/TC8.1-ic-dna-1.md | 3 ++- testcases/TC8.1-ic-dna-2.md | 5 +++-- 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/testcases/TC8.1-2-fail-2.md b/testcases/TC8.1-2-fail-2.md index b568317a..4fa47672 100644 --- a/testcases/TC8.1-2-fail-2.md +++ b/testcases/TC8.1-2-fail-2.md @@ -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-2-fail-4.md b/testcases/TC8.1-2-fail-4.md index 29dc8c6b..14f41b9e 100644 --- a/testcases/TC8.1-2-fail-4.md +++ b/testcases/TC8.1-2-fail-4.md @@ -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-3-fail-2.md b/testcases/TC8.1-3-fail-2.md index 6d8296da..ef165c82 100644 --- a/testcases/TC8.1-3-fail-2.md +++ b/testcases/TC8.1-3-fail-2.md @@ -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-3-pass-1.md b/testcases/TC8.1-3-pass-1.md index 54ed2919..34be4eaa 100644 --- a/testcases/TC8.1-3-pass-1.md +++ b/testcases/TC8.1-3-pass-1.md @@ -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 index e4ec8024..5373b9aa 100644 --- a/testcases/TC8.1-ic-dna-1.md +++ b/testcases/TC8.1-ic-dna-1.md @@ -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-2.md b/testcases/TC8.1-ic-dna-2.md index 07b61a61..d7b211e2 100644 --- a/testcases/TC8.1-ic-dna-2.md +++ b/testcases/TC8.1-ic-dna-2.md @@ -18,9 +18,10 @@ descr: Detect the visual presentation of text, images of text or logos. Text tha # 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) +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 + **Baseline Test ID:** 8.1-ContrastMinimum **Test Instruction:** IC