DesignChecker: Visual Design Support for Blind and Low Vision Web Developers

Mina Huh, Amy PavelarXiv 2024 · DOI

TL;DR

DesignChecker is a novel browser extension that provides visual design feedback and actionable CSS suggestions to blind and low vision (BLV) web developers. By translating visual aesthetics—like color harmony, text alignment, and layout spacing—into screen-reader-accessible feedback, it empowers BLV developers to create websites that are both highly accessible and visually appealing to sighted audiences.

What Problem Does This Paper Address?

While blind and low vision (BLV) web developers are highly proficient at writing accessible code, they face a unique barrier: assessing the visual impact of their design choices. Screen readers excel at navigating code structure and content, but they cannot convey whether text is overlapping, if a layout looks cluttered, or if a color scheme is visually jarring.

To compensate, BLV developers often rely on sighted friends or colleagues for feedback. However, this feedback is frequently vague (e.g., "This doesn't look right") and difficult to translate into concrete code changes. This paper addresses this gap by creating a tool that automatically audits visual design and provides explicit, code-level remediation suggestions tailored for screen-reader users.

Methods

The authors developed DesignChecker, a browser extension built on a pipeline that combines rule-based heuristics, computer vision, and large language models (LLMs) to analyze a webpage's HTML, CSS, and rendered appearance.

Figure 1: DesignChecker is a browser extension that helps BLV web developers to improve their web design. With Design Comparison, users can easily assess their current web design by comparing it to visual design guidelines, a reference website of their choice, and a trend of similar websites. With Design Suggestions, users can quickly identify HTML elements with the issue and resolve the issue by following the CSS suggestions.

Key components of the technical pipeline include:

  • Text Layout & Line Length Analysis: DesignChecker captures a screenshot of the page and runs Google’s Document AI OCR to map rendered text lines back to HTML elements. This allows it to detect visual bugs like accidental title linebreaks or overly long paragraphs that hurt readability.
  • Spatial Alignment Grouping: The system uses an alignment grouping algorithm to identify close UI elements and flag subtle misalignments that a screen reader wouldn't normally catch.
  • Color Contrast & Harmony: To evaluate contrast, DesignChecker implements the Advanced Perceptual Contrast Algorithm (APCA). For color harmony, it extracts dominant colors using Color Thief, maps raw hex codes to descriptive names (e.g., "Soft pastel blue") via GPT-4, and generates cohesive palettes using Material Design guidelines.
Figure 4: To improve color harmony, DesignChecker first extracts the primary color from the original web design and generates a color palette for pre-defined roles (e.g., surface, outline) [7]. Using the definitions of color roles and the gen- erated palette, GPT-4 suggests colors for UI elements.

Crucially, DesignChecker presents these issues by grouping them by CSS classes rather than individual HTML elements. This design choice prevents screen-reader fatigue, allowing developers to quickly locate and fix a single style block to resolve multiple visual errors across the site.

Datasets

The authors curated two distinct datasets to inform and power the system:

  1. BLV Website Dataset: An initial dataset of 20 websites created by BLV developers (including blogs, personal sites, and product pages) used to analyze common visual design issues.
  2. Design Trends Dataset: A benchmark dataset of 100 modern websites across 5 categories (Blog, Tutorial, Personal Website, Organization Website, and News/Magazine), with 20 sites per category. This dataset allows DesignChecker to provide contextual design comparisons based on real-world web trends.

Key Insights and Ideas

  • The Power of Trends Over Guidelines: BLV developers noted that comparing their work to a dataset of similar websites gave them more confidence than abstract design guidelines alone. Knowing what is "popular" or standard in the industry helps them match the expectations of sighted users.
  • Designing Against Screen-Reader Fatigue: Traditional visual design tools use visual markers (like red boxes) to highlight errors. DesignChecker translates these into structured, text-based summaries. Grouping errors by CSS class rather than element-by-element was a vital design choice that streamlined the debugging process for screen-reader navigation.
  • Descriptive Color Names Matter: Raw hex or RGB values are meaningless to a totally blind developer. By leveraging an LLM to translate these values into descriptive, semantic color names, developers gain a conceptual understanding of their site's visual mood.

Key Results

The authors evaluated DesignChecker in a within-subjects study with 8 BLV web developers, comparing it against their typical workflows (which included tools like standard screen readers, search engines, or general LLMs like ChatGPT).

  • Higher Issue Resolution: Participants using DesignChecker resolved significantly more visual design issues (mean = 6.6) compared to the baseline workflow (mean = 2.8).
  • Increased Efficiency: Developers made nearly twice as many successful design edits when equipped with DesignChecker (mean = 7.8) than without it (mean = 4.3).
  • Improved User Experience: NASA-TLX cognitive load metrics revealed that DesignChecker significantly reduced user frustration and effort while substantially increasing developers' confidence in their final visual output.

Limitations and Future Work

DesignChecker currently focuses on text, basic layout spacing, and color harmony, meaning it does not yet support broader design aspects like verifying image aspect ratios, visual symmetry, or page density. Additionally, because the pipeline relies on AI models (GPT-4 and OCR), it is subject to occasional errors, such as inconsistent color naming or misaligned text mapping when background and foreground colors are too similar.

Future iterations aim to integrate DesignChecker directly into code editors (like VS Code), utilize multimodal models (like GPT-4V) to improve pipeline efficiency, and explore conversational assistants that allow developers to ask open-ended questions about their layouts.

Summary updated

BibTeX
@misc{huh2024designchecker,
  author = {Mina Huh and Amy Pavel},
  title = {{DesignChecker: Visual Design Support for Blind and Low Vision Web Developers}},
  year = {2024},
  eprint = {2407.17681},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.17681},
}
Figure