Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

Version published
Weekly downloads
355K
decreased by-7.84%
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc