![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@axe-core/reporter-earl
Advanced tools
This project is a reporter for axe-core. When used as part of an axe-core run, it will produce results using the Evaluation And Reporting Language (EARL) 1.0. The reporter uses JSON-LD to serialise the RDF data.
Previous versions of this program were maintained at dequelabs/axe-reporter-earl.
To install Axe-reporter-earl, with NPM, run:
npm install @axe-core/reporter-earl
The EARL reporter can be passed to axe, either as part of configuration or as part of the run:
CommonJS Require Syntax:
const reporter = require('@axe-core/reporter-earl').default;
// Define the reporter through axe.configure
axe.configure({ reporter });
axe.run().then(earlResults => console.log(earlResults));
const reporter = require('@axe-core/reporter-earl').default;
// Use the reporter in a single axe.run call
axe.run({ reporter }).then(earlResults => console.log(earlResults));
ES6 Import Syntax:
import reporter from '@axe-core/reporter-earl';
// Define the reporter through axe.configure
axe.configure({ reporter });
axe.run().then(earlResults => console.log(earlResults));
import reporter from '@axe-core/reporter-earl';
// Use the reporter in a single axe.run call
axe.run({ reporter }).then(earlResults => console.log(earlResults));
The repoter format should look something like this:
{
"@context": {
"@vocab": "http://www.w3.org/ns/earl#",
"earl": "http://www.w3.org/ns/earl#",
"WCAG20": "http://www.w3.org/TR/WCAG20/#",
"WCAG21": "http://www.w3.org/TR/WCAG21/#",
"auto-wcag": "https://auto-wcag.github.io/auto-wcag/rules/",
"dct": "http://purl.org/dc/terms#",
"sch": "https://schema.org/",
"doap": "http://usefulinc.com/ns/doap#",
"foaf": "http://xmlns.com/foaf/spec/#",
"WebPage": "sch:WebPage",
"url": "dct:source",
"assertions": {
"@reverse": "subject"
},
"assertedBy": {
"@type": "@id"
},
"outcome": {
"@type": "@id"
},
"mode": {
"@type": "@id"
},
"pointer": {
"@type": "ptr:CSSSelectorPointer"
}
},
"@type": "WebPage",
"url": "http://localhost/",
"assertions": [
{
"assertedBy": {
"@id": "https://github.com/dequelabs/axe-core/releases/tag/3.1.2",
"@type": ["earl:Assertor", "earl:Software", "doap:Project"],
"doap:name": "Axe",
"doap:vendor": {
"@id": "https://deque.com/",
"@type": "foaf:Organization",
"foaf:name": "Deque Systems"
}
},
"test": {
"@type": "TestCase",
"@id": "https://dequeuniversity.com/rules/axe/3.1/foo"
},
"result": {
"@type": "TestResult",
"outcome": "earl:inapplicable"
},
"@type": "Assertion",
"mode": "earl:automatic"
},
{
"assertedBy": {
"@id": "https://github.com/dequelabs/axe-core/releases/tag/3.1.2",
"@type": ["earl:Assertor", "earl:Software", "doap:Project"],
"doap:name": "Axe",
"doap:vendor": {
"@id": "https://deque.com/",
"@type": "foaf:Organization",
"foaf:name": "Deque Systems"
}
},
"test": {
"@type": "TestCase",
"@id": "https://dequeuniversity.com/rules/axe/3.1/bar"
},
"result": {
"@type": "TestResult",
"info": "Ensures role attribute has an appropriate value for the element",
"outcome": "earl:undefined",
"pointer": "#foo"
},
"@type": "Assertion",
"mode": "earl:automatic"
}
]
}
FAQs
A EARL+JSON-LD reporter for axe-core
The npm package @axe-core/reporter-earl receives a total of 33 weekly downloads. As such, @axe-core/reporter-earl popularity was classified as not popular.
We found that @axe-core/reporter-earl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.