Skip to content
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

Jym77 Mar 2, 2022
Maintainer

@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