package file→ .shtukbase/packages/design-scales/judges/measure.md
judges/measure.md
18 lines, 1.2 KB.
- # Judge: text line length
- Norm SCL-R04. How many characters fit in a line depends on the font, the window width and how blocks are nested. This is visible only on the assembled page.
- **Who judges.** The screen's reviewer: a person or an agent with a browser, not the author of the screen.
- **When.** On a new screen with paragraphs of text: an article, help, an email, a description, a report.
- **What to look at.**
- 1. The sensor first: `shtuk run design-scales measure`. It prints widths in `ch` outside 45–75; start with those.
- 2. A window at the full width of a large screen (1440 px and wider). In a body-text paragraph, count the characters in one full line (with spaces). It should be 45–75; 65 is good.
- 3. A narrow window (360 px): a body-text line shorter than 45 characters is tolerable, but not under 30.
- 4. Tables, captions, buttons and labels are not counted: they are not paragraphs.
- **How to fix.** Give the text block `max-width: 65ch` (Tailwind `max-w-prose`). If the width is needed for layout, limit the inner text block, not the whole column.
- **Result.** A finding is a task with the screen and the number of characters. All in place: a note in the change description: "SCL-R04 — checked".