An AI fixed accessibility bugs on real web pages — which ones kept beating it?
What violations does the Kimi model struggle with most in accessibility repair?
This explores which kinds of web accessibility problems the Kimi K2.5 model fails to fix when asked to repair real HTML pages, and why those particular failures happen.
This explores which accessibility violations Kimi K2.5 leaves unfixed when it repairs real web pages, and what that says about how language models handle code. The short answer: Kimi handles problems that sit on a single element, but breaks down on rules that apply to the whole page. Missing alt text or an unlabeled button can be fixed by looking at one tag. Rules about the document as a whole, such as how elements relate to each other across the page, are where it struggles. That is why repairs improved compliance in about 80% of files and cut violations per file from 3.98 to 1.7, yet fully fixed fewer than 26% of files Can LLMs actually fix web accessibility problems?. The corpus notes don't list the exact rule IDs that fail most often. What they give you is the pattern behind the failures: the model has no global view of the page's structure (the DOM) Why do LLM accessibility repairs fail at the document level?.
A related study fills in the picture. FeedA11y fed accessibility-checker results back into code generation step by step. It beat plain prompting, but it still couldn't handle the subtler ARIA requirements, especially keyboard navigation and focus management Can feeding accessibility violations back into code generation improve results?. These have the same weakness as Kimi's failures. Whether a page can be navigated by keyboard depends on how many elements work together, not on any one tag. So the hard violations aren't hard because of Kimi in particular. They are hard because the fix requires reasoning about the page as a system.
The surprising part is that asking the model to try again doesn't help. Running Kimi's repairs a second time raised cost by 52% with no gain in compliance Can LLMs actually fix web accessibility problems?. This matches a broader finding: models often have the knowledge to fix their own mistakes but don't use it, because their training data rarely shows examples of correcting their own output Why do language models correct user errors but not their own?. More passes don't add the missing view of the whole page.
The fix the corpus points to is to split the work by scope. Let the language model handle local, element-level repairs, and pair it with deterministic validators (rule-based checkers) that enforce page-wide rules Why do LLM accessibility repairs fail at the document level?. Website generation research reached the same conclusion from another direction. WebGen-R1 found that a page can look perfect while its event handlers are broken, so it runs strict structural and execution checks before any model-based judging Can vision-language models alone detect broken website functionality?. Across both lines of work, models are good at the parts you can see one at a time and need rule-based help for the parts that only show up when you check the whole page.
Sources 5 notes
Testing Kimi K2.5 on real HTML pages shows LLM-generated repairs improve compliance in 80% of cases and reduce violations per file from 3.98 to 1.7, yet fully resolve fewer than 26% of files. Iterating repairs increases cost 52% with no improvement.
LLMs achieve 80% partial compliance improvement but only 26% full resolution because they excel at element-level fixes but lack a global DOM view needed for document-wide rules. Scope-matched repair strategies pairing LLMs with deterministic validators could address this limitation.
FeedA11y's ReAct-based feedback loop significantly outperforms zero-shot, few-shot, and self-criticism prompting by iteratively feeding evaluator results back into generation. However, it still struggles with nuanced ARIA constraints like keyboard navigation and focus management, suggesting evaluator feedback alone cannot substitute for domain expertise.
Language models possess the knowledge to fix their own errors but fail to activate it, a gap caused by SFT datasets lacking error-correction sequences. Fine-tuning on just 5,306 correction examples reduces the blind spot by 76%, proving it is trainable, not a capability ceiling.
WebGen-R1 found that VLM aesthetic scoring misses broken event handlers and logic chains hiding beneath visually perfect interfaces. The solution is to gate VLM scoring behind deterministic structural checks and actual build-render-execute pipelines first.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- LLM Based Web Accessibility Repair: An Empirical Study of Detection, Remediation, and Cost
- Large Language Models Cannot Self-Correct Reasoning Yet
- Human or LLM? A Comparative Study on Accessible Code Generation Capability
- Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategies
- Code Aesthetics with Agentic Reward Feedback
- Task-Oriented Dialogue with In-Context Learning
- Branch-Solve-Merge Improves Large Language Model Evaluation and Generation
- Self-Correction Bench: Uncovering and Addressing the Self-Correction Blind Spot in Large Language Models