---
title: "Design system annotations, part 1: How accessibility gets left out of components"
description: "Accessible design system components don't guarantee accessible designs: heading hierarchies break when components are composed, alt text and labels depend on context, and Figma components can't convey implementation details like link-vs-button or form submission."
url: "https://swe.quest/articles/design-system-annotations-part-1-how-accessibility-gets-left-out-of-components-66ef06ec44fc9a9e"
canonical: "https://github.blog/engineering/user-experience/design-system-annotations-part-1-how-accessibility-gets-left-out-of-components/"
source: "GitHub Engineering"
published: "2025-05-09"
difficulty: "medium"
kind: "Case study"
reading_minutes: 10
tags: ["accessibility","design-systems","frontend"]
---

# Design system annotations, part 1: How accessibility gets left out of components

A post on [GitHub Engineering](https://swe.quest/sources/github.md), published 2025-05-09, 10 min read, Case study. Original: [https://github.blog/engineering/user-experience/design-system-annotations-part-1-how-accessibility-gets-left-out-of-components/](https://github.blog/engineering/user-experience/design-system-annotations-part-1-how-accessibility-gets-left-out-of-components/)

## Summary

Accessible design system components don't guarantee accessible designs: heading hierarchies break when components are composed, alt text and labels depend on context, and Figma components can't convey implementation details like link-vs-button or form submission. GitHub's Accessibility Design team built Preset annotations for ten frequently used Primer components in its open-sourced Figma Annotation Toolkit. Designers annotate only the per-instance details, such as accordion heading levels, while everything already built into the component is skipped, and each preset links to component docs and Storybook demos.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Accessibility](https://swe.quest/tags/accessibility.md) (Web & mobile)
- [Design systems](https://swe.quest/tags/design-systems.md) (Web & mobile)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)

## Prerequisites

- design systems ([easy posts on Design systems](https://swe.quest/tags/design-systems.md?difficulty=easy))
- WCAG basics
- Figma components

## Keywords

Primer, Figma, GitHub Annotation Toolkit, WCAG, CVS Health annotation kit, Storybook

## Related posts

- [Design system annotations, part 2: Advanced methods of annotating components](https://swe.quest/articles/design-system-annotations-part-2-advanced-methods-of-annotating-components-10641335427d3115.md): GitHub Engineering · 2025-05-09 · Medium · 9 min read · Design systems, Accessibility, Frontend
  Design system teams can build their own "Preset annotations": Figma annotation components that carry accessibility details not conveyed visually, in component properties, or in code.
- [The shared language of props](https://swe.quest/articles/the-shared-language-of-props-ff2798f5935efff7.md): Figma · 2023-07-19 · Medium · 17 min read · Design systems, React, TypeScript, Accessibility, Frontend
  Figma component properties and codebase component props share names but serve different purposes: design props mark visual differences, while code props also carry behaviour, events and data.
- [Unlocking inclusive design: how Primer’s color system is making GitHub.com more inclusive](https://swe.quest/articles/unlocking-inclusive-design-how-primer-s-color-system-is-making-github-com-more-438d95888d234cb3.md): GitHub Engineering · 2023-05-11 · Medium · 6 min read · Accessibility, Design systems, CI/CD, Frontend
  GitHub's Primer design system fixed hundreds of color contrast violations across light and dark modes and all themes by changing its foundational color tokens (Primer Primitives) rather than individual components.
- [A conversation with Figma's accessibility team](https://swe.quest/articles/a-conversation-with-figma-s-accessibility-team-4d7c0aee064f1f20.md): Figma · 2022-11-17 · Easy · 9 min read · Accessibility, Frontend
  Figma's accessibility engineers and PM reflect on shipping screen reader support for prototypes and a FigJam beta.
- [How Thumbtack structures their design system](https://swe.quest/articles/how-thumbtack-structures-their-design-system-88dae4da18cdc3ea.md): Figma · 2023-07-13 · Medium · 8 min read · Design systems, Frontend, React, CSS
  Thumbtack's Thumbprint design system is organized in three layers: design tokens shared by web and native, an atomic CSS library built on the tokens, and accessible React components on top.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
