We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I tried to use aatt node module like below:
const content = await testPage.content(); const result = await evaluate({ source: content, output: "html", engine: "axe", level: "WCAG2A" }); await fs.writeFile('./aatt-report.html', result,{}, (err)=>{ if (err) throw err; });
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!
The text was updated successfully, but these errors were encountered:
Some problem with axe engine it seems. For now use htmlcs instead.
htmlcs
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; }); });
Sorry, something went wrong.
No branches or pull requests
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!
The text was updated successfully, but these errors were encountered: