Logo : Accessibility

Accessibility

Communauté
nahid-sparktales
accessibility

Build and fix interfaces so they meet WCAG 2.2 AA in practice — native semantics, keyboard paths, focus order and visibility, accessible names, contrast, form errors, live regions, target size. Fires while writing or reviewing UI code, when a component is keyboard- or screen-reader-hostile, or when an audit finding has to be turned into a change. Not for proving the result (accessibility-verification), not for viewport layout work (responsive-design), and not a recital of the standard.

Présentation

Éditeurnahid-sparktales
Dépôtagent-dispatcher
Nom de la compétenceaccessibility
Étoiles
58
Forks
5
Fichiers inclus
1
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 1

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par nahid-sparktales sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Accessibility dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/design/accessibility
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/design/accessibility .claude/skills/accessibility
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Accessibility dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Accessibility dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Accessibility n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Accessibility in practice

Most barriers are created by replacing something the platform already made accessible. The cheapest accessible component is the one you did not rebuild.

When this fires

While building or changing any interactive UI, and when turning an audit finding into a fix. It does not fire to prove a screen is accessible — that is accessibility-verification, and it needs a keyboard and a screen reader, not a code read.

Procedure

  1. Use the native element first. button, a[href], input, label, select, details, dialog, table. Each arrives with a role, keyboard behaviour, focus handling and state reporting you would otherwise have to write and maintain. A div with a click handler has none of it. If the project already has an accessible component for this, reuse that instead.
  2. Get the structure right before the styling. One h1 per view, headings in descending order with none skipped, real landmarks (header, nav, main, footer), lists marked up as lists, a unique page title per route. Screen reader users navigate by these; they are the table of contents, not decoration.
  3. Give every control a name that matches its visible label. Visible text is the name where possible; label[for] for inputs; an aria-label only for controls with no visible text, such as an icon button. When there is visible text, the accessible name must contain it — a button reading "Save" named "Submit form" breaks voice control.
  4. Walk the keyboard path yourself. Tab reaches everything interactive, in DOM order; Enter and Space operate it; Escape closes what opened; focus never gets stuck. Do not use positive tabindex — fix the DOM order instead. Composite widgets (menus, tabs, grids) take one Tab stop and move internally with arrow keys.
  5. Keep focus visible and unobscured. Never delete an outline without shipping a replacement. Style :focus-visible so it survives sticky headers, overflow clipping and dark backgrounds, and check that a sticky bar or cookie banner does not cover the focused element.
  6. Move focus deliberately when the view changes. Opening a dialog moves focus into it and traps it there; closing returns focus to the element that opened it; a client-side route change moves focus to the new heading or main region. Focus left behind on a removed node goes to body, and the user loses their place silently.
  7. Choose colours that carry the contrast. 4.5:1 for body text, 3:1 for large text and for the boundaries of controls, focus rings and meaningful graphics. Check hover, active, selected and error states too, and text sitting over images or gradients. Never let colour alone carry meaning — pair it with text, an icon or a pattern.
  8. Make forms explain themselves programmatically. Associate the error with its field (aria-describedby), mark the field invalid (aria-invalid), and write error text that says what is wrong and how to fix it. Use autocomplete tokens on personal-data fields. Do not make people re-enter information they already gave you in the same flow, and do not block paste in password or one-time-code fields.
  9. Announce what changes without a page load. A status message needs a live region that already exists in the DOM before it updates — aria-live="polite" for status, role="alert" for errors. Announce once, keep it short, and do not wire a live region to something that updates constantly.
  10. Respect the user's settings. Honour prefers-reduced-motion by removing movement, not by speeding it up. Respect prefers-color-scheme and prefers-reduced-transparency where the design uses them. Never disable zoom in the viewport meta tag.
  11. Cover the WCAG 2.2 additions that bite hardest. Any drag interaction needs a single-pointer alternative (click or button). Interactive targets are at least 24×24 CSS px unless spaced or inline in a sentence. Help links stay in the same relative place across pages.
  12. Add ARIA last, and as little as possible. No ARIA beats wrong ARIA: an incorrect role silently overrides the real one. Never put aria-hidden on anything focusable, and never invent role/state combinations — copy an established pattern and keep its keyboard contract intact.
  13. Stop and ask before changing shared surfaces. A contrast fix that alters a brand token, or a markup change inside a shared design-system component, affects screens you are not looking at. Propose the change with the reason; do not push it through on your own authority.

Checklist

  • Every interactive element is a native control or reuses an existing accessible component
  • Heading order and landmarks make sense read alone, with no skipped levels
  • Every control has a name, and it contains the visible label text
  • Tab reaches everything, in a sensible order, with no trap and no positive tabindex
  • Focus is always visible and never covered by sticky or overlaying chrome
  • Dialog and route changes move focus, and closing returns it
  • Text and control boundaries meet contrast in every state, including over imagery
  • Errors are associated with their fields and readable without colour
  • Dynamic messages land in a live region that existed beforehand
  • Reduced motion honoured; zoom not disabled
  • Drag interactions have a click alternative; targets are 24×24 CSS px or spaced
  • ARIA added only where a native element could not do the job

Failure handling

  • The component is a third-party widget you cannot change — say so, record the specific barrier, and look for a documented accessible mode or a replacement. Do not paper over it with ARIA that describes behaviour the widget does not have.
  • The fix needs a design decision (a token fails contrast, a layout has no room for a 24px target) — name the conflict and the options, and let the design owner choose. Do not quietly ship a visual change to satisfy a checker.
  • A pattern has no obvious accessible form — look up the established pattern for it rather than inventing roles. If the project pins a component library, check that library's current accessibility API before assuming what it supports.
  • A checker passes but the interaction still feels wrong — trust the interaction. Automated rules cannot see whether a name is meaningful or an order is logical.

Evidence to report

Name the elements changed and why: which control became a button, which name was added, where focus now moves, which token changed and its measured ratio before and after. State plainly that these are implementation changes — they are unverified until someone drives the keyboard and a screen reader. Hand the claim to accessibility-verification; do not call it conformant here.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Accessibility ?

Build and fix interfaces so they meet WCAG 2.2 AA in practice — native semantics, keyboard paths, focus order and visibility, accessible names, contrast, form errors, live regions, target size. Fires while writing or reviewing UI code, when a component is keyboard- or screen-reader-hostile, or when an audit finding has to be turned into a change. Not for proving the result (accessibility-verification), not for viewport layout work (responsive-design), and not a recital of the standard.

Pourquoi utiliser Accessibility sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Accessibility se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Accessibility dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/design/accessibility. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Accessibility ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Accessibility ?

Autant que vous le souhaitez. Vous pouvez utiliser Accessibility avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Accessibility est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par nahid-sparktales sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