Audited accessibility with a Claude skill and recorded every fix in Figma

I used Claude Code, connected to Figma through the Figma MCP, to audit the Login screen components and the type scale of the Mamut design system. Each fix is recorded visually in Figma: what changed, which WCAG guideline it answers, and how it looked before and after.

Role
Researcher, Product Designer
Product
Mamut Design System
Year
2025 to 2026
Tools
Claude Code, Figma MCP, Figma
Worked with
An engineer, from the start
Recreation of the Mamut Login screen, light mode. It is drawn from the Figma design, not a screenshot of the app. Colours and text sizes in Before are illustrative.

Chose to centralize scattered documentation instead of living with it

Mamut is an app for family caregivers of children and teens with autism. I was designing its system in Figma: prototypes, components and guidelines based on Material 3. I wanted accessibility considered from the first component, not added at the end.

The trade off was documentation. It was spread across docs, Figma, comments from an accessibility expert who advised me at this stage, Claude chats and the WCAG site. It went out of date every time a screen changed. I could keep it by hand, or find a way to centralize it automatically. I chose the second.

OPEN One concrete cost of this choice, besides being slower per component.
  • Docs
  • Figma
  • Expert comments
  • Claude chats
  • WCAG site
All five feed intoAudit and change login Figma
The five places the documentation lived, now centralized in one audit and change log.

Wrote requirements Claude could audit the Login screen and type scale against

I wrote down which contrast an interface has to reach, and which WCAG guideline each rule comes from.

What I wrote

Contrast requirements

  • Text must reach at least 4.5:1.WCAG 1.4.3
  • Large text and interface parts must reach at least 3:1.WCAG 1.4.3, 1.4.11
The rule I wrote for contrast.

A skill turns those rules into a repeatable audit. Claude runs it on the screen and measures every pair of colors.

Skillwcag-contrast-audit

Checks the contrast of every text, icon and border against the background behind it, then proposes solid fixes that it has verified.

  1. Find each pairA colour and the background behind it. Translucent fills are flattened first.
  2. MeasureA bundled script computes the contrast ratio for every pair.
  3. ReportA table with the ratio, what is needed and pass or fail, plus the fix.
The skill Claude used for the contrast audit.

Each fix, up close

This is what the audit returned for the Login screen. Each card shows the rule, the numbers and the change, zoomed in so even a small one is easy to see.

Carried the type scale fixes into the design system as v1.1

The audit also covered the type scale. The main finding was body text that was too small, so I moved it from 12px to 16px at a line height of 1.5. I did not edit the design system by hand: Claude opened the file, made the change and re-versioned the type scale table.

Before
12 / 18size and line height

Rutinas claras para navegar el día juntas. Cada paso tiene su momento y su espacio, para que nadie tenga que adivinar qué sigue.

After
16 / 24size and line height

Rutinas claras para navegar el día juntas. Cada paso tiene su momento y su espacio, para que nadie tenga que adivinar qué sigue.

Key fixBody large: size 12 to 16, line height 18 to 24.

Turned three separate jobs into one repeatable audit

Writing documentation, checking accessibility and keeping the system current used to be three jobs. Now they happen together: write the requirement, let the skill check it, and let the change log update in the same step.

It is slower at the start, because I had to write the requirements down. What you get back is documentation that was still true the following week.

TypographyMamut Design System v1.1

typography/{role}/{size} · body 16px or more · running text line height 1.5 or more · M3 letter spacing on small sizes

Type scale v1.1, every token with size, line height, weight, letter spacing and the change from the previous version
PreviewTokenSize / LHWeightLSChange in v1.1
display/large57 / 64 1.12Medium-0.25—
display/medium45 / 52 1.16Medium0—
display/small36 / 44 1.22Medium0—
headline/large32 / 40 1.25SemiBold0—
headline/medium28 / 36 1.29SemiBold0—
headline/small24 / 32 1.33SemiBold0—
title/large22 / 30 1.36Medium0Line height 28 to 30
title/medium16 / 24 1.50Medium+0.15Tracking +0.15
title/small14 / 21 1.50Medium+0.1Line height 20 to 21
body/large16 / 24 1.50Regular+0.15Size 12 to 16, line height 18 to 24 Key fix
body/medium14 / 21 1.50Regular+0.25Line height 20 to 21, tracking +0.25
body/small12 / 18 1.50Regular+0.4Line height 16 to 18, tracking +0.4
label/large14 / 20 1.43Medium+0.1Renamed from body/small, weight to Medium
label/medium13 / 18 1.38Medium+0.5Size 14 to 13, weight to Medium, tracking +0.5
label/small12 / 16 1.33Medium+0.5Size 14 to 12, weight to Medium, tracking +0.5
The type scale page in the design system file, recreated here as text. Claude made the changes in the file and re-versioned the table, so none of it was edited by hand. Scroll the table to see every token.
OPEN Result heading
OPEN One number. Components audited, problems found, entries generated.

I would extend the audit to every component and keep testing with people

Writing the requirements first is what made the audit possible. It was slower at the start, but it turned three separate jobs into one step, and the documentation stayed true after the screens changed. I also check with Stark, a plugin made for accessibility, so the Claude skill is one check among several.

I already had results from testing the low fidelity version with people, but this audit measured contrast and text size on only two areas: the Login screen and the type scale. A passing ratio does not tell me whether a screen is easy to use, so I would test the high fidelity version too.

I would extend the same rules to the rest of the components, run the check as each one is made, and keep testing with the caregivers who use the app.