npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

a11y-pass

v0.3.0

Published

Static accessibility audit for code and design. WCAG 2.2 AA, severity-tiered, zero deps.

Readme

a11y-pass

a11y-pass

Static accessibility audit for code and design. Zero deps. Severity-tiered output. CI-friendly exit codes.

npm version test License: MIT

a11y-pass output

Install

As a Claude Code plugin

/plugin marketplace add incomparable-design/a11y-pass
/plugin install a11y-pass@incomparable-design

As a CLI

npx a11y-pass src/**/*.tsx

Or install globally:

npm install -g a11y-pass
a11y-pass src/**/*.tsx

By clone

git clone https://github.com/incomparable-design/a11y-pass
node a11y-pass/scripts/audit.mjs your-file.tsx

Run directly

node scripts/audit.mjs fixtures/bad.tsx
node scripts/audit.mjs fixtures/page.html --json
node scripts/audit.mjs "src/**/*.tsx"   # via shell glob expansion

a11y-pass --help lists all flags. Supports --json, --diff [base], --config <path>, --fix, --dry, --standard=AAA, --version.

Exit codes:

  • 0 — no blockers
  • 1 — at least one blocker (CI gate)
  • 2 — usage error

PR-aware CI

Audit only files changed against a git base:

a11y-pass --diff origin/main

Defaults to origin/main if base omitted. Returns non-zero on blockers, suitable for pull_request workflows.

As a Claude skill

SKILL.md defines invocation rules. Drop the dir into .claude/skills/a11y-pass/ of any project. Claude loads it when user mentions a11y / accessibility / WCAG, runs the script, formats output, and offers fixes via Edit tool.

Rules (19)

| ID | Severity | WCAG | |----|----------|------| | img-alt | blocker | 1.1.1 | | btn-name | blocker | 4.1.2 | | link-name | blocker | 2.4.4 | | color-contrast | blocker | 1.4.3 (AA) / 1.4.6 (AAA) | | link-text | serious | 2.4.4 | | iframe-title | serious | 4.1.2, 2.4.1 | | empty-heading | serious | 1.3.1, 2.4.6 | | interactive-role | serious | 4.1.2 | | label-missing | serious | 1.3.1, 3.3.2 | | heading-skip | serious | 1.3.1, 2.4.6 | | outline-none | serious | 2.4.7 | | focus-visible-removed | serious | 2.4.7 | | duplicate-id | serious | 4.1.1 | | role-invalid | serious | 4.1.2 | | redundant-aria | moderate | 4.1.2 | | autoplay | moderate | 1.4.2 | | target-size | moderate | 2.5.8 | | table-caption | advisory | 1.3.1 | | lang-attr | advisory | 3.1.1 |

See SKILL.md for invocation flow + fix policy.

Config

.claude/a11y.config.json:

{
  "standard": "AA",
  "ignore": ["target-size"],
  "severityOverrides": { "lang-attr": "moderate" }
}

Fixtures

  • fixtures/bad.tsx — every rule fires
  • fixtures/good.tsx — passes clean
  • fixtures/page.html — plain HTML violations

Known limits

  • Regex-based JSX parsing — no AST. Misses nested same-tag bodies and dynamic strings.
  • Color contrast covers the full default Tailwind v4 palette, inline style colors, and statically-resolvable className values (string literals and template literals without ${} interpolation). Ternary expressions and other dynamic forms are skipped.
  • No runtime DOM checks. Pair with axe-core/Playwright for URL targets.
  • Does not trace aria-labelledby IDs across files.

Roadmap

  • AST parser to widen color contrast and label association coverage.
  • Component-aware checks (e.g. design system <Button> → native button rules).
  • Cross-file aria-labelledby ID resolution.