Skip to content

Commit d7debb9

Browse files
committed
Enhance WCAG report formatting to include node details and failure summaries
1 parent 31b0428 commit d7debb9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,10 @@ jobs:
115115
.[] as $page |
116116
if ($page.violations | length) == 0 then "Geen WCAG-fouten gevonden."
117117
else
118-
$page.violations[]
119-
| "[\(.impact // "unknown")] \(.id) - \(.description) (\(.helpUrl))"
118+
$page.violations[] |
119+
"[\(.impact // "unknown")] \(.id) - \(.description) (\(.helpUrl))",
120+
(.nodes[]? | " - \(.target | join(\", \"))\n \(.failureSummary // \"\")"),
121+
""
120122
end
121123
' $CHECK_DIR/axe-report.json | tee $CHECK_DIR/wcag-report.txt
122124
else

0 commit comments

Comments
 (0)