Theodor George Vasile

Menu

Self-initiated · Accessibility, UX/UI, Web development · 2026

An accessible design system, taken from Figma variables to tested React components.

A design system built to show the full path from design file to working code. It has three levels of variables, three themes, two densities and 20 React components. Every component is documented against WCAG 2.2 AA.

  • Concept
  • In progress

This is a self-initiated concept project. It was not made for a client.

Title slide of the project presentation: Accessible Design System. Figma is the source of truth. Tokens flow to code automatically, and accessibility is checked by construction.

Context and brief

Design systems often look accessible in Figma and lose it in code. Colours pass in the file and fail in the product. Focus states exist in a mock-up and nowhere else.

I set myself one brief: build a system where the design file and the code cannot drift apart, and where accessibility is checked by a machine on every change.

My role

All of it: variable architecture, component design in Figma, the token pipeline, React components, tests and documentation.

Process

  1. Figma. Variable collections for primitives, semantic colours (light, dark and high contrast), density (comfortable and compact) and components. A contrast matrix sits in the file. There are 20 components with variants and states, plus accessibility annotations.
  2. Tokens. Variables are exported from Figma into the W3C design tokens format and built with Style Dictionary into CSS custom properties, TypeScript and JSON. A drift check fails the build if code and Figma disagree. A contrast test checks every text and background pair.
  3. Components. 20 components built on React Aria Components and styled only with component tokens. They include a combobox, a dialog that traps focus, a sortable data table, a date picker, toasts and a currency input that follows the user's locale.
  4. Tests. Storybook with theme and density switchers. Keyboard tests and axe-core checks run on every story. Playwright snapshots catch visual changes.

Key decisions

Three levels of variables

Primitive values, then semantic names, then component tokens. A theme changes the semantic level only, so a new theme is a new set of values and no component is touched.

High contrast as a full theme

It is built and tested like light and dark, not added as an afterthought.

React Aria for behaviour

Keyboard and screen reader behaviour comes from a tested library. My work is the styling, the tokens and the proof that it still passes.

Checks in the pipeline

Contrast and drift are tested on every change, so a failing colour cannot be merged by accident.

What is not done yet

A manual test protocol for NVDA and VoiceOver is written. The results will be published here once the tests have been run. Until then, no screen reader results are claimed.

Accessibility notes

WCAG 2.2 criteria this project addresses, and how.

  • 1.4.3 Contrast (Minimum)

    Level AATested with automated checks

    Every text and background pair is listed and tested in all three themes.

  • 1.4.11 Non-text Contrast

    Level AATested with automated checks

    Borders, icons and focus rings are part of the same contrast test.

  • 2.1.1 Keyboard

    Level ATested with automated checks

    Each component has keyboard tests that run on every story.

  • 2.4.3 Focus Order

    Level ATested with automated checks

    The dialog keeps focus inside while it is open and returns it to the trigger on close.

  • 2.4.7 Focus Visible

    Level AATested with automated checks

    One focus ring token is used by every component.

  • 4.1.2 Name, Role, Value

    Level ATested with automated checks

    Roles and states come from React Aria Components and are checked with axe-core.

  • 4.1.3 Status Messages

    Level AABuilt, not yet tested with users

    Toasts are announced without moving focus.