axe-html
html string in, axe-core results out.
install
npm install --save-dev axe-html
usage
import { analyze } from "axe-html";
const axeResults = await analyze("<img src='abc.png' />", options);
See the typescript typings for more.
html string in, axe-core results out.
npm install --save-dev axe-html
import { analyze } from "axe-html";
const axeResults = await analyze("<img src='abc.png' />", options);
See the typescript typings for more.
npm i axe-html
1
1.0.1
ISC
4.57 kB
8