Normes d'accessibilité UI

VérifiéSûr

Ensemble de normes pour construire des interfaces utilisateur accessibles, cohérentes et conformes aux WCAG AA, avec composants basés sur design tokens, HTML sémantique et navigation au clavier.

Spar Skills Guide Bot
DeveloppementIntermédiaire
26/07/2026
Claude CodeCursorWindsurfCopilotCodex
#accessibility#wcag#design-tokens#semantic-html#frontend-ui

Recommandé pour

Synthèse automatique

Cadre la construction de composants d'interface à partir de design tokens, en imposant HTML sémantique, opérabilité au clavier, libellés pour lecteurs d'écran et contraste WCAG AA, puis vérification dans un vrai navigateur.

Points forts

  • Impose la réutilisation des composants existants et l'entrée de tout nouveau composant dans la bibliothèque partagée, ce qui limite la dérive visuelle générée par les agents
  • Privilégie le HTML sémantique et ne réserve ARIA qu'aux cas où la sémantique native ne suffit pas
  • Couvre explicitement le clavier, les lecteurs d'écran et le contraste WCAG AA, avec un checklist d'accessibilité fourni en asset
  • Exige une vérification en navigateur réel (Agentation, Reticle, Playwright) plutôt qu'une simple affirmation d'accessibilité

Limites

  • Suppose qu'une bibliothèque de composants et des design tokens conformes en contraste existent déjà ; sinon le travail préparatoire reste à faire
  • Ne détaille pas de tests manuels avec des technologies d'assistance réelles (NVDA, VoiceOver) ni d'outillage d'audit automatisé dédié
  • Centré sur le web : peu de prise en charge explicite des applications natives ou mobiles
Quand l'utiliser

À utiliser dès qu'on construit ou révise un composant ou un écran visible par l'utilisateur, ou qu'une question de clavier, de contraste, d'a11y ou de WCAG se pose.

Quand l'éviter

À ne pas utiliser comme substitut à un audit d'accessibilité formel ou à une validation légale de conformité WCAG.

Analyse de sécurité

Sûr
Score qualité90/100

The skill is a documentation/standards guide with no declared tools or executable instructions. It contains no destructive, exfiltrating, or obfuscated actions; it only describes accessibility and UI development practices.

Aucun point d'attention détecté

Comment cette analyse est faite

Exemples

Build an accessible screen
Build a settings page for our app using our existing component library — semantic markup, full keyboard navigation, labeled form fields, and WCAG AA contrast.
Audit a component for a11y
Is this modal dialog accessible? Check focus handling, keyboard traps, labels for screen readers, and contrast, and verify it in a real browser.
Fix inconsistent UI
Our UI looks inconsistent across screens — help me move these one-off components into our token-based component library without breaking accessibility.

name: ui-accessibility-standards type: custom status: built 2026-07-09 (Fable build) based_on_catalog_entry: plan §3 "ui-standards + accessibility M (ui-ux-pro-max candidate)" — searched, kept custom (below) marketplace_search: 2026-07-09 skillsmp.com / mcpmarket.com — UI/UX skills found (ui-ux-pro-max noted as a candidate in the plan) are framework component libraries; the standards+a11y discipline is kept custom, bound to design-tokens and WCAG. WCAG is the sourced accessibility standard assigned_agent: mia (Engineering / Frontend Web) portable: true — the standards are framework-agnostic; the component library comes from the stack-profile includes: assets/a11y-checklist.md date_added: 2026-07-09

Introduction

ui-accessibility-standards is how mia builds interfaces that are consistent, usable, and accessible: components built from design tokens, semantic HTML, keyboard operability, and WCAG-conformant contrast/labels/focus — so the product works for everyone and looks like one product, not a patchwork. Accessibility is not a later pass; it's how components are built.

Purpose

Two failure modes this prevents: inconsistency (every screen a slightly different button, spacing, interaction) and inaccessibility (unusable by keyboard, invisible to screen readers, failing contrast — excluding users and, increasingly, failing legal requirements). Both come from building screens ad hoc instead of from a component system with accessibility baked in.

When to Use

Triggers: "build this component/screen," "is this accessible," "a11y," "WCAG," "keyboard navigation," "contrast," "the UI is inconsistent," and any user-facing interface work.

Structure / Protocol

