accessibility

A Figma design review and editing guide covering color contrast, readable text, touch-target size, layer order, and structure. Figma is a collaborative tool for designing interfaces.

In plain words
What is it for?
Checking or improving interface designs for accessibility, including contrast calculations, reading order, descriptive layer names, grouped content, focus indicators, and role labels.
Why use it?
It helps find design choices that can make interfaces difficult to read, navigate, or use with assistive technology. It also explains how to document accessibility details in the design.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/madebypan/figcc/accessibility
Any agent
npx skills add madebypan/FigCC --skill accessibility
Clone the repo
git clone --depth 1 https://github.com/madebypan/FigCC

Made for: Claude Code, Codex.

Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 602 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00021 $0.00602
Opus 5 $0.00010 $0.00301
Sonnet 5 $0.00004 $0.00120
Haiku 4.5 $0.00002 $0.00060

Measured 2d ago against content hash 7c5e4e63b857, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

accessibility scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/accessibility/SKILL.md · 66 lines

How it starts

The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Accessibility

When creating or auditing Figma designs, apply accessibility best practices. This skill guides you on contrast, structure, and annotations.

Color contrast

WCAG 2.1 minimum requirements:

  • Normal text (< 18pt or < 14pt bold): 4.5:1 contrast ratio
  • Large text (≥ 18pt or ≥ 14pt bold): 3:1
  • UI components and graphical objects: 3:1
  • AAA target for normal text: 7:1

When the user asks to check contrast, calculate the relative luminance of both colors and report the ratio. Use the formula:

L = 0.2126 * R + 0.7152 * G + 0.0722 * B
(where R, G, B are linearized: c <= 0.04045 ? c/12.92 : ((c+0.055)/1.055)^2.4)
ratio = (L1 + 0.05) / (L2 + 0.05)  where L1 > L2

Focus order & reading order

  • Layer order in Figma = reading order for screen readers (bottom of the layers panel = first).
  • Use descriptive layer names — they become accessible names.
  • Group related elements so they are announced together.

Annotations

When adding accessibility annotations, create a frame named A11y Annotations on top of the design with:

  • Red outlines for focus indicators
  • Labels for roles: button, input, link, heading, image, list
  • Tab order numbers in circles
// Example: add a focus ring annotation
const ring = figma.createRectangle();
ring.name = 'focus-ring';
ring.fills = [];
ring.strokes = [{ type: 'SOLID', color: { r: 1, g: 0, b: 0 } }];
ring.strokeWeight = 2;
ring.dashPattern = [4, 4];
// Position it over the target node
ring.x = targetNode.x - 2;
ring.y = targetNode.y - 2;
ring.resize(targetNode.width + 4, targetNode.height + 4);

Text sizing

  • Minimum body text: 16px for web, 14px for dense UI
  • Line height: 1.5× font size for body text
  • Don't use text opacity below 0.6 for readable content

Rules

  • Always flag contrast issues before finishing any color-related task.
  • Never convey information by color alone — pair with shape, pattern, or label.
  • When setting opacity, note that it affects the entire node including contrast.

Read the full file on GitHub · 66 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 66 lines · 21 tokens per session scan A 7c5e4e63b857

Subscribe to this mod's changes

accessibility is a skill published in the GitHub repository madebypan/FigCC (22 stars, last pushed 27d ago), licensed MIT. It adds 21 tokens to every session and 602 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

figma-codegen

Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…

awdr74100/figwright · 145 tokens

figma-build

Build a Figma design from code or a description — the reverse of figma-codegen. Reuses the connected file's existing design system (components, variables, styles) instead of drawing primitives with hardcoded values. Triggers whenever the user wants something created or updated IN Figma from code or a spec — e.g.…

awdr74100/figwright · 180 tokens

figma-ui-restore

使用 Figma Agent Kit(figma-agent-mcp + Desktop 插件)将 Figma 画板/Frame 按 scope 做 1:1 UI 还原:锁 scope、TEXT 全量归类、切图打标、3× savescreenshots、 bounds 落码、分块对照与验收清单。适用于「按 Figma 还原页面 / 组件 / 弹窗」、 「1:1 还原」「切图落盘」「对照设计稿验收」等场景。默认 strict;用户明文 fast 时可压缩部分步骤。.

ChinaCarlos/figma-agent-kit · 135 tokens

claude-design-skill

Claude Code-based design skill for hi-fi prototyping and Figma MCP-driven precision design work. Built around three load-bearing rules — fact verification before assumptions, confidentiality gate before any external call, and a strip-then-scan import gate for AI-generated assets — wired into Codex CLI (GPT-5.5…

0xmhha/claude-design-skill · 184 tokens

aw-mg-import-parity

MasterGo2Figma 仓库的 mg 导入保真度修复工作流。用户给出新的 .mg 测试文件与对应基准 zip 的路径,外加一个包含 mg 导入、zip 导入、截图(图片)三种页面的 Figma 链接,要求以截图为渲染基准、zip 为结构辅助、修复 mg 导入还原问题时必须使用本 SKILL。只要用户在 MasterGo2Figma 项目里提到"新测试集""导入效果不对""贴近图片/截图""mg 导入问题""还原有问题"并附上 .mg/zip 路径或 figma.com 链接,即使没有点名本 SKILL 也应触发。覆盖 comparemgimport 结构比对、mgPackage.js 二进制逆向、importer…

AaronXu-Lab/MasterGo2Figma · 210 tokens

slide-design

Design and generate a polished, layout-varied Figma Slides deck from a topic or outline using the slide-mcp plugin. Use when the user wants to create / build / generate a slide deck or presentation in Figma (e.g. "make a deck about X", "/slide-design "). Produces varied layouts (cover, content, charts, images, code…

Rikuto-des/slide-mcp · 93 tokens