基于LLM的网页可访问性修复:检测、修复与成本的实证研究
LLM Based Web Accessibility Repair: An Empirical Study of Detection, Remediation, and Cost
AI总结:
本文通过实证研究评估基于大语言模型的智能体(Kimi K2.5)在网页可访问性自动检测与修复中的性能,发现其检测能力与规则工具相当但可靠性不足,修复在语法有效性上表现优异但完全修复率低,且迭代优化增加成本而无益,提出混合方法的需求。
摘要:
确保大规模网页可访问性仍然具有挑战性,因为基于规则的工具覆盖范围有限,而手动修复成本高且易出错。本文评估了基于大语言模型的智能体(特别是Kimi K2.5)与基于规则的方法在自动可访问性检测和修复方面的性能。在检测方面,LLM达到了与规则工具相当的性能,F1值约为0.65,语义理解能力强(F1为0.83),但在语法和布局相关违规方面可靠性较低。在修复方面,LLM生成的修复在超过99.7%的案例中语法有效,并在80.2%的实例中提高了可访问性合规性,将每个文件的违规数从3.98减少到1.7。然而,完全解决的案例不到26%,约30%的补丁引入了结构变化。我们还发现,基于智能体的迭代优化使计算成本增加52%,API使用量增加1.64倍,但并未改善修复结果。这些发现表明,虽然LLM对于部分可访问性修复有效,但不足以实现完全可靠的修复。可扩展的可访问性解决方案需要结合LLM能力与基于规则的验证及约束感知校正机制的混合方法。
英文摘要:
Ensuring web accessibility at scale remains challenging because rule-based tools provide limited coverage while manual remediation is costly and error-prone. This paper evaluates large language model based agents, specifically Kimi K2.5, for automated accessibility detection and repair compared with rule-based approaches. For detection, the LLM achieves performance comparable to rule-based tools, with F1 around 0.65, strong semantic understanding with F1 of 0.83, but lower reliability for syntactic and layout-related violations. For remediation, LLM-generated fixes are syntactically valid in over 99.7 percent of cases and improve accessibility compliance in 80.2 percent of instances, reducing violations from 3.98 to 1.7 per file. However, fewer than 26 percent of cases are fully resolved, and about 30 percent of patches introduce structural changes. We also find that iterative agent-based refinement increases computational cost by 52 percent and API usage by 1.64 times without improving remediation outcomes. These findings indicate that while LLMs are effective for partial accessibility repair, they are insufficient for complete and reliable remediation. Scalable accessibility solutions require hybrid approaches that combine LLM capabilities with rule-based validation and constraint-aware correction mechanisms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。