A UI to build
  -> COMPONENTS from the system: reuse before creating; new components enter the library, tokens-based
  -> SEMANTIC HTML: the right element (button is a <button>), not a div with a click handler
  -> KEYBOARD: everything operable without a mouse; visible focus; logical tab order
  -> SCREEN READERS: labels, roles, alt text, ARIA only where semantics fall short
  -> CONTRAST + sizing: WCAG AA minimum (tokens should already encode compliant colors)
    -> Verify in a real browser (frontend-verification: Agentation + quinn's Reticle/Playwright)

Instructions

  1. Build from the component system. Reuse an existing component before creating one; a genuinely new component enters the shared library, built from design tokens. Ad hoc one-off components are how consistency dies (and how agent-generated UI sprawls — dev's integrity concern).
  2. Semantic HTML first. The correct element carries accessibility for free — a <button> is focusable, keyboard-activatable, and announced as a button; a <div onclick> is none of those and has to reimplement all of it (usually incompletely). ARIA is a patch for where semantics genuinely fall short, not a substitute for them.
  3. Keyboard-operable, always. Every interaction works without a mouse: focusable controls, visible focus indicators, logical tab order, no keyboard traps. This is both an accessibility requirement and a correctness one (many bugs hide in mouse-only paths).
  4. Screen-reader support. Meaningful labels, correct roles, alt text for informative images (empty alt for decorative), form fields associated with labels. Test with the accessibility tree, not just the visual.
  5. WCAG AA contrast and sizing. Text meets AA contrast (design-tokens should already encode compliant color pairings — if a token pairing fails contrast, that's a kit/token finding for atlas). Touch targets adequately sized; text resizable.
  6. Verify in a real browser. Accessibility and consistency claims are checked with real rendering (frontend-verification's Agentation loop + quinn's Reticle/Playwright), not asserted — "it's accessible" without a check is the "agents say done" problem, a11y edition.

Output Format

## UI: [component/screen]
Components: [reused / new → library, tokens-based] · Semantic HTML: [correct elements ✓]
Keyboard: [operable ✓ · visible focus ✓ · logical order ✓] · Screen reader: [labels/roles/alt ✓]
Contrast/sizing: [WCAG AA ✓ / token pairing fails → atlas finding]
Verified in browser: [frontend-verification ref]

Principles

  • Build from the component system — reuse first; new components join the library, tokens-based.
  • Semantic HTML first — the right element gives accessibility for free; ARIA patches, never substitutes.
  • Keyboard-operable always — no mouse-only paths; visible focus; no traps.
  • Screen-reader support is built in — labels, roles, alt; test the accessibility tree.
  • WCAG AA contrast/sizing — token pairings encode it; a failing pairing is an atlas finding.
  • Verified in a real browser — accessibility is checked, not claimed.

Fallback

  • No component library yet → start one with the first components (tokens-based, accessible); don't build screens of one-offs that a library later has to reconcile.
  • Component library from the stack lacks accessibility → wrap/fix at adoption and flag upstream; don't inherit inaccessibility silently.
  • Design mockup fails contrast → flag to atlas (the token/kit source), don't ship the failing pairing to "match the design"; the design has the bug.

Boundaries with Other Skills

  • design-tokens (sibling): components are built from tokens; contrast compliance lives in the token pairings (atlas).
  • frontend-verification (sibling): the real-browser check for accessibility and consistency (Agentation + Reticle/Playwright).
  • frontend-performance (sibling): accessible and fast aren't in tension; both are how the UI is built.
  • atlas / lena (Brand Studio): visual and voice consistency; a contrast-failing brand pairing is atlas's to resolve.
  • raj: components consume raj's API contracts; loading/error/empty states are part of accessible UI.
  • quinn: browser-verified accessibility is gate evidence.

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 annexes

Ce 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.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/ui-accessibility-standards-ms1aw5de/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/ui-accessibility-standards-ms1aw5de' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ui-accessibility-standards-ms1aw5de/download' --output '.skill-downloads/ui-accessibility-standards-ms1aw5de/SKILL.md.part' && mv '.skill-downloads/ui-accessibility-standards-ms1aw5de/SKILL.md.part' '.skill-downloads/ui-accessibility-standards-ms1aw5de/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.

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

Le fichier ne fournit pas un en-tête name/description exploitable pour cette procédure native. Le téléchargement reste disponible pour lecture ; utilisez le mode manuel ci-dessous.

Mode 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/ui-accessibility-standards-ms1aw5de/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.

Skills similaires