Sub topic 15
Annotating Behavior and Rules
This chapter assumes you understand user flows, basic information architecture, and common interface elements such as buttons, forms, menus, and dialogs. You will learn how to make a wireframe unambiguous without turning it into a visual design specification.
Why annotations matter
A wireframe shows the structure of a screen. It may show a button labeled Apply filters, but it does not automatically explain what happens when a user selects it. An annotation records behavior, content rules, or conditions that the layout alone cannot communicate.
Good annotations answer questions such as:
- What happens after the user activates this control?
- Which fields are required?
- When is a control disabled?
- What content appears when there are no results?
- Which message appears after an error?
- Does the interaction open a new screen, a dialog, or an inline message?
- What happens when the user returns to the screen?
Place annotations beside the related element. Use numbered markers when several notes point to the same screen. Keep the wording specific and testable.
> callout note > An annotation should describe observable behavior. “Make this intuitive” is not testable. “Selecting Apply filters updates the result list and preserves the selected values” is testable. >
A practical annotation format
For each important element, record the trigger, system response, conditions, and content rule.
| Part | What to specify | Example |
|---|---|---|
| Trigger | What action starts the behavior | User selects **Apply filters** |
| Response | What the interface does | Results refresh inline |
| Condition | When the behavior changes | If no matches exist |
| Content rule | What text or data appears | Show the empty-results message |
| Persistence | What remains after navigation | Keep filter values on return |
You do not need to annotate every visual detail. Focus on decisions that a designer, developer, or tester could otherwise interpret differently.
Walk through a screen
Suppose an order-history screen contains filters, a result list, and pagination. Add annotations in this order:
- Mark the filter controls and state which values are optional or required.
- Describe what happens when the user submits the filters.
- Specify the loading state while results are retrieved.
- Specify the empty state when the query returns no orders.
- Specify the error state when the request fails.
- Describe pagination, including whether changing pages keeps the current filters.
- Record keyboard, focus, and validation behavior for interactive controls.
A useful annotation uses a condition and an outcome:
- If the date range is invalid, keep the user on the screen and show an error below the date fields.
- When results load, replace the progress indicator with the result list.
- If no orders match, show an explanation and a Clear filters action.
- If the request fails, show a retry action without discarding the selected filters.
The same approach works for mobile and web screens. Annotate platform-specific behavior when it affects the interaction, such as a mobile back action, a web URL change, or a confirmation dialog before leaving unsaved work.
Connect annotations to the flow
Annotations should agree with the user flow and screen inventory. If a note introduces a confirmation screen, add that screen to the inventory and connect it in the flow. If a note says that a form submits inline, do not draw a separate success screen unless the product requires one.
Prepare notes for handoff
Before handoff, check that each interactive element has a clear action, each important state has defined content, and each conditional rule has an observable result. Resolve conflicting notes and label unresolved decisions instead of hiding them.
Exercise
An annotated search screen says “Show helpful feedback when the search fails.” Rewrite this as a testable annotation.
Show answer
If the search request fails, keep the query in the field, show an error message below the results area, and provide a Retry action that sends the request again.