Test Case Summary

Test Case ID

TC10.1-all-pass-2

Test Case Description

Detect attributes that would contribute to the accessible name and accessible description computation and calculate the text alternative for the input element. The code sample data presents a label/for= binding of an on-screen label that contributes to the accessible name output. A successful test should identify a passing implementation against Baseline Test 10.1 FormName.

Applicable ICT Baseline Test

10.1 Test Procedure for Form Names

Baseline Test ID: 10.1-FormName

Test Instruction: All

Test Case Detail

Expected Baseline Result

PASS

The input element in the code sample provides an accessible name value via implementation of label/for= binding of an on-screen label.

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. One <input> element exists in the test data code sample.
IC-2 Find all instructions and cues (textual and graphical) that are related to form components, including groupings, order of completion, special conditions or qualifiers, format instructions, etc. The <input> control has a visual prompt before the control.
10.1-1 Check that the combination of the accessible name and accessible description is not empty. [SC 4.1.2] The output for the accessible name and accessible descriptions computations is populated via the binding of the on-screen label using label/for=.
10.1-2 Check that the non-empty combination of the accessible name and accessible description and other programmatic associations (e.g., table column and/or row associations) describes each form component and includes all relevant instructions and cues (textual and graphical). [SC 1.3.1] The accessible name “First Name” describes the field with all relevant instructions.
Result If any of the above checks fail, then Baseline Test 10.1-FormName fails. Pass - all checks pass.