Pith. sign in

REVIEW 2 cited by

Human or LLM? A Comparative Study on Accessible Code Generation Capability

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2503.15885 v1 pith:3SYBWXDA submitted 2025-03-20 cs.SE

Human or LLM? A Comparative Study on Accessible Code Generation Capability

classification cs.SE
keywords codeaccessibilityaccessibleaddressgenerationllmsadvancedalternative
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
Share X Bluesky LinkedIn Reddit HN
read the original abstract

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.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Flow-A11y: Flow-Aware Accessibility Testing

    cs.SE 2026-07 conditional novelty 6.0

    Runtime interaction traces plus criterion-specific evidence packets let an LLM judge dynamic WCAG criteria far more accurately than unconstrained browser-agent audits.

  2. Who Gets Left Behind? Auditing Disability Inclusivity in Large Language Models

    cs.CY 2025-08 conditional novelty 6.0

    Across 17 LLMs, accessibility advice covers only about half of relevant disability categories on average, and speech and developmental conditions are the most neglected.