Warning:
This wiki has been archived and is now read-only.
SC2-2-2-marquee-used
From Automated WCAG Monitoring Community Group
Status
Draft
Contents
Description
This test checks that the marquee element is not used to move text without a mechanism to pause and restart the movement.
Background
Assumptions
This test assumes that the movement is not essential.
Test properties
| Property | Possible values |
|---|---|
| Success Criterion | 2.2.2 Pause, Stop, Hide |
| Test mode | Semi-auto |
| Test environment | rendered page |
| Test subject | single web page |
Test procedure
Selector
Test mode:
earl:automatic
Select any marquee elements.
Step 1
Test mode:
earl:manual
Present the page to the user, highlight the content within the marquee element.
- Question: Is there a mechanism that can stop the movement of the highlighted content?
- If no
- Return SC222-marquee-used-fail1
| Property | Value |
|---|---|
| TestCase | SC222-marquee-used |
| Identifier | SC222-marquee-used-fail1 |
| Outcome | failed |
| ErrorMessage | No mechanism to stop marquee movement is present. |
| Pointer | position |
| Info |
Step 2
Test mode:
earl:manual- Question: Does the movement of the highlighted content restart by itself?
- If yes
- Return SC222-marquee-used-fail2
| Property | Value |
|---|---|
| TestCase | SC222-marquee-used |
| Identifier | SC222-marquee-used-fail2 |
| Outcome | failed |
| ErrorMessage | The movements of the marquee content restart by itself. |
| Pointer | position |
| Info |
Step 3
Test mode:
earl:manual- Question: Is there a mechanism that can restart the movement of the highlighted content?
- If no
- Return SC222-marquee-used-fail3
| Property | Value |
|---|---|
| TestCase | SC222-marquee-used |
| Identifier | SC222-marquee-used-fail3 |
| Outcome | failed |
| ErrorMessage | No mechanism to restart marquee movement is present. |
| Pointer | position |
| Info |
Step 4
Test mode:
earl:manual- Question: Does restarting the movement of the highlighted content resume it from the point that it stopped?
- If no
- Return SC222-marquee-used-fail4
| Property | Value |
|---|---|
| TestCase | SC222-marquee-used |
| Identifier | SC222-marquee-used-fail4 |
| Outcome | failed |
| ErrorMessage | Marquee movement doesn't restart from the point that it stopped. |
| Pointer | position |
| Info |
- Else
- Return SC222-marquee-used-pass
| Property | Value |
|---|---|
| TestCase | SC222-marquee-used |
| Identifier | SC222-marquee-used-pass |
| Outcome | passed |
| Pointer | position |
| Info |