Warning:
This wiki has been archived and is now read-only.

SC2-2-1-meta-refresh-redirect

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

Status

Draft


Description

This test checks that there are no meta elements that redirect the user after some time has passed.

Background

Assumptions

This test assumes that the developer of the page didn't create a mechanism to stop or delay the redirect.

Test properties

Property Possible values
Success Criterion 2.2.1 Timing Adjustable
Test mode automatic
Test environment rendered page
Test subject single web page

Test procedure

Selector

Test mode: earl:automatic


Select any meta elements with the http-equiv attribute containing the "refresh" value. The following CSS selector could be used: meta[http-equiv=refresh]

Step 1

Test mode: earl:automatic


  • If the content attribute has a value higher than 0 but lower than 72000
    • Return SC221-Meta-refresh-redirectfail
Property Value
TestCase SC221-Meta-refresh-redirect
Identifier SC221-Meta-refresh-redirectfail
Outcome failed
ErrorMessage Meta element should not be used to non-instantly redirect user.
Pointer position
Info


  • Else
    • Return SC221-Meta-refresh-redirectpass
Property Value
TestCase SC221-Meta-refresh-redirect
Identifier SC221-Meta-refresh-redirectpass
Outcome passed
Pointer position
Info