Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@daniel.husar/a11y-static-report
Advanced tools
Run accessibility report on static pages via axe-core
It starts the static webserver and look up for all html
files inside of it. From the html files we generate routes and use them as input for a11y-report.
yarn add --dev @daniel.husar/a11y-static-report
or
npm install --dev @daniel.husar/a11y-static-report
import a11yStaticReport from '@daniel.husar/a11y-static-report';
(async () => {
await a11yStaticReport({
folder: 'public',
});
})();
Prints accessibility report with logger function and returns promise that resolves for not errors or reject if there is any error.
Property | Type | Default | Description |
---|---|---|---|
port | number | 9001 | Port on which static server will start. |
folder | string | public | Folder with static files to serve. |
excludeFiles | array<string∣RegExp> | [] | Array of files to ignore. Could be string or RegExp. Example ['blog/index.html', /^de\/blog/] |
debug | boolean | false | Prints debug messages. |
Every other option that you pass, will be forwarded into a11y-report.
yarn add --dev @daniel.husar/a11y-static-report
yarn a11y-static-report --folder=out
For more complex config options you can use .a11yrc
file in the root of your project:
.a11yrc
module.exports = {
port: 9001,
folder: 'out',
reporter: 'simple'
}
MIT
FAQs
Accessibility report via axe for static pages
The npm package @daniel.husar/a11y-static-report receives a total of 1 weekly downloads. As such, @daniel.husar/a11y-static-report popularity was classified as not popular.
We found that @daniel.husar/a11y-static-report demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.