pisan-labs

Accessibility Lens — Development skill for Claude Code

Development community

Paste a public URL to run eleven WCAG 2.1 checks on its markup, then replay the page as a screen reader's linear stream and through low-vision, color-blindness and keyboard-only views, with a suggeste.

How to install Accessibility Lens

This entry records only its repository, not the path inside it, so there is no exact command to give. Open pisan-labs/accessibility-lens and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Accessibility Lens does

Paste a public URL to run eleven WCAG 2.1 checks on its markup, then replay the page as a screen reader's linear stream and through low-vision, color-blindness and keyboard-only views, with a suggested fix for each issue. Built with Claude Code.

Alternatives in Development

  • Portaljs Add Chart — Add a chart (line, bar, area, pie, or scatter) to a dataset's showcase in a PortalJS portal 2.3k ★
  • Lens Reviewer — Use the @lens-reviewer agent to review the following code: $ARGUMENTS 523 ★
  • Check A11y — Report WCAG contrast for the theme and the minimal fix to reach AA 452 ★

README

Accessibility Lens

**Live:** [accessibility-lens.pisan.me](https://accessibility-lens.pisan.me) | TypeScript monorepo | 107 tests | MIT

![Scanning the W3C's deliberately inaccessible demo page gives a score of 0, then the profile tabs replay it as a screen reader's linear stream, a blurred low-vision view and a deuteranopia filter on status colors](demo.gif)

**See your page through four kinds of eyes.** Paste a public URL and Accessibility Lens fetches the markup, runs a deterministic subset of WCAG 2.1 checks, and replays the page the way users with **low vision**, **color blindness**, **keyboard-only navigation**, and **screen readers** actually experience it, with a concrete suggested fix for every issue.

Most accessibility checkers hand you a wall of WCAG codes. This one is built as a teaching tool: it tries to make the failures *visceral*. The signature feature is a screen-reader view that strips away all layout and shows the page as the linear stream of roles and text a blind user hears.

Built as a capstone from the `daily-project-ideas` prompt for 2026-05-12 ("Code Blindfold"). See [`ASSUMPTIONS.md`](./ASSUMPTIONS.md) for the full set of design decisions and known limitations.

What it checks

Eleven high-signal rules, each mapped to the disability profiles it affects:

Rule WCAG Affects
Image missing alt text 1.1.1 screen reader, low vision
Page language not declared 3.1.1 screen reader
Missing or empty page title 2.4.2 screen reader
Form control without a label 4.1.2 screen reader, low vision
Broken heading structure 1.3.1 screen reader
Unclear or empty link text 2.4.4 screen reader
Button without an accessible name 4.1.2 screen reader, keyboard
Zoom disabled by viewport meta 1.4.4 low vision
Duplicate id attribute 4.1.1 screen reader
Positive tabindex disrupts focus order 2.4.3 keyboard
Low color contrast (inline styles) 1.4.3 l