Skip to content

Importing Siteimprove alfa generated EARL to WAI WCAG-EM Report tool fails #990

Answered by Jym77
BogdanCerovac asked this question in Questions
Discussion options

You must be logged in to vote

Looking more into it, it seems the subject has to be added manually.
The reason is that the individual outcomes (or rules) don't really know about the test subject, only the full audit knows the test subject (the page).

When I'm calling the CLI on one of ACT rules examples (node .\packages\alfa-cli\bin\alfa audit -f earl -o report.json --outcome passed https://act-rules.github.io/testcases/ff89c9/39c0a2b75b4795e2e3ebb46520c926c6e01c90bd.html), I get the following EARL bit:

{
    "@context": {
      "earl": "http://www.w3.org/ns/earl#"
    },
    "@type": "earl:Assertion",
    "earl:test": {
      "@id": "https://alfa.siteimprove.com/rules/sia-r16"
    },
    "earl:result": {
      "@type": "

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@BogdanCerovac
Comment options

Comment options

You must be logged in to vote
6 replies
@mgifford
Comment options

@Jym77
Comment options

@BogdanCerovac
Comment options

@Jym77
Comment options

@BogdanCerovac
Comment options

Answer selected by BogdanCerovac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants