LLMs fix most accessibility bugs in a page, but what's left unfixed — one bad tag or a whole broken structure?
What percentage of unresolved accessibility violations are global versus local scope?
This explores what share of the accessibility problems LLMs leave unfixed are page-wide problems (like heading order or duplicate landmarks) and what share are single-element problems (like a missing alt tag). The direct answer is that the corpus has no percentage for this split, but it does explain why the split matters.
This explores whether the accessibility problems LLMs fail to fix are mostly page-wide or mostly single-element. The corpus gives no number for that. The study behind these figures says outright that it does not count how many unresolved violations are global-scope and how many are simply missed local fixes. What it does give is the gap that raises the question. When Kimi K2.5 repaired real HTML pages, compliance improved in 80% of files and violations per file fell from 3.98 to 1.7, yet fewer than 26% of files were fully fixed Can LLMs actually fix web accessibility problems?.
The authors' explanation for that gap is about scope. The model handles element-level repairs well, such as adding an alt attribute or an aria-label to a button. It keeps failing on rules that apply to the whole page, such as a logical heading order or making sure each ARIA landmark is unique. Because it never has a reliable view of the full page structure, it often writes patches that are correct on their own but break something elsewhere in the page Why do LLM accessibility repairs fail at the document level?. So the claim that the remaining failures are mostly global is the authors' reading of their examples, not a measured result. One clue points the same way: letting the model refine its repairs in a loop raised cost by 52% and fixed nothing more. That fits the idea that the leftover problems can't be reached by local edits.
Other notes in the corpus show the same pattern. In code generation, both GPT-4o and Qwen2.5-Coder beat human developers on contrast and alt text but stumbled on complex ARIA Do large language models write more accessible web code than humans?. FeedA11y, which feeds checker results back into generation, beat plain prompting but still struggled with keyboard navigation and focus management Can feeding accessibility violations back into code generation improve results?. Those are problems about how the whole page behaves, not about any one element.
The idea also reaches well beyond accessibility. In agent safety, checks that look at one action at a time cannot even express a rule that depends on what happened before Can stateless checks ever catch sequence-level constraint violations?. Web accessibility has the same structure: a checker or repairer that works one element at a time can't see a rule that is defined at the page level. Website generation runs into it too, where visual scoring passes sites whose buttons and logic don't actually work, so deterministic structural checks have to come first Can vision-language models alone detect broken website functionality?.
What you might not have expected to learn: the practical fix the corpus points to is matching each tool to the scope of the problem, not using a better model. Let the LLM handle the element-level meaning, and let a rule-based validator enforce the page-wide rules. Nobody in the corpus has built or tested that hybrid yet. If someone did, the split between global and local failures this question asks about would be the first number they'd need to measure.
Sources 6 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.
GPT-4o and Qwen2.5-Coder outperformed human developers on contrast and alt text but struggled with ARIA attributes. Both models produced code that passed surface-level automated checks while missing deeper semantic requirements.
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.
Per-action checks are structurally unable to state constraints that depend on prior history. Only stateful monitors tracking composed multi-party behavior can verify the behavioral envelopes that prevent individually permissible actions from collectively violating system-level safety.
Show all 6 sources
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
- Human or LLM? A Comparative Study on Accessible Code Generation Capability
- Code Aesthetics with Agentic Reward Feedback
- Large Language Models Cannot Self-Correct Reasoning Yet
- Generative UI: LLMs are Effective UI Generators
- WebRenderBench: Enhancing Web Interface Generation through Layout-Style Consistency and Reinforcement Learning
- UI-Bench: A Benchmark for Evaluating Design Capabilities of AI Text-to-App Tools
- WebGen-R1: Incentivizing Large Language Models to Generate Functional and Aesthetic Websites with Reinforcement Learning