INQUIRING LINE

Pairing AI with automated accessibility checkers fixes most issues fast — but why does full compliance stay just out of reach?

Can rule-based validators paired with LLMs close the accessibility repair gap?

This explores whether pairing an LLM with a rule-based accessibility checker, the kind of automated tool that flags missing alt text or broken ARIA attributes, can get repaired web pages all the way to full compliance instead of only part of the way.


This explores whether a rule-based checker working alongside an LLM can close the gap between partly fixed and fully accessible web pages. The corpus says it can close part of the gap, and it is fairly specific about which part. When an LLM repairs real HTML pages on its own, about 80% of files get better and the average number of violations per file falls from 3.98 to 1.7. Yet fewer than 26% of files end up fully compliant. Having the model try again does not help: re-running repairs raised cost by 52% with no gain Can LLMs actually fix web accessibility problems?. So the problem is not effort. Something about the shape of the task stops the model short.

The corpus names what that something is. LLMs are good at local fixes, such as adding a label to one button or alt text to one image. They are weak at rules that apply to the whole page, such as heading order, unique IDs and consistent landmarks, because they never hold a full view of the page's structure (its DOM tree) Why do LLM accessibility repairs fail at the document level?. That suggests a split based on scope. Deterministic validators handle the page-wide rules, which are easy to check mechanically and hard for an LLM to keep in view. The LLM handles the element-level fixes that need judgment, such as writing a meaningful image description. The point is not to keep looping. The point is to give each tool the kind of rule it is good at.

FeedA11y shows that a checker in the loop does help. Feeding real checker results back into generation clearly beats zero-shot prompting, few-shot prompting and asking the model to critique itself Can feeding accessibility violations back into code generation improve results?. This fits the earlier finding: blind retries fail, but retries driven by a precise outside signal work. FeedA11y also shows where the ceiling is. It still struggles with keyboard navigation and focus management, which depend on how a page behaves when someone uses it, not on what its markup says. A rule-based checker can confirm that an ARIA attribute is present. It cannot tell whether a screen-reader user can actually move through the page.

Research on validators outside accessibility shows the same divide. In multi-agent systems, validator consensus can guarantee agreement, but semantic correctness only holds statistically Can validator consensus guarantee both agreement and semantic correctness?. For web pages, that means passing the checker is guaranteed, while being truly usable is not. The risk grows with stronger models. Weaker models damage documents visibly by deleting content, while frontier models tend to corrupt them quietly in ways that keep the surface looking intact Does model capability change how documents degrade?. A repaired page could pass every rule and still read worse to a human. This is one instance of the wider generation-verification gap: a system can only improve as far as its checker can see What limits autonomous capability in large language models?.

In short, pairing an LLM with a rule-based checker should close the page-wide part of the gap, which is mostly where the missing 74% sits. What remains past that point needs tests of how the page behaves, or a human using it. The corpus does not yet include a study that measures a scope-matched pairing end to end, so the full gain is still a well-grounded prediction rather than a measured result.


Sources 6 notes

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.

Why do LLM accessibility repairs fail at the document level?

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.

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.

Can validator consensus guarantee both agreement and semantic correctness?

Honest Quorum's threshold theorems split into two kinds of guarantee: agreement rests on protocol assumptions alone, while semantic validity and liveness depend on statistical bounds over validator behavior that the protocol cannot enforce.

Does model capability change how documents degrade?

DELEGATE-52 shows weaker LLMs degrade documents through visible deletion, while frontier models degrade through subtle corruption that preserves surface integrity. This shift makes frontier failures harder to detect and potentially more dangerous at workflow scale.

Show all 6 sources
What limits autonomous capability in large language models?

Multi-agent deliberation produces specific failure modes (Degeneration-of-Thought, Silent Agreement), alignment at scale includes problematic self-valuation, and self-improvement is formally bounded by the generation-verification gap. Measurement error and conditional compliance hide the true capability ceiling.

Papers this line draws on 8

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