Test Case Summary
Test Case ID
TC10.1-ic-dna-1
Test Case Description
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.1 FormName.
Applicable ICT Baseline Test
10.1 Test Procedure for Form Names
Baseline Test ID: 10.1-FormName
Test Instruction: Identify Content
Test Case Detail
Expected Baseline Result
DNA
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.
Test Data
Single-Page URL
Embedded Code
Test Case Instruction
Test Instruction | Instruction Detail | Expected Test Case Result |
---|---|---|
IC-1 | 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 <div> element with the visibility:hidden style property, which removes it from the accessibility tree, visible, and programmatic detection. Even though the code exists in the DOM, this property renders the element undetectable and therefore not applicable to this Baseline Test based on the results of test step 1. |
Result | If any of the above checks fail, then Baseline Test 10.1-FormName fails. | DNA - Test 10.1-FormName does not apply because there are no elements on the page (in the accessibility tree) that fit the Identify Content criteria. |