UI DESIGN LAB
  • Home
  • Community
  • Library
  • Knowledge
  • Docs
ZHLogin
Back to knowledge
Typography Color Accessibility

Focus Order and Reading Order

Focus Order and Reading Order turns a frequent interface judgment into an executable constraint before generation.

focuskeyboardreading-order

Design Principle

A mismatch between visible layout and assistive navigation order breaks orientation and comprehension.

Principle A mismatch between visible layout and assistive navigation order breaks orientation and comprehension.

Design action Keep DOM, visual, and tab order aligned after recomposition; focus enters modals on open and returns to the trigger on close.

Examples Positive example: Responsive grids, multi-column layouts, drawers, modals, and complex forms may change reading paths. Counterexample: CSS visually reorders content while DOM order remains confusing.

Apply when Responsive grids, multi-column layouts, drawers, modals, and complex forms may change reading paths. Users need to judge state, scope, risk, or next action quickly.

Source notes Source note: Synthesized from W3C WCAG 2.2, Apple Accessibility, IBM Carbon Accessibility, and accessibility practices in major design systems.

Agent Directive

Keep DOM, visual, and tab order aligned after recomposition; focus enters modals on open and returns to the trigger on close.

Apply When

  • Responsive grids, multi-column layouts, drawers, modals, and complex forms may change reading paths.
  • Users need to judge state, scope, risk, or next action quickly.

Avoid

  • CSS visually reorders content while DOM order remains confusing.
  • Irrelevant structure, copy, or decoration is added only to make the UI feel richer.

Knowledge Metadata

Category
Typography Color Accessibility
Quality
86%
Version
v1
Published
6/6/2026