Sc3 2 2 Input Select
Please note, this is a draft
Description
This test checks form controls outside form elements.
Background
- G13: Describing what will happen before a change to a form control that causes a change of context to occur is made
- H84: Using a button with a select element to perform an action
- eGovMon test for G13
Assumptions
- This test case assumes that forms controls outside
<form>
elements use another way to submit the form data.
Test properties
Property | Value |
---|---|
Success Criterion | 3.2.2 On Input |
Test mode | SemiAuto |
Test environment | DOM (+ server connection ???) |
Test subject | Single web page |
User expertise and skills | Basic understanding of HTML and WCAG |
Test procedure
Selector
Test mode: automatic
Select input[@type='radio']
, input[@type='checkbox']
, or select not contained in a form element.
Step 1
Test mode: automatic
Does the form control have a non-empty event-handler attribute?
If no, return
Outcome | Passed |
---|---|
Testcase | SC3-2-2-input-select |
ID | SC3-2-2-input-select-pass1 |
If yes, continue with Step 2.
Step 2
Test mode: manual
User Input Question:
Property | Value |
---|---|
Presented item | selected form controls |
Requires context | yes |
Requires Interaction | no |
Question | Is there an explanation of what will happen when the control is changed available prior to the controls activation? |
Help | Changing a control means checking a checkbox or changing the selected option in a list control. If the web page contains an explanation what will happen when a control is changed before the form, please answer “yes”. Else, answer “no”. |
If no, return
Outcome | Failed |
---|---|
Testcase | SC3-2-2-input-select |
ID | SC3-2-2-form-input-select-fail1 |
Error | Explanation about context change missing. |
Else, return
Outcome | Passed |
---|---|
Testcase | SC3-2-2-input-select |
ID | SC3-2-2-input-select-pass2 |