一个用于改进无障碍Web开发的原型VS Code扩展
A Prototype VS Code Extension to Improve Web Accessible Development
AI总结:
本文提出一个集成LLM的VS Code插件,在IDE内帮助开发者检测并修复Web无障碍问题,实验表明其修复有效但通用提示的错误检测准确性有限。
摘要:
实现Web无障碍对于构建包容性的数字体验至关重要。然而,无障碍问题往往在网站完全开发完成后才被发现,这使得它们难以解决。本文介绍了一个Visual Studio Code插件,该插件集成了对大型语言模型(LLM)的调用,以帮助开发人员在IDE内识别和解决无障碍问题,从而减少可能进入生产环境的无障碍缺陷。我们的评估显示出有前景的结果:当错误被正确检测时,该插件能够有效地为无障碍问题生成可用的修复方案。然而,使用为广泛适用于各种代码结构而设计的通用提示来检测错误仍然具有挑战性,并且准确性有限。
英文摘要:
Achieving web accessibility is essential to building inclusive digital experiences. However, accessibility issues are often identified only after a website has been fully developed, making them difficult to address. This paper introduces a Visual Studio Code plugin that integrates calls to a Large Language Model (LLM) to assist developers in identifying and resolving accessibility issues within the IDE, reducing accessibility defects that might otherwise reach the production environment. Our evaluation shows promising results: the plugin effectively generates functioning fixes for accessibility issues when the errors are correctly detected. However, detecting errors using a generic prompt-designed for broad applicability across various code structures-remains challenging and limited in accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。