Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Przegląd i audyt

audit-accessibility-figma

/audit-accessibility-figma

Tworzy dogłębną kartę dostępności jednego komponentu Figma: pokrycie stanów, jakość i kontrast wskaźnika fokusu, różnicowanie stanów bez koloru, rozmiar celu, adnotacje i symulacja ślepoty barw, z ocenami 0-100.

Licencja
MIT
Ostatnia zmiana repozytorium
01.06.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 01.06.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/audit-accessibility.js

Co robi i kiedy

Tworzy dogłębną kartę dostępności jednego komponentu Figma: pokrycie stanów, jakość i kontrast wskaźnika fokusu, różnicowanie stanów bez koloru, rozmiar celu, adnotacje i symulacja ślepoty barw, z ocenami 0-100.

Wyzwalacze z opisu

audit this componentaccessibility score for this buttonis this component set accessible
Oryginalny opis (EN)

Deep accessibility scorecard for a single Figma component or component set — state coverage (default/hover/focus/disabled/error/active/loading), focus-indicator quality and contrast, non-color state differentiation, target size, annotation completeness, and color-blind simulation (protanopia/deuteranopia/tritanopia), all rolled into per-category 0–100 scores and prioritized recommendations. Use when the user wants to vet ONE component before shipping it: triggers 'audit this component', 'accessibility score for this button', 'is this component set accessible', 'check the states on this compone

Jak działa

  1. Skill boundaries
  2. Workflow
  3. Key rules
Sekcje z nagłówków SKILL.md, w oryginale · 42 linii, 381 słów
Podgląd SKILL.md
---
name: audit-accessibility-figma
description: "Deep accessibility scorecard for a single Figma component or component set — state coverage (default/hover/focus/disabled/error/active/loading), focus-indicator quality and contrast, non-color state differentiation, target size, annotation completeness, and color-blind simulation (protanopia/deuteranopia/tritanopia), all rolled into per-category 0–100 scores and prioritized recommendations. Use when the user wants to vet ONE component before shipping it: triggers 'audit this component', 'accessibility score for this button', 'is this component set accessible', 'check the states on this component', 'does my button have a focus state', 'color blind check', 'rate this component for a11y', 'component accessibility scorecard'. Works on ANY Figma plan. For a broad sweep over a whole page/frame use lint-design-figma; for CODE-side (HTML) checks use scan-code-accessibility-figma."
disable-model-invocation: false
---

# audit-accessibility-figma — per-component a11y scorecard

Run a deep accessibility audit on a **single component or component set** and get a weighted 0–100
scorecard with prioritized fixes. Where `lint-design-figma` sweeps a whole tree for many rule
violations, this skill goes deep on one component: it understands variant axes, classifies the
component as interactive vs presentational, and scores each a11y dimension accordingly.

All via `use_figma`, on any plan — it inspects the real variant tree, fills, strokes, effects, and
the component description.

## Skill boundaries
- **`use_figma` rules** — load the official **`figma-use`** skill first; it is the full Figma Plugin API reference. Essentials these scripts rely on: plain JS with top-level `await` + `return` (no IIFE, no `figma.closePlugin()`; `console.log` is not returned), inputs inlined as `const` at the top of each script, colors in 0–1 range, load fonts before any text op, `await figma.getNodeByIdAsync(...)`, and **atomic errors** (a failed script applies nothing — read the error, fix, retry).
- **Tree-wide WCAG + design-system lint** → use `lint-design-figma`.
- **CODE-side a11y** (axe-core over HTML) → use `scan-code-accessibility-figma`.
- **Design-vs-code drift** → use `check-design-parity-figma`.

## Workflow

1. **Target a component.** Set `NODE_ID` to a COMPONENT_SET, COMPONENT, or INSTANCE id (the script
   walks INSTANCE → main component → parent set automatically). Leave it `null` to audit the current
   single selection.
2. **Set the tap-target minimum.** `TARGET_SIZE` defaults to 24 (WCAG 2.5.8 minimum); pass 44 or 48
   for stricter mobile targets.
3. **Run** [`scripts/audit-accessibility.js`](scripts/audit-accessibility.js) via `use_figma`
   (`skillNames: "audit-accessibility-figma"`).
4. **Read the scorecard.** `overallScore` is a classification-weighted blend of the six category
   scores. See [references/audit-categories.md](references/audit-categories.md) for each category, its
   weight, and how to raise it.
5. **Work the recommendations.** `recommendations[]` is already sorted by `priority`
   (`high`/`medium`/`low`) with the WCAG SC named. Fix, then re-run to confirm the score moved.

## Key rules
- **Interactive vs presentational** is auto-detected from the component name and variant axes. It
  changes which categories are scored and their weights — a badge is not penalized for lacking a
  focus state; a button is.
- **Colors are 0–1 floats.** Contrast uses sRGB luminance; color-blind simulation uses
  Brettel/Viénot dichromat matrices.
- **Coverage** means interaction states for interactive components, and variant-axis completeness
  (actual variants ÷ expected combinations) for presentational ones.
- The audit is read-only — apply fixes with `manage-variables-figma` / `figma-use`, then re-audit.
Pliki w paczce (3)
  • SKILL.md 4 KB
  • references/audit-categories.md 5 KB
  • scripts/audit-accessibility.js 18 KB

Wersje

W bazie nie ma innych skilli o nazwie audit-accessibility-figma.

Migawka bazy z 13.11.2026 · wersja paczki 12e969bdc10f (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90figma-audit-accessibility
    Ocenia dostępność jednego komponentu Figma: stany, kontrast i wskaźniki fokusu, rozmiar celu oraz symulację daltonizmu, w skali 0 do 100.
  • 90figma-analyze-component-set
    Analizuje zestaw wariantów komponentu Figma jak maszynę stanów: osie wariantów, mapowanie na pseudoklasy CSS i różnice między stanami.
  • 90analyze-component-set-figma
    Analizuje zestaw komponentów Figma jako maszynę stanów: wyciąga osie wariantów, mapuje stany na pseudoklasy CSS i liczy różnice wizualne wariantów do generowania interaktywnych komponentów.
  • 90lint-design-figma
    Lintuje drzewo węzłów Figma pod kątem dostępności WCAG 2.2 i jakości systemu projektowego: kontrast, rozmiar celu, wskaźniki fokusu, kolor jako jedyny sygnał, zakodowane kolory i odłączone komponenty.
  • 90accessible-color-review
    Przegląda wybory kolorów pod kątem kontrastu, spójności semantycznej, dostępności dla osób z zaburzeniami widzenia barw i czytelności stanów interfejsu.
  • 100button-states
    Wyprowadza stany przycisku (spoczynek, hover, active, focus, disabled, loading) z koloru bazowego, przy projektowaniu przycisków, linków, pól i klikalnych komponentów.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.