Lens for Laravel is a dev-only package that scans Laravel applications for WCAG accessibility violations using Axe-core and a headless Chromium browser. It maps each issue back to the specific Blade template file and line number, and provides a web dashboard, an Artisan CLI command for CI/CD integration, and optional AI-assisted fix suggestions via Gemini, OpenAI, or Anthropic. The dashboard supports single-page, multi-URL, and full-site crawl audits, groups results by WCAG level (A, AA, AAA), and can export PDF reports. The package is restricted to local environments by default. Automated scanning catches roughly 20–30% of WCAG violations, so manual testing remains necessary for full compliance.

4m read timeFrom laravel-news.com
Post cover image
Table of contents
# Installation# The Dashboard# CLI Auditing# AI-Assisted Fixes# Configuration# What Automated Scanning Can't Catch
2 Comments

Sort: