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

a11y-blame

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a11y-blame

0.2.2
latest
npm
Version published
Maintainers
1
Created
Source

A11Y Blame

  • Find out the specific commit and line number that introduced an accessibility failure into a git repo.

A11y Blame outputs the author and link to the commit and line where an accessibility error is added.

Usage

GITHUB_TOKEN=<...> npx a11y-blame <owner>/<repo>

GitHub Enterprise

BASE_URL=https://git.example.com/api/v3 GITHUB_TOKEN=<...> npx a11y-blame <owner>/<repo>

Example

% npx a11y-blame dequelabs/axe-core

Outputs:

Reviewing 1914 files for /\.(html|hbs|erb|liquid)$/ templates.
Scanning doc/examples/qunit/test/test.html
Scanning test/integration/full/aria-hidden-body/fail.html
Scanning test/integration/full/aria-hidden-body/frames/frame-hidden-body.html
https://github.com/dequelabs/axe-core/blob/f2f15377c917d0b6fc27d2181f64ebef26e5a9b0/doc/examples/qunit/test/test.html#L26-L26 straker Form elements must have labels

FAQs

Package last updated on 02 Aug 2021

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