Console output
The default. Optimized for a human reading the audit in a terminal: severity icons, color, grouped findings.
When to use it
- Local development.
- The first time you point smartspec at a site.
- Debugging a single rule by re-running with
--categories <one>.
When not to use it
- Anywhere you'll parse the output (CI, agents, dashboards). Use
jsoninstead.
Sample
smartspec audit https://example.com
smartspec 0.1.0 → https://example.com (20 pages crawled)
CRITICAL (1)
• mobile-viewport-missing — / — No viewport meta tag
fix: <meta name="viewport" content="width=device-width, initial-scale=1">
WARNING (3)
• images-alt-missing — / — 5 images missing alt text
fix: Add a descriptive alt attribute to each <img>…
• links-internal-sparse — /about — Only 2 internal links on the page
• a11y-no-h1 — /pricing — Page has no <h1>
Score: 71/100