-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SC2-2-1+SC3-2-5-meta-refresh #91
Comments
Parsing the number needs to be more specific I think. The HTML 5 spec is pretty lax about what is allowed. e.g. |
Agreed. We maybe should have this point to the parser in the HTML spec. I think this needs a few more test cases:
|
@jribbens: We have tried to factor in your comment into the Expectation, but with the new ACT Rules Format, the Expectations have to be written in plain (though unambiguous) language. I hope we succeeded here. Your example has been added as a test case. @WilcoFiers: Test cases updated with your suggestions. |
@annethyme My example was an example of a fail, not a pass, and it didn't contain a comma. The expectation should probably not be mentioning commas or semicolons as they are not relevant (even your own example of |
@jribbens This |
Pull request created: #111 |
name: Meta-refresh no delay
description: |
This rule checks that the meta element is not used for delayed redirecting or refreshing.
success_criterion:
test_aspects:
authors:
Test procedure
Applicability
The rule applies to any
content
attribute in ameta
element that contains thehttp-equiv
attribute with value"refresh"
(case-insensitive).Expectation
The value before the first semicolon or comma (representing seconds) of the value of the
content
attribute is not a number greater than 0.Note: Semi-colon or comma is optional in the
content
attribute. When none is present, the value of the attribute should be considered as a whole. See meta-refresh for parsing instructions.Assumptions
Accessibility Support
There are no major accessibility support issues known for this rule.
Background
Test Cases
Passed
Failed
Inapplicable
The text was updated successfully, but these errors were encountered: