# The business app UI standard, with the numbers behind each rule

A business app screen passes our standard when its text holds APCA Lc 75 under 14px, it uses only the type scale's sizes, figures in tables line up with tabular digits, a table over 20 rows keeps its header, cut text can be read whole, every control is 44px on a phone and nothing moves longer than 120ms under reduced motion. Each rule is a check that runs on 197 demo screens in four passes. On 1 December 2026 those checks found over 150,000 problems; by 2 December, six of the rules found none.

Published 2 December 2026, Checked 2 December 2026. By Bohuslav Poláček. https://meadowstack.com/blog/business-app-ui-standard/

*Each rule with its threshold, what the review of 30 November 2026 and the audit's first run of 1 December found, and the state on 2 December (four passes: 1440 and 390px, light and dark).*

| Rule | Threshold | Found by hand, 30 Nov | First run, 1 Dec | 2 Dec |
| --- | --- | --- | --- | --- |
| Text contrast | APCA Lc 75 under 14px, 60 from 14px, 45 from 24px or 16px at 550; never under WCAG 4.5:1 | Dark secondary text at Lc 42 to 60; 538 of 633 texts on Brightpath's plan under | 40,560 | 0, no exceptions |
| Type scale | Only the scale's sizes; 11px only for initials, key caps and counts up to three characters | 11 font sizes in the code | 2,354 | 0, no exceptions |
| Figures in tables | A number ends at its cell's edge, in tabular figures, unit in the header | Ridgeway's reports: 119 of 119 cells at the start, in proportional figures | 370 on 13 screens | 0, no exceptions |
| Long tables | Over 20 rows, the header stays in view | None of 18 tables over 20 rows kept its header | 76 on 20 screens | 0, no exceptions |
| Cut text | Text cut by an ellipsis can be read whole: hover, keyboard focus and touch | Stonebridge's crews: 129 cut items without a tooltip | 1,954 | 0, no exceptions |
| Touch targets | Under 640px every control is hit over 44 × 44px | 71 to 85 % of controls under 32px at 390px | 10,486 | Being fixed: up to 10,424 allowed |
| Reduced motion | With reduced motion, no transition or animation over 120ms | Not counted | 101,110 | 0, no exceptions |
| Hidden focus | Nothing focusable stays invisible once it has focus | Not counted | Counted from this run | Being fixed: up to 700 allowed |

## Why a standard with numbers

"Looks designed" is not something a coding tool can check, and neither is "consistent". A threshold is. So every rule here has a number, and every number is measured on every screen, not reviewed once by eye.

On 30 November 2026 I went through 131 screens of our demo by hand and found, among others, what the table lists: dark mode text that passed WCAG's ratio and still read faint, eleven font sizes where the scale has fewer, figures that did not line up, long tables that lost their header, cut text with no way to read it whole, and phone controls at desktop sizes. None of the checks of the day caught any of it. The quality of a screen is also what the SaaS starters and admin frameworks we compare ourselves with do not measure, so it became the audit's job (decision 0014).

## How it is measured

`npm run audit` finds the screens itself: for each of the nine demo apps it opens the sidebar's pages, the settings, their tabs, and a sample record of every entity. Each screen runs four times: 1440 × 900 and 390 × 844, light and dark. On the first run, 1 December 2026, that was 197 screens.

Each rule counts the elements that break it. What the first run found went into `scripts/review-exceptions.mjs` as a count per rule, app, screen and pass. More than the count fails the audit; fewer lowers it, and a count that reaches zero leaves the file. So the list only shrinks, and a new screen cannot add a problem the old ones are being cleared of. The column "2 Dec" in the table is that file on the day this was written.

## The rules

### Text contrast

Text is measured in APCA against the background it really sits on: Lc 75 under 14px, Lc 60 from 14px, Lc 45 from 24px or from 16px at weight 550, and never below WCAG's 4.5:1. In practice, 12 and 13px text uses the main text colour or one secondary grey; the faintest grey is for icons and 14px text. The [contrast post](https://meadowstack.com/blog/contrast-in-business-apps/) has the token changes that took the count from 40,560 to zero.

### Type scale

Product text 13/20, meta 12/16, a large control 14/20, panel and dialog titles 16/24, page titles 20/28, record titles 24/32. 11px only for initials, key caps and counts of up to three characters; dates and chart labels are 12px. No 15px in an app. A size that is not on the scale is a finding, even when it looks close.

### Tables

