INQUIRING LINE

Even when a checker tells an AI exactly what's wrong, it still can't fix keyboard navigation and focus on web pages.

What specific ARIA constraints remain difficult for feedback-driven code generation?

This explores which parts of ARIA (the web standard for labeling interactive elements so screen readers and keyboard users can operate them) stay hard for AI code generators even when an accessibility checker reports errors back to them, and why those parts resist the feedback.


This explores which ARIA requirements AI code generators keep getting wrong even when an accessibility checker tells them what's broken. The short answer from the corpus is **keyboard navigation and focus management**. FeedA11y runs a loop in which a model writes code, an accessibility evaluator flags violations, and the model revises. It clearly beats zero-shot, few-shot and self-critique prompting, but it still struggles with these two constraints (Can feeding accessibility violations back into code generation improve results?). The corpus doesn't give a finer list than that, such as specific roles or attributes. What it does show is a consistent pattern in where the failures land.

The pattern is that **models are good at the static, checkable layer and weak at behavior.** When GPT-4o and Qwen2.5-Coder were compared with human developers, the models did better on contrast and alt text, both of which can be confirmed by inspecting a single element. They fell down on ARIA. Their code often passed automated checks while missing the deeper meaning those checks are supposed to stand in for (Do large language models write more accessible web code than humans?). Focus management is behavioral by nature. Where focus goes when a dialog opens, whether Tab gets trapped, what happens on Escape: none of that is visible in the markup. It only shows up when someone actually uses the page. A checker that reads HTML can say an attribute is missing. It usually can't say that the interaction feels broken to a keyboard user.

Repair studies point the same way. When Kimi K2.5 fixed real HTML pages, compliance improved in 80% of files, but fewer than 26% ended up fully clean. Running more repair rounds raised cost by 52% and improved nothing (Can LLMs actually fix web accessibility problems?). So the feedback loop flattens out early. The last violations aren't the ones the model hasn't been told about yet. They're the ones that feedback alone can't fix.

The less obvious lesson comes from other front-end work. Training with rendering feedback works well for visual output. RLRF rewards SVG generators by rendering their output and comparing pixels (Can rendering feedback train better SVG generators than supervised learning alone?), and ReLook has a multimodal critic score screenshots of the rendered page (Can multimodal LLMs judge front-end code quality better than tests?). Both succeed because the thing being judged can be seen. Keyboard and focus behavior doesn't appear in a screenshot. Research on autonomous optimization says that loops like these only work when there's an immediate, single-number measure of success (What makes a research domain suitable for autonomous optimization?). Accessible interaction behavior doesn't have one yet. Closing the gap would likely need an evaluator that actually drives the page: one that tabs through it, opens its widgets and tracks where focus goes. A smarter generator alone probably won't do it. FeedA11y's authors reach a related conclusion, that evaluator feedback can't stand in for real accessibility expertise.


Sources 6 notes

Can feeding accessibility violations back into code generation improve results?

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.

Do large language models write more accessible web code than humans?

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.

Can LLMs actually fix web accessibility problems?

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.

Can rendering feedback train better SVG generators than supervised learning alone?

RLRF post-training, which samples SVG outputs, renders them, and rewards pixel-level similarity to target images, significantly beats supervised fine-tuning and generalizes to unseen SVG styles. The approach works because rendering provides an evaluative signal where gradients cannot flow through discrete token sampling.

Can multimodal LLMs judge front-end code quality better than tests?

ReLook trains a reward model on visual screenshots rather than unit tests, using a strict zero-reward rule for invalid renders to prevent reward hacking. It outperformed baselines across three benchmarks by embedding pixel-level visual judgment into the policy training loop.

Show all 6 sources
What makes a research domain suitable for autonomous optimization?

Autonomous research pipelines require immediate scalar metrics, modular architecture, fast iteration cycles, and version control. Domains lacking any property resist autoresearch regardless of LLM capability, because the bottleneck is environmental structure, not model power.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.