A clean site
The three pages in tests/fixtures/good. No errors and no warnings; one advisory finding does not fail the build.
A clean site
examples/check.ansi<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home - Example Site</title>
<meta name="description" content="Welcome to Example Site">
<link rel="canonical" href="https://example.com/">
</head>
<body>
<header>
<nav>
<a href="/about/">About Us</a>
<a href="/blog/">Our Blog</a>
</nav>
</header>
<main>
<h1>Welcome to Example Site</h1>
<img src="/hero.jpg" alt="Hero image showing a beautiful landscape" width="800" height="600">
<p>This is a well-structured page.</p>
<button>Click me</button>
</main>
<footer>
<a href="/about/">About</a>
</footer>
</body>
</html>ℹ astro-post-audit Errors: 0 Warnings: 0 Info: 1 Files: 3 ● index.html (1) [advisory] - Image has no srcset (no responsive image markup): src='/hero.jpg' [images/missing-srcset] at `img[src='/hero.jpg']` Remedy: Use <Image> or <Picture> from astro:assets to generate responsive srcset automatically.