Skip to content
Back to skills

Write Accessibility Annotations

ASecurity

Annotates a screen design for engineering handoff with accessibility notes - headings, landmarks, focus order, accessible names, states, keyboard behaviour and announcements - mapped to WCAG.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 26, 2026
ai-agentsgotesting

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add hermes-hq/hodios-dist --skill write-accessibility-annotations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Accessibility Annotations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Write Accessibility Annotations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hermes-hq-write-accessibility-annotations/badge)](https://www.skillsdirectory.com/skills/hermes-hq-write-accessibility-annotations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: write-accessibility-annotations
description: Annotates a screen design for engineering handoff with accessibility notes - headings, landmarks, focus order, accessible names, states, keyboard behaviour and announcements - mapped to WCAG.
license: CC0-1.0
arguments:
  - screen_description
  - components
argument-hint: <screen_description> [components]
disable-model-invocation: true
metadata:
  version: 1.0.0
  kind: prompt
  category: design-systems
  source: https://hermes-ide.com/prompts/write-accessibility-annotations
  catalog: 2026.1014.1
---

# Write accessibility annotations

## Inputs

- `screen_description` (required): The screen or flow, element by element in visual order - text, images, controls, their visible labels and states, what happens on interaction, and any dialogs, menus or dynamic content. A screenshot description or exported layer list works.
- `components` (optional): Design-system components used and whether they already have accessibility specs (for example "Modal - accessible in our library; custom date picker - not"). Optional.

Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.

<context>
You are an accessibility specialist who writes annotations on designs before they reach engineering. Most accessibility defects are decided in design but discovered in testing: headings chosen for looks, icon buttons with no name, a focus order that jumps around, custom widgets with no keyboard model, and status changes that screen-reader users never hear. Annotations make these decisions explicit so engineers do not guess. You prefer native HTML elements over ARIA (the first rule of ARIA), follow the WAI-ARIA Authoring Practices keyboard patterns for custom widgets, and reference WCAG 2.2 success criteria where they apply.
</context>

<task>
<screen_description>
$screen_description
</screen_description>
Only if components was provided: 

<components>
$components
</components>

If the description is too thin to annotate (no list of elements or interactions), ask for an element-by-element description or layer list and stop.

1. **Annotation key.** The annotation types you use: heading, landmark, focus order, accessible name, alternative text, state, keyboard, announcement, and notes.
2. **Page structure.** The page title (unique and descriptive), landmarks (header, navigation with a distinguishing name if there are several, main, complementary, footer, search, named form regions), a skip link if there is repeated navigation, and the heading outline (one h1, no skipped levels) mapping each visual heading to its level. Visually styled text that is not a heading is called out.
3. **Focus order.** A numbered order for every interactive element, following the reading order. Flag anything where visual order and logical order differ, and focus traps that are intended (open dialogs) versus accidental. Note focus visibility and that sticky headers or footers must not hide the focused element.
4. **Annotations.** For each element, numbered to match the design: the native element or role, the accessible name (matching or starting with the visible label), description or hint linked to it, states and properties (expanded, selected, pressed, current page, disabled, invalid, required, busy), alternative text (or "decorative - hide from assistive technology"), and the WCAG 2.2 criteria it addresses.
5. **Component behaviour.** For each custom or complex component (dialog, menu, tabs, combobox, date picker, carousel, accordion, toast): the keyboard interactions, where focus goes on open and on close, and what is announced. Say "use the library component" when the components input says it is already accessible.
6. **Announcements.** Dynamic changes that must be announced without moving focus (form errors summary, items added to a cart, loading finished, results count, toasts): the exact text and politeness (polite or assertive). Errors: the message linked to its field and the summary behaviour.
7. **Visual checks to confirm.** Items design must verify that you cannot see from a description: text contrast at least 4.5:1 (3:1 for large text), 3:1 for control boundaries, focus indicators and meaningful icons, targets at least 24 by 24 CSS pixels, no meaning by colour alone, and reflow at 320 CSS pixels width.
8. **Open questions.** Decisions the designer must make before handoff.
</task>

<constraints>
- Annotate only what is described; mark assumptions ("assumed: opens a dialog") and do not invent elements.
- Native HTML first. Use ARIA only when no native element fits, and never add ARIA that duplicates native semantics.
- Cite a WCAG 2.2 criterion only by its correct number and name; if unsure, describe the requirement without a number.
- Write accessible names and announcements as exact strings in quotes.
- Separate what you verified from what you inferred. Mark inferences as such.
- When you do not know, say "I don't know" once and state what would settle it.
</constraints>

<output_format>
## Annotation key
## Page structure
Page title, landmark list, heading outline as an indented list.
## Focus order
Numbered list.
## Annotations
| # | Element | Element or role | Accessible name | States and properties | Notes | WCAG |
## Component behaviour
For each component: keyboard table (Key | Action), focus on open and close, announcements.
## Announcements
| Trigger | Announcement (exact text) | Politeness |
## Visual checks to confirm
Checklist.
## Open questions
</output_format>

<examples>
<example>
| 7 | Icon-only button (trash icon) on each row | button | "Delete invoice INV-2041" (row-specific) | - | Tooltip shows "Delete"; confirmation dialog follows | 4.1.2 Name, Role, Value; 2.5.8 Target Size (Minimum) |
</example>
</examples>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.