Use Reporter CLI with Mobile Analyzer

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data

You can quickly assess your app's accessibility with axe DevTools Mobile Analyzer and find results from scans on the Mobile Dashboard. Use axe DevTools Reporter CLI to create portable accessibility reports you can share with everyone on your team, even those without an axe DevTools Mobile license.

Select Scans to Create Reports

From the Mobile Dashboard, you can select one or more scans and then export them in "Mobile JSON" format.

When you are ready to create an HTML report, ensure all the relevant scan results are in a shared directory. Open a terminal window and navigate to the directory where you saved the axe Reporter CLI executable.

For example - if the executable is in your 'Downloads' folder, enter the following in the terminal:

cd Downloads

Now, run the following command:

./reporter-cli-<your-system> <devtools-results-directory> <output-directory> --format=html

Note: For Windows, the command is formatted without the relative path ('./'), as reporter-cli-win.

Providing an output directory is optional, and if not included, the reports will be stored in ./axe-devtools-reporter.

The output directory will be populated with reports corresponding to each JSON results file, as well as an executive report. File names for individual reports are derived from the scan name and the scan's analysis timestamp. ${scanName}-axe-result-${timestamp}.html

What's Next?

Once you have built your reports, you can immediately view and share them with your team.

In addition to creating HTML reports, you can also export the data as XML/JUnit or CSV for local testing.

HTML:

./reporter-cli-<your-system> <devtools-results-directory> <output-directory> --format=html

XML/JUnit:

./reporter-cli-<your-system> <devtools-results-directory> <output-directory> --format=junit

CSV:

./reporter-cli-<your-system> <devtools-results-directory> <output-directory> --format=csv