Synthèse automatique
Répare les violations d'accessibilité web (WCAG 2.2) en appliquant des correctifs mécaniques puis en vérifiant par un nouvel audit identique à la ligne de base.
Points forts
- Boucle explicite ligne de base → édition → vérification, avec comparaison des violations ciblées et détection de régressions
- Distingue les correctifs « mechanical » appliqués tels quels des cas « contextual » ou « visual » laissés en TODO avec l'identifiant de règle
- Sait remonter du DOM live vers le fichier source grâce aux lignes Source: des fibres React, avec repli sur les sélecteurs et hooks stables
- Regroupe les éditions par fichier et demande confirmation avant de toucher des fichiers hors périmètre ou plus de dix correctifs
Limites
- Ne fait que corriger : la détection des problèmes doit passer par les skills complémentaires accessibility-scan, accessibility-inspect ou accessibility-audit
- Dépend des outils MCP accesslint et, pour les URL, d'un Chrome débogable disponible ou lancé automatiquement
- Les critères nécessitant un jugement visuel ou éditorial restent en TODO, donc un audit automatisé seul ne garantit pas la conformité WCAG 2.2
À utiliser quand une liste de violations est déjà établie ou qu'une cible précise doit être rendue accessible, avec vérification mesurable après coup.
À éviter pour découvrir ce qui ne va pas sur un site entier ou pour rédiger des contenus alternatifs, car le skill ne cherche pas les problèmes et n'invente jamais de texte.
Analyse de sécurité
PrudenceThis is a remediation workflow document with no destructive commands, no obfuscated payloads, and no instructions to exfiltrate secrets or tokens. Its risk is bounded to legitimate but powerful capabilities: file edits/writes, Bash for launching or attaching to a local Chrome debugging session, and MCP audit calls. The file even includes explicit safety guardrails (don't invent alt text or labels, confirm scope before broad edits, stop rather than silently iterate), so 'caution' rather than 'risky' is appropriate.
- •Uses Bash and may auto-launch a headless Chrome via `npx @accesslint/chrome ensure --headed` / attach to a debuggable Chrome port, which can fetch packages from the network and open a local debug interface
- •Has Edit/Write permissions and instructs modifying source files in bulk; mitigations exist (confirm scope before editing outside the target, cap at ~10 mechanical fixes)
- •Handles authenticated sessions by attaching to a user-signed-in debuggable Chrome, which could expose session content to the agent's tooling
- •Declares and uses file-mutation tools (Edit, Write) to modify source code as its core function; scoped by guidance to confirm before editing files outside the obvious target and before >10 fixes, which is a reasonable safeguard but still grants broad write capability.
- •Instructs launching/attaching a browser via `npx @accesslint/chrome ensure --headed`, which downloads and executes an npm package and opens a debuggable Chrome (network + process execution).
- •References external MCP tools (audit_live, audit_html, etc.) that drive a headless browser; no evidence of those actions being destructive, but they imply network access.
- •No destructive commands (no rm -rf, no curl|sh), no secret/token exfiltration, and no obfuscated payloads found. The instructions include explicit 'stop and report' guardrails when verification fails.
Exemples
Apply these accessibility fixes to src/components/CheckoutForm.tsx — here is the findings worklist from the scan, then re-verify.Fix the a11y issues on http://localhost:3000/signup — audit the page first, apply what's mechanical, and flag the rest as TODOs.Remediate the WCAG violations in src/pages/ and confirm with me before editing anything outside that directory.name: accessibility-fix
description: "Remediation only — repair web accessibility (a11y) violations against WCAG 2.2 with a baseline, edit, and verify loop. Takes a target (URL, files, directory) or a findings worklist from accessibility-scan/accessibility-inspect/accessibility-audit, applies mechanical fixes as given, leaves TODOs for visual or contextual judgment, and verifies by re-running the baseline check. It only fixes. To find issues use accessibility-scan (one page, automated), accessibility-inspect (one page, manual), or accessibility-audit (whole site, WCAG-EM); to check for regressions use accessibility-diff. Use it for 'fix the a11y issues in X', 'make this accessible', 'add missing alt text and labels', 'apply these accessibility fixes', 'remediate these violations'."
argument-hint: "[target|url|report]"
allowed-tools: Read, Edit, Write, Glob, Grep, Bash, Skill, Task, mcp__plugin_accesslint_accesslint__audit_html, mcp__plugin_accesslint_accesslint__audit_live, mcp__plugin_accesslint_accesslint__explain_rule, mcp__plugin_accesslint_accesslint__list_rules
This skill remediates accessibility violations: baseline, edit, verify. It only fixes. To find what's wrong, use accesslint:accessibility-scan (one page, automated), accesslint:accessibility-inspect (one page, manual), or accesslint:accessibility-audit (whole site, WCAG-EM); to check for regressions, use accesslint:accessibility-diff. The engine runs here are internal to the loop — a baseline before and a check after — not a report.
Shared conventions (grounding, never invent content): ../shared/methodology.md.
For large remediations, run via Task for context isolation; the steps are the same.
Input
- A findings worklist (from
accessibility-scan,accessibility-inspect, oraccessibility-audit, or pasted): apply it directly; the baseline is already done. - A target (URL, config target name, files, or a directory): audit it first for the baseline, then fix.
Given neither, ask what to fix. Don't sweep a whole codebase unprompted.
Picking a flow (for baseline and verify)
audit_livefor any URL. It ensures a debuggable Chrome (auto-launches a headless one if none is reachable) and audits the live DOM. Useselectorto scope andwait_forfor async content. The live DOM catches what source can't.audit_htmlfor raw HTML strings, files (Readfirst), or JSX rendered to a string.
For an authenticated session, have the user start a headed debuggable Chrome (npx @accesslint/chrome ensure --headed), sign in, then call audit_live({ url, port }) to attach to it.
Steps
- Baseline. Audit with
format: "compact"and record the violation set (rule ID and selector for each). Skip this if you were handed a worklist. - Apply. For each violation:
- If a
Source:line is present, open that file at that line. If several are listed (separated by←), the first is the JSX literal and the rest are enclosing components; useSymbolto disambiguate. - If not, grep stable hooks (
data-testid,id,aria-label), then visible text, then tree position. - Use the
Fixability:andFix:fields: applymechanicalfixes as given; leave aTODOwith the rule ID forcontextualorvisual. Don't invent content (alt text, labels, link text). - Group edits to the same file into one operation.
- Confirm scope before editing files outside the obvious target, or before more than about 10 mechanical fixes.
- If a
- Verify. Re-run the same audit and compare to the baseline: every targeted violation gone, no new ones. For a precise new/fixed/pre-existing comparison on a URL, use
accesslint:accessibility-diffrather than checking by eye.
Source: lines come from React DevTools fibers and appear only in live-DOM audits against React dev builds. Static audits won't have them; fall back to selectors. When unsure about a rule, use explain_rule({ id }).
When to stop
- A violation with no
Fix:directive: leave aTODO, don't guess. - Verification fails (a new violation appeared, or a targeted one remains): report it and stop. Don't iterate silently.
Output
Per cycle: the flow used, violations by impact, what was applied (file and rule), what was deferred (TODOs and why), and the before and after counts.
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/download' --output '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md.part' && mv '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md.part' '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Outils déclarés par l’auteur (à vérifier dans votre agent) : Read, Edit, Write, Glob, Grep, Bash, Skill, Task, mcp__plugin_accesslint_accesslint__audit_html, mcp__plugin_accesslint_accesslint__audit_live, mcp__plugin_accesslint_accesslint__explain_rule, mcp__plugin_accesslint_accesslint__list_rules
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md' && test -s '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/accessibility-fix' && cp -R '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r' '.claude/skills/accessibility-fix'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r'openskills read 'accessibility-fix-wcag-2-2-remediation-mvj1oc8r'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Bonnes pratiques React Hook Form
Developpement
Maîtrisez React Hook Form : évitez les anti-patterns, gérez les abonnements, et traitez correctement reset, dirty state et entrées contrôlées.
Migration Emotion vers Mantine
Developpement
Migrer les styled-components Emotion vers des composants Mantine avec style props et modules CSS. Pour convertir .styled.tsx ou supprimer les imports @emotion.
Détecteur de dérive de périmètre
Developpement
Analyse les diffs git par rapport à une intention pour détecter la dérive de périmètre, fichiers non liés et PR trop larges, puis suggère de garder, diviser ou justifier.