Organize complex page content

How to arrange a page around what its users need and what patterns and components to reach for. This page does not show the patterns themselves. It provides guidelines to content organization and links to the pages where the examples are shown. Learn about the page container and page areas on Layouts.

Evaluating user needs

What a user needs to learn determines the right organizational pattern to employ for any group of content. Use the four questions below as a starting point. Each question has a test and a set of patterns that answer it. Most content will fit under one of these questions. Have an edge case? Discuss it with the design team.

Where am I?

The address or the item changes.

What matters here?

Directing user attention.

Which part do I need?

The content swaps in place.

Can I learn more?

Richer details are revealed upon request.

The main content comes first

Before choosing components, decide what the page is for and which content is primary. Everything else is arranged so it does not push the primary content down.

Where secondary content goes

Each kind of secondary content has a home that keeps the main content high and wide. Compare at least two homes for each piece, and keep the one that leaves the main content highest and widest.

Where controls go

A control sits with what it changes. The more of the site it changes, the higher it sits on the page.

Long pages

Long pages need special consideration of their organization. The longer the page, the more we need to think about navigation, defining page zones, and not losing your place.

Rules

  • Choose typographic and proximity-based organization patterns first, and reach for visible containers only when called for. This is the organizing principle to follow throughout.
  • Use only the questions the content raises. When a page uses more than one layer, they stack in this order: navigation, then tabs, then filters.
  • A page in a set follows the set. Pages in one section of a site, such as arXiv's help pages, share one template: the opening band and the TOC bar are on every page of the set or on none. Before choosing, find out whether the page belongs to a set and what the set already uses. If no one has said, ask; if you cannot ask, say what you assumed.
  • In a set that uses the opening band, every page has an introduction: one to five sentences that say what the whole page is for. Use the page's own text only if it introduces the whole page; a sentence that opens a section introduces that section, not the page. Otherwise write a sentence or two.
  • A page outside a set, or in a set without the band, decides for itself. Without the band it has no TOC bar and no introduction.
  • When a filter sets what the whole page is about, the page heading names the choice, as in “Charts for cs”, and so does the page's <title>, so tabs, history and bookmarks tell the choices apart. With nothing chosen, the heading is the view alone. A filter that narrows one set on the page never changes the heading.
  • A page with little on it needs no section headings. The page heading names it; a heading such as “Subject groups” under “All sections” adds nothing.
  • A link in the header navigation is not repeated on the page, and no link on the page repeats the page heading.
  • One name for one thing. Choose one word for each kind of thing, such as “section”, and use it in every heading, link and sentence.
  • Show readers what they can use. A page shows each reader only what their permissions allow; inside an internal tool it does not label parts of the page with who may see them. A privileged control on a public page is the exception: it says it is privileged, as DESIGN-POLICIES.md requires.
  • Reveal on request rather than add a setting. Something a reader needs now and then opens when they ask for it, as a popover or a tooltip does. A setting that keeps it on screen adds noise for everyone else.
  • A count says what the reader cannot see for themselves. Search results always have one, even for a few results: the range at the top of the results, “1–3 of 3 results”. See Search; no results is a message. A set the reader has filtered ends its header bar with how much is left, “3 of 120 holds”. See Filters. A list longer than one page states its range in its pager, “1–50 of 18,659”. A set shown whole that the reader did not search or filter, such as a short table, a paper's versions or a group's categories, has no count.
  • A control is filed under what it does. A Permalink switch is a reading feature, not an accessibility one, and a way to add alt text sits beside the figures. Filed under another topic, a control is both hidden and mislabelled.
  • A group of blocks, such as a sidebar, is ordered by value, the most used first, and shown in the same order as the markup, so a screen reader meets the main action first too.
  • When chrome has to shrink, keep the control readers use often and let one they use rarely go, as a paper's TOC bar keeps its contents list before a mode switch.
  • Prefer disabling to removing. When one page of a group cannot use a control the other pages have, show it disabled there, so every page of the group keeps one layout and the reader learns where the control lives. This is a default, not a rule: leave the control out where a disabled one would mislead.