A number ends at its cell's edge with tabular figures, and a unit other than the currency goes into the header. A table that can be longer than its container, over 20 rows, keeps its header in view, and its sort button takes the header's whole height. Every column declares its kind, and the kind sets width and alignment. The [data tables post](https://meadowstack.com/blog/data-tables-in-business-apps/) goes through it column by column.

### Cut text

Text cut by an ellipsis or a line clamp can be read whole: a tooltip on hover, on keyboard focus and on a tap. Text cut in every row is not a tooltip's job: the column is too narrow or the words too long, so fix those.

### Touch targets

Under 640px every control is hit over 44 × 44px; its label and a positioned `::before` count, a link inside a sentence does not need it. On desktop the controls are 32px (28 small). This is the rule still being worked through: on a phone most controls kept the desktop sizes, and the exceptions file allows up to 5,212 findings in each phone pass while the kit's control sizes change.

### Motion

Under `prefers-reduced-motion: reduce` no visible element has a transition or animation longer than 120ms; short fades stay. The first run found 101,110 such elements, because every screen kept its 150 to 280ms colour transitions. One rule in the kit's stylesheet fixed all of them.

### Focus and names

Nothing that can take focus stays at opacity 0 once it has it (a row action shown on hover must show on keyboard focus too). A control named by `aria-label` contains its visible text, headings do not skip a level, and two landmarks of one role do not share a name. These four were added on 1 December and are still held as counts.

## Use it on your own app

The rules hold for any business app, built with Meadowstack or not. Two ways to use them today:

- Run [UI check](https://meadowstack.com/tools/ui-check/) on a screen you have open. It is our audit's rules in a bookmarklet, scored by group, and it sends nothing anywhere.
- Paste the rules into the file your coding tool reads (`AGENTS.md`, `CLAUDE.md`, `.cursor/rules`):

```markdown
## UI standard (business app)
- Text contrast in APCA: under 14px Lc 75, from 14px Lc 60, from 24px or
  16px at weight 550 Lc 45; never below WCAG 4.5:1, light and dark, hover
  included. 12 and 13px text uses the main text colour or one secondary grey.
- Type sizes only from the scale: 12/16 meta, 13/20 text, 14/20 large
  controls, 16/24 panel titles, 20/28 page titles, 24/32 record titles.
  11px only for initials, key caps and counts up to three characters.
- Numbers in tables end at the cell's edge with tabular figures; the unit
  goes into the header.
- A table that can have more than 20 rows keeps its header in view.
- Cut text has a tooltip that opens on hover, keyboard focus and tap.
- Under 640px every control is hit over 44 x 44px.
- With prefers-reduced-motion, no transition over 120ms.
- Nothing focusable is invisible when it has focus.
Check 1440 and 390px, light and dark, before calling a screen done.
```

In Meadowstack these rules live in the root `AGENTS.md` and the audit in the repository. The rules and checks added on 1 and 2 December 2026 (APCA, type scale, figures, long tables, cut text, motion, focus) come with the next release; 2.1, released on 11 November, has the earlier audit with the layout rules and axe.

## Questions

### Why APCA on top of the WCAG contrast ratio?

WCAG 2's ratio ignores text size and polarity, so our dark mode passed it while its small grey text read faint. APCA weighs both; we keep WCAG's 4.5:1 as the floor under it.

### Why 44px targets on phones when the kit's touch controls are 40px?

44px is the hit area the audit asks for under 640px, and a control may reach it with its label or an invisible extension. The kit's control sizes on phones are what is being changed now; the audit counts what is left.

### Can I run these checks on an app not built with the framework?

Yes. UI check runs the same rules as a bookmarklet on any screen you have open, and the thresholds above are plain numbers you can give any coding tool.

### What does 20 rows have to do with a sticky header?

It is the audit's threshold for a table that can be longer than its container. A shorter table scrolls whole; a header floating over three rows reads as a glitch.

## Sources

- [WCAG 2.2, 2.5.8 Target Size (Minimum)](https://www.w3.org/TR/WCAG22/#target-size-minimum), checked 2 December 2026
- [WCAG 2.2, 1.4.3 Contrast (Minimum)](https://www.w3.org/TR/WCAG22/#contrast-minimum), checked 2 December 2026
- [APCA-W3 on GitHub (Myndex)](https://github.com/Myndex/apca-w3), checked 1 December 2026

## Related

- [Business app UI check](https://meadowstack.com/tools/ui-check/) (Tools)
- [Data tables in business apps: kinds, figures, headers, cut text](https://meadowstack.com/blog/data-tables-in-business-apps/) (Blog)
- [DataTable: the table of every list](https://meadowstack.com/components/data-table/) (Components)
- [StatusLabel: a status as a glyph and a word](https://meadowstack.com/components/status-label/) (Components)
- [APCA](https://meadowstack.com/glossary/apca/) (Glossary)
- [Target size](https://meadowstack.com/glossary/target-size/) (Glossary)
