Sc4 1 2 User Input

Please note, this is a draft

Description

This test checks the existence of associated labels at every form control that take user input.

Background

Assumptions

no known assumptions

Test properties

Property Value
Success Criterion 4.1.2 Name, Role, Value
Test mode Automatic
Test environment DOM
Test subject Single web page

Test procedure

Selector

Test mode: automatic

Select every input element, except for elements of the type hidden, button, image and submit, as well as any select and textarea elements

Step 1

Test mode: automatic

Outcome Passed
Testcase SC412-user-input
ID SC412-user-input-pass
Outcome Failed
Testcase SC412-user-input
Error failed to give an input element a name
Info This input element is missing a label element.
ID SC412-user-input-fail