
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
pa11y-ci-reporter-html
Advanced tools
Pa11y-ci reporter that generates HTML reports - summary report and detailed reports for each page
Pa11y CI HTML Reporter generates HTML-formatted report files for Pa11y CI results.
Pa11y CI HTML Reporter generates the following HTML report files:
index.html
file displaying summary results for all analyzed URLs, with
links to each URL report (if applicable). If Pa11y CI generates an error when
analyzing the page (for example timeout, DNS lookup), the error is displayed
instead of the summary.pa11y-reporter-html-plus
reporter, with file names generated from the URL. By default, these report
files are only generated for pages with Pa11y issues, but there is a
configuration option that can be used to override this and include reports
for all pages (see below).A report from Pa11y CI analysis of several pages from the W3C accessibility demo site can be seen in this example.
Install Pa11y CI HTML Reporter via npm.
npm install pa11y-ci-reporter-html
Note: pa11y-ci
and pa11y-ci-reporter-html
must either both be installed
globally or both be installed locally. Using a mixed configuration can result
in the reporter not being found.
Pa11y CI HTML Reporter is a Pa11y CI compatible reporter. As with all reporters, it can be specified via the CLI or a Pa11y CI configuration file. Complete details on using reporters can be found in the Pa11y CI documentation.
The reporter can be used with Pa11y CI via the CLI as follows:
pa11y-ci --reporter=pa11y-ci-reporter-html https://pa11y.org/
When specified via the CLI:
You can specify reporters in a Pa11y CI configuration file in the
defaults.reporters
property (an array).
{
"defaults": {
"reporters": ["pa11y-ci-reporter-html"]
},
"urls": ["https://pa11y.org/"]
}
The reporter can also be used with two optional configuration options:
destination
: A string specifying the directory for saving HTML report files
(default: "./pa11y-ci-report"). Relative paths are resolved from the current
working directory. The directory is created if it doesn't exist.includeZeroIssues
: A Boolean value indicating whether to include detailed
page reports for pages with no Pa11y issues (default: false)In this case the reporter is specified as an array, with the first element a string with the reporter name and the second element an object with the configuration options.
{
"defaults": {
"reporters": [
[
"pa11y-ci-reporter-html",
{ "destination": "./reports", "includeZeroIssues": true }
]
]
},
"urls": ["https://pa11y.org/"]
}
Multiple reporters can also be used as shown below:
{
"defaults": {
"reporters": [
"cli",
["pa11y-ci-reporter-html", { "destination": "./reports" }]
]
},
"urls": ["https://pa11y.org/"]
}
FAQs
Pa11y-ci reporter that generates HTML reports - summary report and detailed reports for each page
We found that pa11y-ci-reporter-html demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.