Sc1 3 1 Radio Check

Please note, this is a draft

Description

This test checks to see if all radio buttons and check boxes with the same name are grouped in a fieldset element.

Background

Assumptions

no known assumptions

Test properties

Property Value
Success Criterion 1.3.1 Info and Relationships
Test mode Automatic
Test environment DOM
Test subject Single web page

Test procedure

Selector

Test mode: automatic

Select any radio buttons and check boxes. The following CSS selector could be used:

input[type=radio], input[type=checkbox]

Step 1

Test mode: automatic

Outcome Passed
Testcase SC131-radiocheck
ID SC131-radiocheck-pass
Outcome Failed
Testcase SC131-radiocheck
Error failed to group elements in fieldset correctly
Info two radio button or check box input elements with the same name are not in the same fieldset
ID SC131-radiocheck-fail1
Outcome Failed
Testcase SC131-radiocheck
Error failed to group elements in fieldsets correctly
Info two radiobutton or checkbox input elements within the same fieldset don’t share the same name.
ID SC131-radiocheck-fail2