Briefatto LabBriefatto Lab

Questions

How do you check text contrast in AI-generated pages?

board check renders each piece and fails text below WCAG contrast, together with text that is clipped, too small where it is seen, or in a font that never loaded. It sets exit status 1 on a failure, so the agent fixes the piece before handing it over.

Updated Markdown version

Briefatto BoardFree and open source, Apache-2.0

Blind-tested against Impeccable, Taste Skill and Hallmark

Automated tests, green CI

Claude Code, Codex, Cursor, Copilot, Gemini CLI, Windsurf and any agent that reads AGENTS.md

Run it

shell
npx briefatto-board check --floor-only post.html

On a project with a frozen DESIGN.md, run npx briefatto-board check . "outputs/*.html". The block in AGENTS.md and CLAUDE.md tells the agent to run it on every piece before handing it over.

Contrast on the rendered page

Contrast depends on the colour each piece actually paints, after every style, variable and override has applied. board check measures the rendered piece, so the result is the contrast your reader sees.

Audit the current site

Run npx briefatto-board adopt . --check to put your existing pages through the same floor before freezing their look. The agent shows the findings and proposed fixes and waits for your yes.

Questions and answers

Which contrast standard does it use?

WCAG. A piece with text below WCAG contrast fails the check.

What else does the same run check?

Clipped, off-canvas, overlapping and too-small text, fonts that never loaded, and the anti-patterns found by the Impeccable detector.

Is Briefatto Board free?

Yes. It is open source under the Apache-2.0 licence and installs with npx briefatto-board install.

One guide. Every agent.

Briefatto Board is free and open source under Apache-2.0. One command adds the skill and the pointer your agent reads.

npx briefatto-board install

Sources

  1. github.com/Briefatto/briefatto-board/blob/main/README.md
  2. github.com/Briefatto/briefatto-board/blob/main/src/board/cli.ts
  3. github.com/Briefatto/briefatto-board/blob/main/src/board/formats.ts
  4. github.com/Briefatto/briefatto-board/blob/main/src/board/standing.ts
  5. github.com/Briefatto/briefatto-board/blob/main/skill/briefatto-board/SKILL.md
  6. github.com/Briefatto/briefatto-board/blob/main/LICENSE