Sub topic 14
Annotating Wireframes for Handoff
This chapter assumes you know basic wireframing, common interface components, and how HTML and CSS structure a page. The goal is to make accessibility decisions visible before a developer writes production code.
Why annotations matter
A wireframe shows where elements go. An annotation explains how each element should behave. Without that explanation, developers may infer behavior from appearance alone. A visual icon may become an unlabeled button. A red border may become the only error signal. A two-column layout may receive an illogical keyboard order.
Accessibility annotations preserve design intent during handoff. Add them beside the wireframe, in a design-system note, or in the project specification.
Annotate decisions that affect:
- Semantics, such as heading levels, landmarks, buttons, links, and form controls
- Reading order and keyboard focus order
- Keyboard behavior, including shortcuts and expected keys
- Focus appearance and component states
- Labels, hints, errors, and status messages
- Text alternatives for meaningful images and icons
- Reflow, zoom, and small-screen behavior
- Contrast and non-color cues
Use a consistent annotation format
Give each annotation an identifier, a location, a requirement, and a verification note. A short identifier makes review comments and tickets easier to track.
| ID | Location | Requirement | Verification |
|---|---|---|---|
| A-01 | Order history heading | Use one `h1`, followed by `h2` for each order group | Heading outline has no skipped levels |
| A-02 | Filter button | Operable with Enter and Space; focus returns to the button after closing | Keyboard-only test |
| A-03 | Email field | Persistent visible label, hint, and specific error linked to the input | Screen reader announces all three |
Mark states separately. A component may need annotations for default, hover, focus, disabled, loading, success, and error states. State changes must not depend on color alone.
Connect the wireframe to page structure
Draw a simple structure diagram before visual design. This makes the intended landmark and heading hierarchy explicit.
Annotate the intended reading order with numbers. For interactive controls, add a separate focus-order sequence. These sequences usually match, but a visually positioned element must not jump ahead of content in the DOM.
Specify implementation intent
Prefer native HTML semantics in the handoff. State the expected element before suggesting ARIA. For example:
<section aria-labelledby="recent-heading">
<h2 id="recent-heading">Recent orders</h2>
<button type="button">Show details</button>
</section>The annotation should say “Use a button because this control changes the current page state.” Use a link when the action navigates to another URL. Add ARIA only when native HTML cannot express the required relationship or state.
Review the handoff
Before development starts, review every interactive element with keyboard-only navigation. Check that labels, errors, focus states, and status messages are specified. Test the wireframe at increased zoom and on a narrow viewport. Ask another person to follow the annotated reading order without seeing the visual design.
Exercise
A wireframe uses a red border to show an invalid email field. What should the handoff annotation add?
Show answer
Require a persistent label, a specific text error, an invalid-state programmatic association, and a non-color cue such as an error icon or message. The error must be announced and linked to the field.