Form Names - no accessible name or description

Test Case Summary

Test Case ID

TC10.1-1-fail-1

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 does not include attributes that contribute to accessible name or accessible description output. A successful test should identify a FAIL 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: 1

Test Case Detail

Expected Baseline Result

FAIL

The input element in the code sample does not have any attributes that would contribute to an accessible name or description.

Test Data

Single-Page URL

Embedded Code

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. Input text field
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. “First name” visually labels the input field.
10.1-1 Check that the combination of the accessible name and accessible description is not empty. [SC 4.1.2] Fail: Accessible name and accessible description are both empty.
Result If any of the above checks fail, then Baseline Test 10.1-FormName fails. 10.1-1 check fails.