Open Zack24441 opened 3 years ago
Some problem with axe engine it seems. For now use htmlcs
instead.
const { evaluate } = require('aatt');
const fs = require('fs');
evaluate({
source: "<html xml:lang='en-gb'><head><title>Foo</title></head><body><p>Bar</p></body></html>",
output: "json",
engine: "htmlcs",
level: "WCAG2A"
}).then(result => {
console.log('Results', result);
fs.writeFile('./aatt-report.html', result,{}, (err)=>{
if (err) throw err;
});
});
Hi,
I tried to use aatt node module like below:
testPage is object Page from Playwright framework.
Current results for each engine:
Could please tell what is wrong?
Versions: "playwright": "^1.12.3", "aatt": "^1.0.1",
Thanks!