Skip to main content
QUICK REVIEW

[论文解读] ACCESS: Prompt Engineering for Automated Web Accessibility Violation Corrections

Calista Huang, Alyssa Ma|arXiv (Cornell University)|Jan 28, 2024
Digital Accessibility for DisabilitiesSocial Sciences被引用 3
一句话总结

本文提出 ACCESS,一种基于提示工程的框架,利用大型语言模型(LLMs)实时修改文档对象模型(DOM),自动纠正网页可访问性违规。通过利用 GPT-3.5-turbo-16K 和结构化提示,该系统在一项新型基准测试中使可访问性违规严重性评分降低超过 51%,展示了提升网页包容性的可扩展、半自动方法。

ABSTRACT

With the increasing need for inclusive and user-friendly technology, web accessibility is crucial to ensuring equal access to online content for individuals with disabilities, including visual, auditory, cognitive, or motor impairments. Despite the existence of accessibility guidelines and standards such as Web Content Accessibility Guidelines (WCAG) and the Web Accessibility Initiative (W3C), over 90% of websites still fail to meet the necessary accessibility requirements. For web users with disabilities, there exists a need for a tool to automatically fix web page accessibility errors. While research has demonstrated methods to find and target accessibility errors, no research has focused on effectively correcting such violations. This paper presents a novel approach to correcting accessibility violations on the web by modifying the document object model (DOM) in real time with foundation models. Leveraging accessibility error information, large language models (LLMs), and prompt engineering techniques, we achieved greater than a 51% reduction in accessibility violation errors after corrections on our novel benchmark: ACCESS. Our work demonstrates a valuable approach toward the direction of inclusive web content, and provides directions for future research to explore advanced methods to automate web accessibility.

研究动机与目标

  • 解决尽管已有检测工具,自动化纠正网页可访问性违规仍存在关键空白的问题。
  • 减少开发人员和组织在手动修复可访问性问题时的时间、成本和不准确性。
  • 开发一种实用且可扩展的解决方案,利用基础模型和提示工程实现对 DOM 层的实时纠正。
  • 创建一个可复现的基准(ACCESS 基准)以评估自动化纠正的有效性。
  • 通过为视觉、听觉、认知或运动障碍用户提供可访问的网络内容,提升数字包容性。

提出的方法

  • 通过 Playwright API 在多样化网站上自动识别可访问性违规。
  • 构建违规规范与对应 DOM 结构的数据集,用于训练和评估。
  • 通过提示工程使用 GPT-3.5-turbo-16K 为每项违规生成修正后的 HTML 代码。
  • 设计包含违规类型、上下文和 WCAG 合规规则的提示,以指导准确的修正。
  • 直接在实时 DOM 中应用修正,同时保持页面功能和结构不变。
  • 通过 ACCESS 基准评估有效性,该基准量化了修正前后的违规严重性评分。

实验结果

研究问题

  • RQ1LLM 是否能在不进行完整微调的情况下,通过提示工程有效纠正网页可访问性违规?
  • RQ2自动化 DOM 层级修正在多大程度上能根据 WCAG 标准降低可访问性违规的严重性?
  • RQ3该修正系统的性能在不同类型可访问性违规和不同类型的网站之间如何变化?
  • RQ4与手动修复相比,半自动化的基于提示的方法是否能实现可测量的违规严重性降低?
  • RQ5提示设计对自动化修正的准确性和可靠性有何影响?

主要发现

  • ACCESS 框架在使用 GPT-3.5-turbo-16K 进行自动化修正后,使可访问性违规严重性评分降低了 51%。
  • 该系统成功修正了多种符合 WCAG 的违规,包括缺失的替代文本、不正确的 ARIA 标签以及语义 HTML 错误。
  • 提示工程显著提升了 LLM 生成的 HTML 修复的关联性和正确性,优于通用提示策略。
  • ACCESS 基准在多样化网站上均显示出一致且可测量的改进,验证了该框架的泛化能力。
  • 该方法具有可扩展性和适应性,具备集成到浏览器扩展或开发工具中以实现实时可访问性增强的潜力。
  • 结果表明,即使 LLM 输出具有非确定性,通过稳健的提示设计和验证,自动化修正仍是可行且有效的。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。