šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
DemoInstallSign in
Socket

axe-html-reporter

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axe-html-reporter

The module that allows you to create HTML Report from raw accessibility aXe result object

2.2.11
latest
Source
npm
Version published
Weekly downloads
598K
-0.04%
Maintainers
1
Weekly downloads
Ā 
Created

What is axe-html-reporter?

The axe-html-reporter npm package is used to generate HTML reports from accessibility test results produced by the axe-core library. It helps in visualizing the accessibility issues found during testing in a user-friendly HTML format.

What are axe-html-reporter's main functionalities?

Generate HTML Report

This feature allows you to generate an HTML report from the results of an accessibility test run using axe-core. The `createHtmlReport` function takes the results object and options for the output directory and report file name, and generates an HTML file.

const { createHtmlReport } = require('axe-html-reporter');
const fs = require('fs');

const results = { /* axe-core results object */ };

createHtmlReport({
  results,
  options: {
    outputDir: 'reports',
    reportFileName: 'accessibility-report.html'
  }
}).then(() => {
  console.log('Report generated successfully');
}).catch(err => {
  console.error('Error generating report:', err);
});

Other packages similar to axe-html-reporter

Keywords

axe

FAQs

Package last updated on 05 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts