Scan a page's HTML for common accessibility gaps (alt text, headings, links, forms, landmarks). Firecrawl scrapes the page; deterministic checks score and list fixes. Optional agent tools read the same scraped context.
Use this when you want a fast HTML accessibility scan of a live URL with an honest score and fix list, not a full WCAG conformance engine.
Similar patterns, and when each one is the better fit.

SEO AuditUse this when a marketing team needs exportable SEO scorecards that check title, meta description, and Open Graph tags and list top fixes for a page.
Branding AgentUse this when you want a grounded agent that pulls a site's brand tokens and answers contrast, palette, and voice questions from the scraped page.
Jev AEO AuditUse this when auditing a page for AEO and you want title, canonical, and noindex checks in code while Jev judges the citation-worthiness.
Search - Firecrawl (robust)FreeUse this when Firecrawl is your search provider and your chat agent needs to find pages by query rather than scrape URLs you already have.Requirements, wiring steps, and what this pattern adds to your project.
Pick how you want to pull this pattern in. Then wire env vars and routes the same way.
Download → Next.js app
Use Download → Next.js app in the preview toolbar. You get a zip scaffold (Pro downloads rewrite preview `/view/.../api/*` paths to `/api/*` automatically).
Extract the zip and install dependencies
Unzip the archive, then run `pnpm install` (or npm / yarn) in the project folder.
Fill .env.local
The download includes .env.local placeholders when needed. Add real values for: AI_GATEWAY_API_KEY, FIRECRAWL_API_KEY.
Customize the agent and tool files
Adapt prompts, tools, and stop conditions in the generated project for your product.
Run the app and open the pattern route
Run `pnpm dev`, open the setup/checklist page if present, then navigate to the generated pattern route and verify responses.
AI SDK APIs
gatewayToolLoopAgenttoolhasToolCallstepCountIscreateAgentUIStreamResponseInferAgentUIMessageUIMessagegenerateObjectProviders
External services
app/page.tsxapp/layout.tsxapp/api/a11y-agent/route.tslib/actions.tslib/a11y-types.tslib/analyzers.tslib/audit-areas.tslib/contrast.tslib/page-context.tslib/rate-limit.tslib/ai/a11y-agent.tslib/ai/tools/audit-accessibility.tslib/ai/tools/check-color-contrast.tslib/ai/tools/analyze-heading-structure.tslib/ai/tools/generate-alt-text.tslib/ai/tools/create-remediation-plan.tslib/ai/tools/export-audit-report.tsREADME.mdnpm packages
8
Registry components
lib/analyzers.tsDeterministic HTML accessibility analyzers that produce the result-screen score and issues from scraped PageContext.
lib/actions.tsServer action that scrapes a URL with Firecrawl and extracts accessibility-relevant HTML fields. Does not invent colour pairs.
ai/a11y-agent.tsPer-request ToolLoopAgent factory that injects scraped PageContext via toolsContext so tools do not take model-filled page data.
a11y-agent/route.tsAPI route that validates pageContext and streams the grounded a11y agent.
Scan a page's HTML for common accessibility gaps (alt text, headings, links, forms, landmarks). Firecrawl scrapes the page; deterministic checks score and list fixes. Optional agent tools read the same scraped context.
Use this when you want a fast HTML accessibility scan of a live URL with an honest score and fix list, not a full WCAG conformance engine.
Similar patterns, and when each one is the better fit.

SEO AuditUse this when a marketing team needs exportable SEO scorecards that check title, meta description, and Open Graph tags and list top fixes for a page.
Branding AgentUse this when you want a grounded agent that pulls a site's brand tokens and answers contrast, palette, and voice questions from the scraped page.
Jev AEO AuditUse this when auditing a page for AEO and you want title, canonical, and noindex checks in code while Jev judges the citation-worthiness.
Search - Firecrawl (robust)FreeUse this when Firecrawl is your search provider and your chat agent needs to find pages by query rather than scrape URLs you already have.Requirements, wiring steps, and what this pattern adds to your project.
Pick how you want to pull this pattern in. Then wire env vars and routes the same way.
Download → Next.js app
Use Download → Next.js app in the preview toolbar. You get a zip scaffold (Pro downloads rewrite preview `/view/.../api/*` paths to `/api/*` automatically).
Extract the zip and install dependencies
Unzip the archive, then run `pnpm install` (or npm / yarn) in the project folder.
Fill .env.local
The download includes .env.local placeholders when needed. Add real values for: AI_GATEWAY_API_KEY, FIRECRAWL_API_KEY.
Customize the agent and tool files
Adapt prompts, tools, and stop conditions in the generated project for your product.
Run the app and open the pattern route
Run `pnpm dev`, open the setup/checklist page if present, then navigate to the generated pattern route and verify responses.
AI SDK APIs
gatewayToolLoopAgenttoolhasToolCallstepCountIscreateAgentUIStreamResponseInferAgentUIMessageUIMessagegenerateObjectProviders
External services
app/page.tsxapp/layout.tsxapp/api/a11y-agent/route.tslib/actions.tslib/a11y-types.tslib/analyzers.tslib/audit-areas.tslib/contrast.tslib/page-context.tslib/rate-limit.tslib/ai/a11y-agent.tslib/ai/tools/audit-accessibility.tslib/ai/tools/check-color-contrast.tslib/ai/tools/analyze-heading-structure.tslib/ai/tools/generate-alt-text.tslib/ai/tools/create-remediation-plan.tslib/ai/tools/export-audit-report.tsREADME.mdnpm packages
8
Registry components
lib/analyzers.tsDeterministic HTML accessibility analyzers that produce the result-screen score and issues from scraped PageContext.
lib/actions.tsServer action that scrapes a URL with Firecrawl and extracts accessibility-relevant HTML fields. Does not invent colour pairs.
ai/a11y-agent.tsPer-request ToolLoopAgent factory that injects scraped PageContext via toolsContext so tools do not take model-filled page data.
a11y-agent/route.tsAPI route that validates pageContext and streams the grounded a11y agent.
Loading preview…
Early-bird pricing — limited time


Open on desktop for the interactive preview.
Scan a page's HTML for common accessibility gaps (alt text, headings, links, forms, landmarks). Firecrawl scrapes the page; deterministic checks score and list fixes. Optional agent tools read the same scraped context.
Loading preview…
Early-bird pricing — limited time


Open on desktop for the interactive preview.
Scan a page's HTML for common accessibility gaps (alt text, headings, links, forms, landmarks). Firecrawl scrapes the page; deterministic checks score and list fixes. Optional agent tools read the same scraped context.