Skip to content

feat(audit): restore a11y as audit --check a11y (closes #256)#260

Merged
Wolfvin merged 1 commit into
mainfrom
feat/issue-256-restore-a11y
Jul 13, 2026
Merged

feat(audit): restore a11y as audit --check a11y (closes #256)#260
Wolfvin merged 1 commit into
mainfrom
feat/issue-256-restore-a11y

Conversation

@Wolfvin

@Wolfvin Wolfvin commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Summary

Patch Peta

  • scripts/commands/a11y.py (new) — thin wrapper over a11y_engine.audit_accessibility()
  • scripts/commands/audit.pya11y registered in _CHECKS, namespace branch added, epilog updated
  • tests/test_command_registry.pya11y added to implementation-module allowlist
  • docs/design/0256-restore-a11y.md (new) — design doc

Testing

  • codelens audit tests --check a11y → 2 findings (missing_label high + semantic_html low) from real fixture
  • test_command_registry.py 2 passed
  • --severity high passthrough verified

Closes #256

Engine a11y_engine.py was orphaned by the #195 umbrella consolidation
(same situation as css-deep #251 and export-snapshot #218). This restores
access as audit --check a11y — thin wrapper commands/a11y.py, registered
in audit._CHECKS, severity+category passthrough. Command count stays 12.

Verified end-to-end: 2 real findings on tests/fixtures/sample.html,
test_command_registry.py 2 passed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@sonarqubecloud

Copy link
Copy Markdown

@Wolfvin Wolfvin merged commit 9e0acb7 into main Jul 13, 2026
6 of 12 checks passed
@Wolfvin Wolfvin deleted the feat/issue-256-restore-a11y branch July 13, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(audit): restore a11y as audit --check a11y (orphaned engine since #195, same as css-deep #251)

1 participant