WCAG 2.2 CSS Lint - Focus & Target Size
Runs the same checker as the npm package
@readystack/wcag22-css-linton a Node.js runtime that pip installs for you (nodejs-wheel-binaries) - no system Node.js needed. Your files are checked locally.
Reads your stylesheet and names the success criterion each rule breaks, including the three WCAG 2.2 added that WCAG 2.1 linters never learned.
Install
wcag22-css-lint file
Node 18+. The same 14 rules as the VS Code extension, from a terminal or CI.
Free
- Lint the stylesheet you have open against all 14 rules, with the success criterion number, the failing line and the fix on every finding.
--ruleslists every rule
With a licence ($29 once)
- Scan every stylesheet in the workspace in one pass and export the findings as a dated criterion-by-criterion evidence table (Markdown + CSV) you keep and attach to your accessibility statement.
@readystack/wcag22-css-lint --dir ./templates --report html --out report.html
An accessibility consultant reviewing one stylesheet by hand bills a $150-$250 hour; a full third-party WCAG audit of a site is quoted in the thousands.
Use from an AI agent (MCP)
Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:
{ "mcpServers": { "wcag22-css-lint": { "command": "npx", "args": ["-y", "@readystack/wcag22-css-lint", "--mcp"] } } }
Tools: check_text and check_file (free) · check_dir (licence). The agent gets every finding with the line number.
Use in CI
- name: WCAG 2.2 CSS Lint - Focus & Target Size
run: npx -y @readystack/wcag22-css-lint --dir . --ci
(container: docker run --rm -v "$PWD:/work" getreadystack/wcag22-css-lint --dir /work --ci)
The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set READYSTACK_LICENSE=<key> or run --license <key> once.
Install (PyPI)
pip install readystack-wcag22-css-lint
wcag22-css-lint --help
Metadata
Release files for readystack-wcag22-css-lint 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| readystack_wcag22_css_lint-1.0.9.tar.gz | 17.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| readystack_wcag22_css_lint-1.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.3 kB
Release files / readystack_wcag22_css_lint-1.0.9.tar.gz
| Download URL | readystack_wcag22_css_lint-1.0.9.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2051863fa86d409f34d8e30532b76bcf0f42402693cdb9786d1b5495bfd5d78d
|
|
BLAKE2b-256 checksum How to use checksums |
411d9ace9243a9979186803844b478e6259a5eba23c2cdc69e5c3573f7344d6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / readystack_wcag22_css_lint-1.0.9-py3-none-any.whl
| Download URL | readystack_wcag22_css_lint-1.0.9-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d03106985ff0a085cf81541688dfb72740e04a419445cf39adc3f0cda4495c08
|
|
BLAKE2b-256 checksum How to use checksums |
3db750d3ae2b3c1cd87432f00e220efde16a261ceccaa0172667d8135574f474
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|