Accessibility annotations are structured notes that designers add to mockups and prototypes to specify how an interface must behave for people using assistive technology. In accessibility practice within design, they document information that a static picture cannot show, such as heading levels, focus order, accessible names, landmarks and states, so that developers implement it correctly the first time.
Annotations close the gap between what a design looks like and what the code must expose to screen readers, keyboards and other input methods. They turn accessibility from a late audit finding into an explicit part of the design handoff.
What accessibility annotations document
Accessibility annotations document the non-visual layer of a design: the semantics, relationships and behaviors that assistive technologies rely on. A visual mockup shows a bold line of text, but only an annotation can state that it is an H2 heading that begins a new section of the page.
The most common annotation categories and the questions they answer are summarized below.
| Category | What it specifies | Who relies on it |
|---|---|---|
| Headings | Heading levels from H1 to H6 | Screen reader users navigating by heading |
| Landmarks | Regions such as header, navigation, main, footer | Users jumping between page regions |
| Focus order | Sequence of interactive elements on Tab | Keyboard and switch users |
| Accessible names | Labels for icons, buttons and fields | Screen reader and voice control users |
| Roles and states | Component type, expanded, selected, disabled | Assistive technology announcing changes |
| Alternative text | Description of meaningful images | Users who cannot see images |
Further annotations cover error messages and live announcements, reading order where it differs from visual order, touch target sizes, motion behavior and the handling of zoom and text resizing.
How annotations connect design to standards
Accessibility annotations translate design intent into requirements that map to WCAG success criteria and to the semantics defined by HTML and WAI-ARIA. Each note should be specific enough that a developer can choose the correct element or attribute without guessing.
The table shows how typical annotations correspond to WCAG 2.2 criteria and to implementation choices.
| Annotation | Related WCAG criterion | Typical implementation |
|---|---|---|
| Heading level | 1.3.1 Info and relationships | Native h1 to h6 elements |
| Focus order | 2.4.3 Focus order | Logical DOM order, no positive tabindex |
| Accessible name | 4.1.2 Name, role, value | Visible label or aria-label |
| Alternative text | 1.1.1 Non-text content | alt attribute or empty alt for decoration |
| Error message | 3.3.1 Error identification | Text linked with aria-describedby |
| Focus indicator | 2.4.7 Focus visible | Visible outline style on focus |
A sound principle is to prefer native HTML semantics over ARIA. An annotation that says “button” is better than one that prescribes a generic element with an added role, because native elements provide keyboard behavior and states automatically.
Annotation methods and tools
Teams create accessibility annotations with numbered callouts, color-coded overlays or component-level specifications, usually inside the design tool or in a linked document. The method matters less than consistency and completeness across the product.
The following comparison helps teams choose a format.
| Approach | Strengths | Limitations |
|---|---|---|
| Annotation kit stickers | Fast, visual, standardized symbols | Can clutter complex screens |
| Design tool plugins | Semi-automated, consistent output | Plugin may miss custom patterns |
| Component documentation | Defined once, reused everywhere | Does not cover page-level context |
| Separate specification document | Detailed, easy to review | Drifts out of sync with designs |
Mature teams combine methods: design system components carry built-in accessibility specifications, while page-level annotations cover headings, landmarks, focus order and content that is unique to each screen. Plugins such as Stark can help with contrast checks and annotation workflows.
When and how to annotate in the design process
Annotations work best when they are created during design, not after development. Adding them at the wireframe stage reveals structural problems such as missing headings or illogical reading order while changes are still cheap.
- Define page structure first: landmarks and the heading outline.
- Mark the focus order for every interactive element, including modals and menus.
- Name every control, especially icon-only buttons and form fields.
- Describe states and announcements, such as loading, errors and expanded panels.
- Review annotations with developers before implementation begins.
Annotations should be reviewed by someone with accessibility expertise and verified after build through keyboard testing and screen reader testing. An annotation is a specification, not proof that the result is accessible.
Common mistakes in accessibility annotations
Most annotation problems come from vague, incomplete or contradictory notes that force developers to guess. The table lists frequent mistakes and how to correct them.
| Mistake | Consequence | Fix |
|---|---|---|
| “Make it accessible” as the only note | Developer guesses semantics | Specify element, name and behavior |
| Heading levels chosen by font size | Broken document outline | Annotate levels by structure |
| No focus order for overlays | Keyboard focus escapes the dialog | Specify focus trap and return point |
| Overuse of ARIA roles | Conflicting or redundant announcements | Prefer native elements |
| Annotations not updated | Code follows outdated intent | Version annotations with designs |
Another frequent failure is annotating only the default state of a screen. Interfaces change constantly: menus expand, validation errors appear, content loads asynchronously and toasts disappear after a few seconds. Each of these moments needs a note describing what is announced, where focus moves and how long content stays visible, because these dynamic behaviors are exactly where keyboard and screen reader users most often get lost.
Finally, annotations should avoid prescribing exact code when the intent is enough. A note such as “announce the number of results after filtering” lets developers choose a suitable live region technique, while an overly specific instruction can lock in a pattern that behaves poorly in some screen reader and browser combinations.
The idea in brief
A design picture shows how a screen looks, but it cannot show how it sounds to someone using a screen reader or how it works with only a keyboard. Accessibility annotations are the instructions that fill this gap.
They work like the notes an architect adds to a building plan: where the ramps go, which doors open automatically, and where the signs in Braille belong. Without those notes, builders might create a beautiful building that many people cannot enter. Clear annotations help developers build products everyone can use.
A practical scenario
A design team at a regional bank is preparing a new loan application form with five steps, a date picker and several icon-only help buttons. In earlier releases, accessibility audits found missing labels and a dialog that keyboard users could not close, which required costly rework after launch.
For the new form, the designer annotates each screen with the heading outline, a numbered focus order, accessible names for every icon button, error message associations and the focus behavior of the help dialog, including where focus returns when it closes. Developers implement the form from these notes, and a follow-up test with NVDA, VoiceOver and keyboard-only navigation finds only two minor issues instead of dozens, both fixed before release.