r/accessibility • u/Shoddy_One4465 • 4d ago
Small open-source CLI that catches the basic automated a11y regressions in CI (not a replacement for real testing)
I'm the author of oratos, an open-source CLI that audits a site's rendered HTML in CI. Accessibility is one part of it, and I want to be clear about how small that part is.
It checks things that are easy to detect in static HTML and easy to break in a template change: missing lang on <html>, images without alt, empty alt on images that look meaningful, links with no text, a missing <main> landmark, form controls without a label, and skipped heading levels. It fails the build under a score threshold or on any warning.
It does not check colour contrast, keyboard behaviour, focus order, ARIA correctness, or how a screen reader actually reads the page. Automated checks cover only a fraction of real accessibility problems, and passing them says nothing about whether the site is usable. I use it to stop the basics from regressing between releases, alongside manual and assistive-technology testing.
Repo: https://github.com/latentmeta/oratos
Which static-HTML checks would you actually want in a CI step, and which ones tend to produce noise?