mix excessibility.check (Excessibility v0.14.0)
View SourceRuns axe-core accessibility checks against any URL.
This task is a thin wrapper around Excessibility.Scanner.scan/2.
Usage
# Check a live website
mix excessibility.check https://example.com
# Check a local dev server
mix excessibility.check http://localhost:4000/
# Check with options
mix excessibility.check https://example.com --wait-for "#main" --screenshot /tmp/shot.pngOptions
--wait-for— CSS selector to wait for before checking--wait-until—load|domcontentloaded|networkidle--screenshot— Path to save a PNG screenshot--disable-rules— Comma-separated axe rule IDs to skip--tags— Comma-separated axe tags (default:wcag2a,wcag2aa)--timeout— Navigation timeout in ms (default:30000)--viewport— Viewport size asWxH(default:1280x720)--user-agent— Override the default Chrome UA