Accessible Web Content Generation Using LLMs: An Empirical Study on Prompting Strategies and Template-Guided Remediation
Guillermo Vera-Amaro, José Rafael Rojano-Cáceres
Universidad Veracruzana
Key points
From the paper's conclusion- Overall, findings suggest that effectively guided LLMs can streamline remediation and foster more inclusive web experiences.
Abstract
Web accessibility remains a persistent challenge, particularly for visually impaired users who rely on screen readers. This study investigates the potential of large language models (LLMs) to remediate accessibility issues only through structured prompt engineering without accessibility specialization. We evaluate GPT-4o and Gemini 2.0 Flash across 20 variants from two websites using different input formats (HTML, Markdown) and template-guided strategies. Outputs were assessed with automated tools, token efficiency metrics, and manual evaluations with experts and blind users. Results show an average Lighthouse score of 93.25, with WAVE errors reduced by 92.85%. Usability evaluation yielded an average success rate of 95.83% on completed tasks, with accuracy values reaching up to 0.86. GPT-4o demonstrated greater token efficiency, while Gemini produced more visually dynamic outputs. Certain violations persisted, confirming the need for human-in-the-loop validation. Overall, findings suggest that effectively guided LLMs can streamline remediation and foster more inclusive web experiences.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Conceptual Model for Born-Accessible Web Accessibility Regeneration Using Large Language ModelsComputers · 2026
- Artificial Intelligence in Web Accessibility: Towards a Theory of LLM-Assisted Remediation for Visual DisabilitiesTechnologies · 2026
- Can Vibe Coding Produce Accessible Websites: An Empirical Study on LLM Coding Agents and SkillsarXiv · 2026
- Context and length effects in portuguese alternative text generationUniversal Access in the Information Society · 2026
- Does It Render Everywhere? A Study of Cross-Environment Compatibility in MLLM-Generated WebpagesarXiv · 2026
- Feasibility and psychometric evaluation of large language model–generated radiology learning materials for board examination preparation: a prospective pilot studyBMC Medical Education · 2026