Human or LLM? A Comparative Study on Accessible Code Generation Capability
Not on the map. Why?
Abstract (arXiv)
Web accessibility is essential for inclusive digital experiences, yet the accessibility of LLM-generated code remains underexplored. This paper presents an empirical study comparing the accessibility of web code generated by GPT-4o and Qwen2.5-Coder-32B-Instruct-AWQ against human-written code. Results show that LLMs often produce more accessible code, especially for basic features like color contrast and alternative text, but struggle with complex issues such as ARIA attributes. We also assess advanced prompting strategies (Zero-Shot, Few-Shot, Self-Criticism), finding they offer some gains but are limited. To address these gaps, we introduce FeedA11y, a feedback-driven ReAct-based approach that significantly outperforms other methods in improving accessibility. Our work highlights the promise of LLMs for accessible code generation and emphasizes the need for feedback-based techniques to address persistent challenges.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 20 Mar 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025Towards Scalable Web Accessibility Audit with MLLMs as Copilotscited by 2
- 2025Who Gets Left Behind? Auditing Disability Inclusivity in Large Language Modelscited by 0
- 2025Unleashing the True Potential of LLMs: A Feedback-Triggered Self-Correction with Long-Term Multipath Decodingcited by 0
- 2026Flow-A11y: Flow-Aware Accessibility Testingcited by 0
- 2026Flow-A11y: Flow-Aware Accessibility Testing3 Jul 2026
- 2025Towards Scalable Web Accessibility Audit with MLLMs as Copilots5 Nov 2025
- 2025Unleashing the True Potential of LLMs: A Feedback-Triggered Self-Correction with Long-Term Multipath Decoding9 Sep 2025
- 2025Who Gets Left Behind? Auditing Disability Inclusivity in Large Language Models31 Aug 2025