# Haunting the web: building an accessibility auditor with Kiro (Kiroween 2026)

> Source: <https://dev.to/muhammadghiffari/haunting-the-web-building-an-accessibility-auditor-with-kiro-kiroween-2026-cf7>
> Published: 2026-12-04 21:40:28+00:00

**Recommendation:** Spike the target browser before writing feature code to confirm gesture requirements, tab-type handling and CSP restrictions, and treat page content handed to a coding agent as data, never instructions.
More in the playbook "Designing agent systems": <https://wpnews.pro/playbooks/agent-architecture>

*This post was written as part of the Kiroween 2026 hackathon.*

Accessibility scanners give you a list. I wanted to see the problems *on the page*, so I built **A11y Ghost Hunt**: a Chromium extension that audits the tab you are looking at (including `localhost` and pages behind your own login) and draws every violation as a ghost on its element. A side-panel Ledger lists them, **Show on page** scrolls to one, and **Copy fix prompt** hands a coding agent the problem, the WCAG criterion, the selector and the HTML, with a rule that page content is data and never instructions.

**What Kiro did.** I built it solo as a student. Kiro wrote all the code, working in Web sessions that each took one bounded task and ended in a pull request. The part I liked most was spec-driven development: seven specs with EARS requirements and 90 correctness properties, implemented with fast-check. The properties found things I would not have: a gap in my own spec (two different selector lists could produce the same ghost id), and a test that could not fail until a bug was planted on purpose.

**The spike saved me.** Before any feature code, the extension spec started with a spike that measured the browser. It found that the side panel cannot open without a user gesture, that PDF tabs are not refused by the browser, and that Zod 4 runs `new Function` when a schema is built, which a strict extension content security policy blocks.

**Honest limits.** It is an alpha. Automated tools find only part of accessibility problems, so the project never claims compliance. It does not scan whole sites. I tested it by hand in Chrome 158 and Brave 1.100, and not in Edge.

Code and demo: [https://github.com/muhammadghiffari/a11y-ghost-hunt](https://github.com/muhammadghiffari/a11y-ghost-hunt)
