Disclosure: I am on the team behind VibUI, a paid prompt library for websites. You will see one mention of it in the last tool section. The accessibility rules here do not depend on it.
Short answer: if you want an AI-built page to pass a basic accessibility check, put the accessibility rules in the first prompt, not in a cleanup message after the layout is finished. Name the contrast target, heading order, form-label behaviour, keyboard focus, image alt rules, landmarks and a prefers-reduced-motion fallback up front. Then run a keyboard pass and an automated scan (Lighthouse or axe) before you call the page done. This applies the same way in v0, Lovable, Bolt, Cursor, Windsurf, Claude, ChatGPT, Gemini, Replit, GitHub Copilot, Framer AI, Google Stitch, Readdy, Aura.build and OpenAI Codex.
Why does a second "make it accessible" prompt usually fail?
Most models will happily add alt attributes and a focus ring if you ask later.…