Saved in:
Bibliographic Details
Main Authors: Fathallah, Nadeen, Hernández, Daniel, Staab, Steffen
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.19549
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915410385829888
author Fathallah, Nadeen
Hernández, Daniel
Staab, Steffen
author_facet Fathallah, Nadeen
Hernández, Daniel
Staab, Steffen
contents The vast majority of Web pages fail to comply with established Web accessibility guidelines, excluding a range of users with diverse abilities from interacting with their content. Making Web pages accessible to all users requires dedicated expertise and additional manual efforts from Web page providers. To lower their efforts and promote inclusiveness, we aim to automatically detect and correct Web accessibility violations in HTML code. While previous work has made progress in detecting certain types of accessibility violations, the problem of automatically detecting and correcting accessibility violations remains an open challenge that we address. We introduce a novel taxonomy classifying Web accessibility violations into three key categories - Syntactic, Semantic, and Layout. This taxonomy provides a structured foundation for developing our detection and correction method and redefining evaluation metrics. We propose a novel method, AccessGuru, which combines existing accessibility testing tools and Large Language Models (LLMs) to detect violations and applies taxonomy-driven prompting strategies to correct all three categories. To evaluate these capabilities, we develop a benchmark of real-world Web accessibility violations. Our benchmark quantifies syntactic and layout compliance and judges semantic accuracy through comparative analysis with human expert corrections. Evaluation against our benchmark shows that AccessGuru achieves up to 84% average violation score decrease, significantly outperforming prior methods that achieve at most 50%.
format Preprint
id arxiv_https___arxiv_org_abs_2507_19549
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle AccessGuru: Leveraging LLMs to Detect and Correct Web Accessibility Violations in HTML Code
Fathallah, Nadeen
Hernández, Daniel
Staab, Steffen
Software Engineering
Artificial Intelligence
The vast majority of Web pages fail to comply with established Web accessibility guidelines, excluding a range of users with diverse abilities from interacting with their content. Making Web pages accessible to all users requires dedicated expertise and additional manual efforts from Web page providers. To lower their efforts and promote inclusiveness, we aim to automatically detect and correct Web accessibility violations in HTML code. While previous work has made progress in detecting certain types of accessibility violations, the problem of automatically detecting and correcting accessibility violations remains an open challenge that we address. We introduce a novel taxonomy classifying Web accessibility violations into three key categories - Syntactic, Semantic, and Layout. This taxonomy provides a structured foundation for developing our detection and correction method and redefining evaluation metrics. We propose a novel method, AccessGuru, which combines existing accessibility testing tools and Large Language Models (LLMs) to detect violations and applies taxonomy-driven prompting strategies to correct all three categories. To evaluate these capabilities, we develop a benchmark of real-world Web accessibility violations. Our benchmark quantifies syntactic and layout compliance and judges semantic accuracy through comparative analysis with human expert corrections. Evaluation against our benchmark shows that AccessGuru achieves up to 84% average violation score decrease, significantly outperforming prior methods that achieve at most 50%.
title AccessGuru: Leveraging LLMs to Detect and Correct Web Accessibility Violations in HTML Code
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2507.19549