software engineering9 min read

Your alt text passes automated checks. That doesn’t mean it’s any good.

2 similar posts
  • GitHub Accessibility Scanner
  • Playwright
  • Azure AI Vision

AI Summary

This article explores the limitations of automated accessibility testing for image alt text. It details how GitHub's accessibility team developed a plugin that distinguishes between deterministic rules (like checking for filenames in alt tags) and heuristic-based judgments using vision models. The authors emphasize that automated tools should serve as a floor for accessibility, not a replacement for human judgment, and discuss the technical trade-offs regarding false positives, layout-aware analysis, and the privacy implications of sending image data to external models.

Key Takeaways

  • Distinguishes between 'proving' a string is wrong (deterministic) versus 'suspecting' quality issues (heuristic).
  • Highlights that layout-aware analysis (bounding boxes) is more effective than DOM-order analysis for detecting repetitive alt text.
  • Discusses the architectural challenges of integrating vision models, including cost, privacy, and the need for structured output to prevent models from acting as 'critics' rather than 'reviewers'.

Why it matters

It provides a practical framework for engineers building automated quality checks, highlighting the importance of balancing strict deterministic rules with opt-in AI-driven suggestions to maintain developer trust and reduce false positives.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.