-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixrule(meta_refresh_delay | meta_redirect_optional) Fix the rules to…
… align with ACT V4 (#2168) * Bump path-to-regexp and express in /rule-server (#2128) Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 0.1.12 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together. Updates `path-to-regexp` from 0.1.10 to 0.1.12 - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](pillarjs/path-to-regexp@v0.1.10...v0.1.12) Updates `express` from 4.21.0 to 4.21.2 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md) - [Commits](expressjs/express@4.21.0...4.21.2) --- updated-dependencies: - dependency-name: path-to-regexp dependency-type: indirect - dependency-name: express dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Brunet <[email protected]> * fix dark mode react portal pop-up (#2138) * fix(extension):Fix reset filter link #1877 (#2136) * reset filter fix * css fix --------- Co-authored-by: Tom Brunet <[email protected]> * fix(extension): Don't show full data:text/html content on generated HTML report page (#2140) * truncating url * remove unused import * Adjust tooltip location --------- Co-authored-by: Tom Brunet <[email protected]> * chore(extension): carbon package update and use new carbon combobutton #1842 (#2137) * carbon package update and use new carbon combobutton * alignment fix --------- Co-authored-by: Tom Brunet <[email protected]> * Update the rules and test cases * update the baselines --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Brunet <[email protected]> Co-authored-by: Namrata Singh <[email protected]>
- Loading branch information
1 parent
981a467
commit a5559ab
Showing
37 changed files
with
938 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...ngine/test/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/act-fail-1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="refresh" content="30" /> | ||
</head> | ||
<body data-new-gr-c-s-check-loaded="14.1192.0" data-gr-ext-installed=""> | ||
<img src="/WAI/content-assets/wcag-act-rules/test-assets/shared/w3c-logo.png" alt="" aria-labelledby="label"> <span hidden="" id="label">W3C logo</span> | ||
|
||
<script> | ||
UnitTest = { | ||
ruleIds: ["meta_redirect_optional"], | ||
results: [ | ||
{ | ||
"ruleId": "meta_redirect_optional", | ||
"value": [ | ||
"INFORMATION", | ||
"FAIL" | ||
], | ||
"path": { | ||
"dom": "/html[1]/head[1]/meta[1]", | ||
"aria": "/document[1]" | ||
}, | ||
"reasonId": "fail", | ||
"message": "Check page does not automatically refresh without warning or options", | ||
"messageArgs": [], | ||
"apiArgs": [], | ||
"category": "Accessibility" | ||
} | ||
] | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
34 changes: 34 additions & 0 deletions
34
...ngine/test/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/act-fail-2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="refresh" content="72001; URL='https://w3.org'" /> | ||
</head> | ||
<body data-new-gr-c-s-check-loaded="14.1192.0" data-gr-ext-installed=""> | ||
<img src="/WAI/content-assets/wcag-act-rules/test-assets/shared/w3c-logo.png" alt="" aria-labelledby="label"> <span hidden="" id="label">W3C logo</span> | ||
|
||
<script> | ||
UnitTest = { | ||
ruleIds: ["meta_redirect_optional"], | ||
results: [ | ||
{ | ||
"ruleId": "meta_redirect_optional", | ||
"value": [ | ||
"INFORMATION", | ||
"FAIL" | ||
], | ||
"path": { | ||
"dom": "/html[1]/head[1]/meta[1]", | ||
"aria": "/document[1]" | ||
}, | ||
"reasonId": "fail_longrefresh", | ||
"message": "Check page does not automatically refresh without warning or options", | ||
"messageArgs": [], | ||
"apiArgs": [], | ||
"category": "Accessibility" | ||
} | ||
] | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
35 changes: 35 additions & 0 deletions
35
...ngine/test/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/act-fail-3.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="refresh" content="0: https://w3.org" /> | ||
<meta http-equiv="refresh" content="72001; https://w3.org" /> | ||
</head> | ||
<body data-new-gr-c-s-check-loaded="14.1192.0" data-gr-ext-installed=""> | ||
<img src="/WAI/content-assets/wcag-act-rules/test-assets/shared/w3c-logo.png" alt="" aria-labelledby="label"> <span hidden="" id="label">W3C logo</span> | ||
|
||
<script> | ||
UnitTest = { | ||
ruleIds: ["meta_redirect_optional"], | ||
results: [ | ||
{ | ||
"ruleId": "meta_redirect_optional", | ||
"value": [ | ||
"INFORMATION", | ||
"FAIL" | ||
], | ||
"path": { | ||
"dom": "/html[1]/head[1]/meta[2]", | ||
"aria": "/document[1]" | ||
}, | ||
"reasonId": "fail_longrefresh", | ||
"message": "Check page does not automatically refresh without warning or options", | ||
"messageArgs": [], | ||
"apiArgs": [], | ||
"category": "Accessibility" | ||
} | ||
] | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
19 changes: 19 additions & 0 deletions
19
...t/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/act-inappplicable-1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="refresh" /> | ||
</head> | ||
<body data-new-gr-c-s-check-loaded="14.1192.0" data-gr-ext-installed=""> | ||
<img src="/WAI/content-assets/wcag-act-rules/test-assets/shared/w3c-logo.png" alt="" aria-labelledby="label"> <span hidden="" id="label">W3C logo</span> | ||
|
||
<script> | ||
UnitTest = { | ||
ruleIds: ["meta_redirect_optional"], | ||
results: [ | ||
|
||
] | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
19 changes: 19 additions & 0 deletions
19
...t/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/act-inappplicable-2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta content="72001" /> | ||
</head> | ||
<body data-new-gr-c-s-check-loaded="14.1192.0" data-gr-ext-installed=""> | ||
<img src="/WAI/content-assets/wcag-act-rules/test-assets/shared/w3c-logo.png" alt="" aria-labelledby="label"> <span hidden="" id="label">W3C logo</span> | ||
|
||
<script> | ||
UnitTest = { | ||
ruleIds: ["meta_redirect_optional"], | ||
results: [ | ||
|
||
] | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
19 changes: 19 additions & 0 deletions
19
...t/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/act-inappplicable-3.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="refresh" content="0: http://example.com" /> | ||
</head> | ||
<body data-new-gr-c-s-check-loaded="14.1192.0" data-gr-ext-installed=""> | ||
<img src="/WAI/content-assets/wcag-act-rules/test-assets/shared/w3c-logo.png" alt="" aria-labelledby="label"> <span hidden="" id="label">W3C logo</span> | ||
|
||
<script> | ||
UnitTest = { | ||
ruleIds: ["meta_redirect_optional"], | ||
results: [ | ||
|
||
] | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
19 changes: 19 additions & 0 deletions
19
...t/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/act-inappplicable-4.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="refresh" content="-00.12 foo" /> | ||
</head> | ||
<body data-new-gr-c-s-check-loaded="14.1192.0" data-gr-ext-installed=""> | ||
<img src="/WAI/content-assets/wcag-act-rules/test-assets/shared/w3c-logo.png" alt="" aria-labelledby="label"> <span hidden="" id="label">W3C logo</span> | ||
|
||
<script> | ||
UnitTest = { | ||
ruleIds: ["meta_redirect_optional"], | ||
results: [ | ||
|
||
] | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
19 changes: 19 additions & 0 deletions
19
...t/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/act-inappplicable-5.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="refresh" content="; 72001" /> | ||
</head> | ||
<body data-new-gr-c-s-check-loaded="14.1192.0" data-gr-ext-installed=""> | ||
<img src="/WAI/content-assets/wcag-act-rules/test-assets/shared/w3c-logo.png" alt="" aria-labelledby="label"> <span hidden="" id="label">W3C logo</span> | ||
|
||
<script> | ||
UnitTest = { | ||
ruleIds: ["meta_redirect_optional"], | ||
results: [ | ||
|
||
] | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
19 changes: 19 additions & 0 deletions
19
...t/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/act-inappplicable-6.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="refresh" content="" /> | ||
</head> | ||
<body data-new-gr-c-s-check-loaded="14.1192.0" data-gr-ext-installed=""> | ||
<img src="/WAI/content-assets/wcag-act-rules/test-assets/shared/w3c-logo.png" alt="" aria-labelledby="label"> <span hidden="" id="label">W3C logo</span> | ||
|
||
<script> | ||
UnitTest = { | ||
ruleIds: ["meta_redirect_optional"], | ||
results: [ | ||
|
||
] | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.