Web accessibility guidelines require sufficient color contrast between text and backgrounds; yet, manually adjusting colors often necessitates significant visual deviation, compromising vital brand aesthetics. We present a novel, multi-phase optimization approach for automatically generating WCAG-compliant colors while minimizing perceptual change to original design choices.
Our method treats this as a constrained, non-linear optimization problem, utilizing the modern perceptually uniform OKLCH color space. Crucially, the optimization is constrained to preserve the original hue ($\text{H}$) of the color, ensuring that modifications are strictly limited to necessary adjustments in lightness ($\text{L}$) and chroma ($\text{C}$). This is achieved through a three-phase sequence: binary search, gradient descent, and progressive constraint relaxation.
Evaluation on a dataset of 10,000 procedurally generated color pairs demonstrates that the algorithm successfully resolves accessibility violations in $77.22\%$ of cases, with $88.51\%$ of successful corrections exhibiting imperceptible color difference ($ΔE_{2000} < 2.0$) as defined by standard perceptibility thresholds. The median perceptual change for successful adjustments is only $0.76\ ΔE_{2000}$, and the algorithm achieves this with a median processing time of $0.876\text{ms}$ per color pair.
The approach demonstrates that accessibility compliance and visual design integrity can be achieved simultaneously through a computationally efficient, perceptually-aware optimization that respects brand identity. The algorithm is publicly implemented in the open-source cm-colors Python library.
ACCESS: Prompt Engineering for Automated Web Accessibility Violation Corrections
Carlmont High School(卡尔蒙特高中);Crofton House School(克罗夫顿豪斯学校);Lynbrook High School(林布鲁克高中);International School of Zug and Luzern(楚格与卢塞恩国际学校);Columbia University(哥伦比亚大学);Taipei American School(台北美国学校);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of California Berkeley(加州大学伯克利分校)
Bringing Cognitive Augmentation to Web Browsing Accessibility
Politecnico di Milano(米兰理工大学);University of Claude Bernard Lyon 1(里昂第一大学(克洛德·贝尔纳大学))
在本文中,我们将探讨认知增强带来的机会,以提供更自然和更方便的Web浏览体验。我们探索这些机会,通过\textit{conversational web browsing},一个新兴的互动模式,使盲人和视障用户(BVIP),以及普通用户,通过会话代理访问网站的内容和功能。通知的文献,我们以前的工作和原型设计练习,我们得到一个概念框架,支持BVIP会话的Web浏览需求,然后专注于自动提供这种支持的挑战,描述我们的早期工作和原型,利用只考虑结构和内容功能的算法。
From Code to Compliance: Assessing ChatGPT's Utility in Designing an Accessible Webpage -- A Case Study
Department of Computer Science, Norwegian University of Science and Technology(计算机科学系,挪威科学技术大学);Department of Design, Norwegian University of Science and Technology(设计系,挪威科学技术大学)