Once you've installed axe DevTools HTML, you need to import it into your testing setup and initialize the package.
To import the browser package, use a statement like this
import axeDevTools from '@axe-devtools/browser';
Once you've imported the browser package, you can initialize it with a statement like this:
Once you've installed, imported, and initialized axe DevTools, you're ready to move on to scanning for accessibility and writing accessibility tests. To do that, see the guide on writing tests.