Skip to content

Commit

Permalink
ACT errors with scIds (#2193)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombrunet authored Feb 10, 2025
1 parent 18c543a commit 8329365
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions accessibility-checker-engine/src/v4/sc-urls.json
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@
"HTML": {
"num": "HTML",
"url": "https://html.spec.whatwg.org/multipage/",
"scId": [],
"scId": "",
"scAltId": [],
"test": "",
"howToMeetUrl": "https://html.spec.whatwg.org/multipage/",
Expand All @@ -1058,7 +1058,7 @@
"ARIA": {
"num": "ARIA",
"url": "https://www.w3.org/TR/wai-aria-1.2/",
"scId": [],
"scId": "",
"scAltId": [],
"test": "",
"howToMeetUrl": "https://www.w3.org/TR/wai-aria-1.2/",
Expand Down
2 changes: 1 addition & 1 deletion accessibility-checker/test-act-w3/act.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function getAssertion(ruleId, aceRules, result) {
&& (!rule.reasonCodes || rule.reasonCodes.filter(code => aceRule.reasonIds.includes(code)))
)).length > 0
// Replace with the scId
)).map(cp => cp.scId));
)).map(cp => cp.scId).filter(scId => scId.length > 0));
}
}
return {
Expand Down

0 comments on commit 8329365

Please sign in to comment.