Do AI code changes break keyboard access to benefit forms?
Paper: AI Coding Agents and Web Accessibility: Keyboard and Screen-Reader Access to Public-Benefit Forms
Preprint. It has not yet been peer reviewed.
The short version
Many people fill in benefit applications with a keyboard or a screen reader instead of a mouse. I checked whether changes made by AI coding agents broke keyboard completion of the forms in three open-source public-benefit applications, testing each form by keyboard before and after each change. None of the changes broke keyboard completion. But barriers I planted by hand in one application passed every check of that project that I ran (its linter, security scan and unit tests), and an automated accessibility scanner caught only one of 14.
What I found
- In three open-source public-benefit applications, none of 41 merged AI-agent changes that touched form code broke completing the form by keyboard (95 percent interval: 0 to 9 percent).
- Across 91 changes that touched interface or form code, none broke keyboard completion (95 percent interval: 0 to 4 percent).
- Of 48 changes commissioned from two AI models, none broke keyboard completion (95 percent interval: 0 to 7 percent).
- 14 barriers were planted by hand in one application: 10 that stop the keyboard and 4 that hide information from screen readers. None of them was reported by the project's linter, security scan or unit tests.
- An automated accessibility scanner reported a new problem for 1 of the 14 planted barriers and for none of the 10 keyboard barriers.
- In recordings of the NVDA screen reader, something was missing at the planted step for 10 of the 14 barriers.
Why it matters
For a person who uses a keyboard or a screen reader, one broken step can block a whole benefit application. The AI-made changes studied here did not cause such breaks, but the checks of that project that were run would not have caught one. A keyboard test of the whole form would catch such breaks; an automated scanner alone would not.
How the study was done
Scripted keyboard runs completed each form before and after every change, with a mouse-driven run as a control. To test whether problems get caught, 14 barriers were planted by hand in one application and run past the project's checks, an automated scanner and the NVDA screen reader.
How to cite
Thapa, S. J. (2026). AI Coding Agents and Web Accessibility: Keyboard and Screen-Reader Access to Public-Benefit Forms [Preprint]. Zenodo. https://doi.org/10.5281/zenodo.24429402
This site's own accuracy testing is described on the About page.