SC3-2-2-form-submit

From Automated WCAG Monitoring Community Group
Jump to: navigation, search

This test belongs to 3.2.2 On Input.

Status

Version For review


Description

This test checks that forms with submit button initiate a change of context only when submit is used. Any other behavior must be explained to the user at the beginning of the form.

Background

Assumptions

Test properties

Property Possible values
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
User profile

Test procedure

Selector

Test mode: earl:automatic

Select form element with submit button (input[@type='submit'] or input[@type='image'] or button[@type='submit']).

Step 1

Test mode: earl:manual


User input question

Item presented to the user: selected form including all form controls

Question: Fill in the form. Does any of the form controls cause a change of context when its value is changed?

Answer options: "yes/no"

Help text: Changing a control means checking a checkbox, entering text into a text field, or changing the selected option in a list control or set of radio buttons. Examples for change of context are: Opening a new window, moving focus to a different component, going to a new page (including anything that would look to a user as if they had moved to a new page) or significantly re-arranging the content of a page are examples of changes of context.

Repair suggestion: none

Properties of the test step:

  • context-sensitive = no
  • user interaction (with the web content) required = yes


if no, return

Property Value
TestCase SC3-2-2-form-submit
Identifier SC3-2-2-form-submit-pass1
Outcome passed
Pointer position
Info


else continue with #Step 2

Step 2

Test mode: earl:manual

User input question

Item presented to the user: (same as in Step 1)

Question: Is there an explanation of the change of context before the form?

Answer options: "yes/no"

Help text: If the web page contains an explanation what will happen when the control is changed before the form, please answer "yes". Else, answer "no".

Repair suggestion: none

Properties of the test step:

  • context-sensitive = yes
  • user interaction (with the web content) required = no


If no, return

Property Value
TestCase SC3-2-2-form-submit
Identifier SC3-2-2-form-no-submit-fail1
Outcome failed
ErrorMessage Explanation about context change missing.
Pointer position
Info


Else, return

Property Value
TestCase SC3-2-2-form-submit
Identifier SC3-2-2-form-no-submit-pass2
Outcome passed
Pointer position
Info