Skill Wiki v0.1.0
rule @community/rule-reading-order-matches-visual-order

Reading Order Matches Visual Order

The sequence in which elements appear in the HTML source must match the sequence in which they appear visually on screen. If CSS is disabled, the page must remain comprehensible in the same logical order.…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
3 out · 0 in
Tokens
167/334/700
$ prime install @community/rule-reading-order-matches-visual-order

Projection

Always in _index.xml · the agent never has to ask for this.

ReadingOrderMatchesVisualOrder [rule] v1.0.0

DOM source order must match the visual reading order — CSS flex/grid reordering or absolute positioning must never create a mismatch between what sighted users see and what keyboard/screen reader users navigate.

The sequence in which elements appear in the HTML source must match the sequence in which they appear visually on screen. If CSS is disabled, the page must remain comprehensible in the same logical order. Prohibited: using CSS order property, flex row-reverse, grid placement by name, or position:absolute to visually reorder elements in a way that diverges from their DOM position.

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-reading-order-matches-visual-order/atom.yaml

Compiled at 2026-05-07