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

claude-a11y

v1.1.0

Published

Screen-reader-friendly formatting for AI chat responses. CLI wrapper for Claude Code and VS Code extension with ARIA landmarks, code block announcements, and structural annotations.

Readme

claude-a11y

Screen reader formatting for AI chat responses.

Transforms Markdown output from AI assistants into text that screen readers can announce clearly. Code blocks, tables, headings, and formatting markers are replaced with structured announcements.

Install

As a CLI wrapper for Claude Code:

npm install -g claude-a11y
claude-sr

As a library:

npm install claude-a11y

As a VS Code/Cursor extension: install "Accessible AI Chat" from the VS Code Marketplace, or download the .vsix from GitHub Releases.

What it does

Without formatting, a screen reader announces a Python code block as "backtick backtick backtick python print open paren hello close paren backtick backtick backtick."

With claude-a11y, it becomes "[Python] print hello [End Python]."

Specific transformations:

  1. Code blocks: language announced before and after the block
  2. Tables: column count and headers announced, rows labeled
  3. Headings, subheadings, quotes: announced with clear markers
  4. Bullet points: "Bullet:" prefix instead of asterisk or dash
  5. Separators: "[Separator]" instead of three dashes
  6. Strikethrough: "[Strikethrough]" and "[End Strikethrough]" markers
  7. Images: alt text announced, or "[Image]" if none

CLI usage

Run Claude Code with screen reader formatting:

claude-sr

The wrapper spawns Claude Code as a subprocess, strips ANSI escape codes and spinner animations, formats Markdown responses, and sends clean text to stdout. It announces "Still working..." during long responses so you know the process has not frozen.

Library usage

In TypeScript or JavaScript:

import { formatForSpeech, sanitize } from "claude-a11y";

const raw = "## Hello\n\n```python\nprint('hi')\n```";
const accessible = formatForSpeech(raw);
// "[Subheading] Hello\n[Python]\nprint('hi')\n[End Python]"

const ansiGarbage = "\x1b[32mgreen text\x1b[0m";
const clean = sanitize(ansiGarbage);
// "green text"

VS Code extension

When installed in VS Code or Cursor:

  • The @accessible chat participant formats responses from Copilot Chat
  • Screen reader detection auto-enables formatting
  • Three verbosity levels: minimal, normal, detailed
  • Cursor workbench patching injects accessibility into the Cursor chat panel

Verbosity levels

  • Minimal: code block markers only, no heading or table annotations
  • Default: all structural markers
  • Verbose: full detail including image descriptions and row counts

Links

  • Source: https://github.com/JacquelineDMcGraw/claude-a11y
  • Issues: https://github.com/JacquelineDMcGraw/claude-a11y/issues
  • Chrome extension: https://github.com/JacquelineDMcGraw/claude-a11y/tree/main/packages/browser

License

MIT