Field Notes

Short, specific articles on the details other guides skip. Every note shows before it tells, and every note ends in a lab or a live example.

Latest notes

  • Twenty-four pixels is a smaller promise than it sounds

    WCAG 2.2 asks for pointer targets of 24 by 24 CSS pixels. The spacing exception means a row of 18 px icons can pass and a row of 24 px icons can be hard to hit. Here is the rule, the circle, and the five exceptions, drawn.

    Published · target size, pointer, wcag 2.2, layout

  • When the toolbar will not fit

    Five icons, a narrow bar, and a 24 px rule that cannot be met as laid out. Adding height does not fix it. Wrapping does. An equal split of the width can leave every icon one pixel short. Here is the order to try fixes in, and when to stop.

    Published · target size, pointer, wcag 2.2, layout

  • Tab order is a promise the DOM makes

    The Tab key follows the HTML, not the layout. CSS cannot change that order, a positive tabindex hijacks it, and aria-hidden does not remove a stop. One real walk found 162 stops where a list of the markup said 64. Here is why, and how to check.

    Published · keyboard, focus, layout, wcag 2.2

  • The sticky header that eats your focus

    Shift+Tab back up a form and the field you land on slides under the sticky header. The browser scrolled just far enough, and just far enough is behind the bar. WCAG 2.2 calls it focus not obscured. One CSS property fixes it.

    Published · keyboard, focus, layout, wcag 2.2

  • Where focus goes when a dialog opens

    A dialog owes a keyboard user three things. Put focus inside it on open. Keep Tab inside while it is open. Give focus back to the opener on close. Miss any one and the reader is lost behind the dialog or dropped at the top of the page.

    Published · keyboard, focus, dialogs, wcag 2.2

  • One brand color cannot serve a light and a dark surface

    A link blue used on a navy header and on a pale panel fails on one of them. Moving it to fix the header breaks the panel. The only fix that passes both is two tokens, one per surface. Here are the numbers, and why no single value works.

    Published · color, contrast, design tokens, dark mode

  • Fix a failing color with the smallest move

    A color fails contrast and you want to change it as little as possible. There are two short paths, lightness alone and a mix toward black or white. They often end at the same place, and when they do not, the difference is hue. Here is how far each one travels, with numbers.

    Published · color, contrast, design tokens

  • Charts that still read when printed in grey

    A chart passes when it still carries its message on a grayscale printer. That means three lightness levels, not three hues; dash and shape before pattern; and labels on the data instead of a legend. This is the rule every chart on this site follows, written down.

    Published · color, charts, data visualization

  • Check the number in the browser, not in the tool

    A color fixer said 11 failing pairs before and 2 after. The browser said 57 failing elements before and 10 after. Both were true. A verification pass that reads computed styles is the only number worth reporting, and here is what it found.

    Published · evaluation, results, agents, contrast

  • A small decision model sorts documents from page one

    A 9-billion-parameter vision model read only the first page of each PDF and named the kind of document 58 times out of 60. It also spotted the scanned pages, ran in under a second, and gave the same answer every time.

    Published · Updated · models, documents, evaluation, pdf

  • Alt text is a decision, not a description

    The same photo needs five different alt texts on five different pages. If you are describing pixels, you have skipped the only question that matters.

    Published · alt text, writing

  • Simplified Technical English: what ASD-STE100 is and why accessibility people should care

    A controlled language built for aircraft maintenance manuals turns out to be one of the best tools we have for cognitive accessibility and for writing agents. How it works, how it relates to the ISO plain language standard, where it fits, and where it does not.

    Published · writing, plain language, cognitive, agents

  • Skip links people actually find

    A skip link that is first in the tab order, visible the moment it has focus, and labeled for where it goes. Most skip links fail at least one of those.

    Published · keyboard, navigation, css

  • Hover is a state most people do not have

    Touch, keyboard, switch, and voice never hover. A menu, tooltip, or button that appears only on hover does not exist for them.

    Published · keyboard, touch, css

  • The empty alt is a choice

    alt="" tells a screen reader to skip the image on purpose. A missing alt tells it to read the file name. They look similar in the source and could not be more different to a reader.

    Published · alt text, html, screen readers

  • Alt text for charts: the data is the alt

    A chart's alt text is one sentence that says what the chart shows. The numbers go in a table next to it, where a reader can move through them. An alt that holds twelve values is unreadable.

    Published · alt text, charts, data

  • Terminal colors are a contrast problem too

    A terminal theme is sixteen colors of small monospace text. Most themes ship with two of them unreadable, and the light variant fails in a different place than the dark one.

    Published · color, terminal

  • Alt text for generated images

    When an image came from a model, the prompt is not the alt and the pixels are not the point. The alt carries what the image was made to do on this page.

    Published · alt text, agents, images

  • Color is never the only signal

    Red for error, green for success, blue for links. Take the color away and ask what is left. If the answer is nothing, the state was never communicated.

    Published · color, states, forms

  • Build a palette that passes every pair

    Not every pair in a palette has to pass. Every pair you use has to. Here is how to build a palette where the allowed pairs are obvious and the forbidden ones are hard to reach for.

    Published · color, design systems

  • Reduced motion is not no motion

    The reduced-motion setting is a request to cut the motion that causes harm, not a request for a static page. Here is which animations to keep, shorten, and remove.

    Published · motion, css

  • 400 percent zoom is a layout test, not an edge case

    Zoom a desktop page to 400 percent and you get a 320 pixel wide viewport. If the page cannot reflow into that, it has failed for everyone who needs large text.

    Published · zoom, layout, css

  • Contrast ratio vs perceived contrast

    WCAG 2 gives one number for a color pair. APCA gives a different one, and sometimes a different verdict. Where they disagree is where the pair is marginal.

    Published · color, wcag, apca

  • Reading order is not visual order

    CSS can put anything anywhere. Screen readers and the Tab key follow the DOM, not the layout. When the two disagree, the page tells two different stories.

    Published · layout, css, screen readers

  • The focus ring is the interface

    For anyone who moves through a page without a mouse, the focus ring is the cursor. Here is what a great one looks like and why most of them fail.

    Published · focus, keyboard, css

  • How an agent should decide on alt text

    A five-question decision tree an AI agent can follow to choose alt text, in the order that produces the fewest wrong answers.

    Published · agents, alt text

  • A checklist for code-generating assistants

    Eighteen checks an assistant can run on its own HTML and CSS before returning it, each tied to a stable rule id and a test corpus page.

    Published · agents, html, css

  • Why agents miss focus states

    Static analysis cannot see a focus ring. Here is the three-step procedure an agent can run instead, and the one CSS pattern that passes everywhere.

    Published · agents, focus, css

  • Why your focus ring vanishes in dark mode

    A ring designed on a white mockup is a coin toss once the page can be dark. The fix is not a darker ring. It is a second tone.

    Published · focus, dark mode, color

One new note a month, more when a lab lands. Subscribe with the RSS feed.

Know a detail nobody has written down?

That is exactly what this section is for.

Suggest a note