diff --git a/testcases/TC10.2-IC-dna-2.md b/testcases/TC10.2-IC-dna-2.md new file mode 100644 index 00000000..a6802255 --- /dev/null +++ b/testcases/TC10.2-IC-dna-2.md @@ -0,0 +1,51 @@ +--- +# The layout must be 'testcase'; DO NOT Change +layout: testcase + +# Brief, descriptive title for the test case +title: Form Names - hidden input element (visibility:hidden) + + +# 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: TC10.2-ic-dna-2 #adapted from oldTestCases>TC10-008-dna + +# 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: | + The purpose of this test case is to detect attributes that would contribute to the accessible name and accessible description computation and calculate the text alternative for input elements. The input element in the code sample does not present itself via the Accessibility tree/Accessibility object model (AOM), visually, or programmatically and consequently cannot be identified by the tester within the current test process. Consequently, a successful test should indicate that this test does not apply to Baseline Test 10.2 FormDescriptiveLabel. + +# Reference and link to the applicable ICT Baseline test +app-baseline: | + [10.2 Test Procedure for Form Names](https://ictbaseline.access-board.gov/10Forms/#102-test-procedure-for-form-names) + + **Baseline Test ID:** 10.2-FormDescriptiveLabel + + **Test Instruction:** Identify Content + +# 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 input element in the code sample is hidden from visibility and from the accessibility tree; therefore there are no elements on the page that fit the Identify Content criteria. + +# 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/TF10/10.2-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-2** | Find all form components. Examples include buttons, text fields, radio buttons, checkboxes, read-only fields, and multi-select lists. | The single input element in this test case is enclosed in a `