Skip to content

Frequently asked questions

Short answers about Justified by Blackwood & Blake. Each one links to the page that explains more.

Behaviour rules and components for shadcn apps. The rules decide how an interface behaves: where an error goes and when it appears, when a button may be disabled, what Escape does in a dialog. Each rule is tried against WCAG 2.2 and weighed by three design systems before it is published. Alongside the rules come a theme, components that follow them, two skills for AI coding agents and an ESLint plugin. Why shadcn apps need behaviour rules

No. shadcn already gives you components. Justified adds the decisions around them, and a few components that already follow those decisions. Design system vs component library

Not for every part. The rules describe behaviour, not code, so you can follow them in any stack. The theme is plain CSS custom properties. The components come through a shadcn registry and need React, Tailwind CSS v4 and shadcn set up in the project. The ESLint plugin works on any React code. Get started

Not on its own. Justified helps you work toward WCAG 2.2 AA. It is not a certification, and it does not make a product compliant. How your product is built, written and tested still decides. Test with real people and assistive technology too. Read the full statement

Most of its interactive components wrap Radix, which handles a lot: focus inside a dialog, arrow keys in a radio group, the roles screen readers need. What it leaves to your app is the behaviour around the components, and that is where most problems start. Is shadcn accessible?

The method works like a court. WCAG 2.2 is the law. Material, Apple and Carbon are the judges, and their written guidance decides the verdict. GOV.UK and Nielsen Norman Group are expert witnesses: their stances are shown with the verdict, but they do not vote. A judge who has not written about the question is not counted as a vote against. Method

Because each of them takes a stance in writing on how an interface should behave, and a verdict needs stances we can link to, not reputations. The judges are three design systems from different companies, so no single company’s habits decide a verdict. The expert witnesses bring public-service practice and usability research. Every stance on a rule page links to the source’s current official page.

What is the difference between a rule and a guideline?

Section titled “What is the difference between a rule and a guideline?”

A rule is decided by WCAG or by the judges. A guideline is our own choice, where the judges are split or too few of them have spoken. A guideline says so, gives our reasons and never claims the sources agree. A product that chooses otherwise is not wrong. Agents follow rules and let a guideline give way to a convention your project already has. Rules and guidelines

Claude Code gets the rules as a skill, and a second skill reviews code against them. Any agent that reads an instructions file can use AGENTS.md. For an agent that cannot open links, AGENTS-full.md holds every rule in one file. Use with an AI agent

In the first test run, yes. A coding agent built 20 interface tasks in five setups. With Justified it broke 66% fewer checks than with no guidance. It also broke 39% fewer than with a popular public set of agent guidelines. That run used one model and one build of each task, and a fuller run is planned. Does it work?

Yes. In that run, builds with Justified used about twice as many input tokens as builds with the public set of guidelines, and cost about 16% more per build. We do not claim it saves cost. Does it work?

What if my project needs to do something differently?

Section titled “What if my project needs to do something differently?”

Do it, and write it down. When you ask an agent for something a rule advises against, it does what you ask and says which rule it departs from. To make a departure last, record it in justified.json with a reason. ESLint, the agent and the review all read that file. Write down your own decisions

A decided rule is not expected to change what it asks, though its wording may get clearer. A proposed rule has been tried and reviewed, but it may still change. Every rule has a version and a history on its page. When a rule changes in a way that matters, the agent and the review tell you if you have an override written against an older version. Keep the rules current

Yes. The code is under the MIT License, and the rule texts and documentation are under CC BY 4.0. The source is on GitHub.

Open an issue for a bug, a broken source link, unclear wording or a rule that does not work in practice. Objections to a verdict are most welcome: include a link to the official page that supports your view, and the rule is tried again. Pull requests are not accepted, because every rule text goes through a fixed writing and review process. Contributing on GitHub

Blackwood & Blake, Carl Magnus Swahn’s studio. Justified is written and built by AI agents, and the test page says which model or script did each step. No sponsor, donor or client can influence a verdict.

No. Justified is an independent project and has not been authorized, sponsored, or otherwise approved by Apple Inc., Google, IBM, the UK Government Digital Service, Nielsen Norman Group or W3C.