Writing
Let the model suggest; let code do the parts that have to be right
A rule keeps showing up across my AI labs. Models are useful for ideas, drafts, and pictures. Anything that has to be right, especially anything about accessibility, goes in code, where it cannot be hallucinated.
Where the rule shows up
- Pictures. In SVG Lab, art is drawn by code from settings and a seed, so arcs close and colors stay the colors you picked. Each picture gets a WCAG contrast table computed in code, stated in words so it never depends on seeing hue.
- Charts. On my tldraw boards, a model step can answer as a chart. The model returns only data. Code draws the chart, puts values on the marks, and writes the alt text.
- Writing. In Steer Lab, reading level and must-keep phrases are measured in code. Tone and audience are labeled as model judgment, so the reader knows which claims were checked.
- Measurement. In MiniT2I Lab, Word Ladder reports how far a picture moves as a pixel difference, not a second model's opinion.
- Rules as math. In my differentiable labs, WCAG color contrast and target size are written as small ReLU circuits, so a gradient can show which way to move a color or a spacing value to pass. The public pieces are on a11y.world.
The same idea runs through my essays: gate an agent on a measured number, and test agents against planted failures with known answers. Accessibility checks belong in the part of the system that can't make things up.
A2UI Accessibility Lab
The Observatory is where I read a scenario run. A notice at the top says the announcements are computed from the accessibility tree. The timeline then lists, for each step, the DOM mutations, the accessibility tree changes, what was announced, what stayed silent, and the findings.
Differentiable Contrast Lab
This is the rules-as-math version of a contrast check. The lab rewrites the four WCAG contrast formulas as affine transforms and ReLU gadgets, then runs that circuit in the browser. The default scenario is the Orange brand palette.
Limits
Code checks cover what can be computed. Image descriptions and many design judgments still need a person, which is the finding of my document transformation pilot: automation fixes structure, not meaning. That pilot is on Projects. The longer essay under that title is still in preparation.