Logo van Born Accessible Ui

Born Accessible Ui

Community
ginader
born-accessible-ui

Use for ANY task that creates, edits, styles, refactors or reviews web UI: HTML, CSS, design tokens, Tailwind, JavaScript or TypeScript components, React, Next.js, Vue, Svelte, Angular, Astro, Lit, pages, dashboards, forms and prototypes. Enforces the three Born-Accessible protocols (plan semantics first, mathematically verified color contrast, native HTML before ARIA) and runs a Playwright + axe-core verification loop until zero automated accessibility violations remain.

Overzicht

Uitgeverginader
Repositoryborn-accessible-ui
Skillnaamborn-accessible-ui
Sterren
11
Forks
1
Meegeleverde bestanden
4
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 4

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door ginader op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Born Accessible Ui in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/ginader/born-accessible-ui/tree/main/born-accessible-ui
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ginader/born-accessible-ui.git /tmp/born-accessible-ui
mkdir -p .claude/skills
cp -r /tmp/born-accessible-ui/born-accessible-ui .claude/skills/born-accessible-ui
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Born Accessible Ui in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Born Accessible Ui automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Born Accessible Ui niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Born-Accessible UI

Build visually rich UI that is accessible on the first pass. Run this loop for every UI change:

Plan → Build → Verify → Fix → Report

1. Plan (Protocol 1: Silent Reasoning)

Before writing markup, write an A11Y-PLAN that covers:

  1. Landmarks: what goes into <header>, <nav aria-label>, <main>, <aside aria-label> and <footer>.
  2. Headings: one <h1> per page, then h2 and h3 without skipping levels.
  3. Controls: every interactive element, its native HTML element, its accessible name and its keyboard behavior.
  4. Contrast pairs: every text/background and UI/background color pair with its computed ratio.

Put the plan where it can't break the build: an HTML comment after <!DOCTYPE html> in a standalone page, a {/* A11Y-PLAN ... */} block in JSX/TSX, an HTML comment in Vue/Svelte/Angular templates, or your reply when you change several files.

When you build a single component, plan only its own semantics. Landmarks and the <h1> belong to the page layout, not to every component.

2. Build (Protocols 2 and 3)

  • Color tokens: define colors as custom properties and annotate every foreground token with its computed contrast ratio, rounded down: --text-muted: #cbd5e1; /* Contrast: 11.9:1 vs #111827 (AAA) */. Minimums: 4.5:1 for normal text, 3:1 for large text and for UI parts such as input borders, focus rings and icons.
  • Native HTML first: <button> for actions, <a href> for navigation, <dialog> with showModal() for modals, <details>/<summary> for disclosures, <input type="checkbox" role="switch"> for toggles, <label for> for every form control. Never put click handlers on <div> or <span>.
  • Layout: content reflows at 320 CSS px without horizontal scrolling, targets are at least 24×24 px, :focus-visible is clearly visible, and motion respects prefers-reduced-motion.

3. Verify (never skip, never estimate)

Run both checks after every UI change:

bash
# Static: recomputes every "Contrast:" comment, flags clickable <div>s and removed outlines
node <skill>/scripts/lint.mjs <changed files or src folder>

# Runtime: Playwright + axe-core (WCAG 2.2 A/AA + best practices) on the initial view and on
# hidden states (dialogs, popovers, details, tabs, menus), plus a 320px reflow check
node <skill>/scripts/audit.mjs <url-or-html-path> [more targets]
  • Audit every page or route you changed. For apps, start the dev server in the background first and pass its URLs (for example http://localhost:5173/settings). For static HTML, pass the files or a folder.
  • UI that only exists after a click, such as a conditionally rendered modal: add --click "<CSS selector of the trigger>".
  • Exit codes: 0 = no automated violations, 1 = violations (details in a11y-report/), 2 = setup or page-load problem (is the dev server running?).
  • Missing dependencies: run npm install --save-dev playwright @axe-core/playwright in the project. Only if Google Chrome isn't installed, also run npx playwright install chromium.
  • Keep a11y-report/ out of version control (add it to .gitignore).

4. Fix

  1. Read a11y-report/fix-prompt.md (or a11y-report/report.json for full details) and the lint output. Fix lint errors too: axe can't see clickable <div>s or wrong Contrast: comments. To compare against the starting point later, run the first audit with --out a11y-report/before.
  2. Fix at the source (tokens, shared components, layout rules) following references/remediation.md. Keep the visual design: change lightness rather than going monochrome, and never hide content from assistive technology to silence a rule.
  3. Run lint and audit again. Do at most 3 fix rounds (a round = fixing violations, then re-running both checks). If violations remain, stop and report them with your best explanation.
  4. Check every "needs review" item (the review lines in the audit output, also listed in fix-prompt.md and report.json). They are not failures; axe-core couldn't decide. These checks don't count toward the 3 rounds.
    • Text on gradients, images or translucent ("glass") surfaces: check the worst spot by eye, or put a solid backdrop behind the text so axe can compute it.
    • "Partially overlaps other elements", common for text inside a modal <dialog> or near positioned elements: don't change code for this. Verify the real colors in DevTools or a screenshot and record the result.

5. Report

  • Say "0 automated axe-core violations". Never claim "WCAG compliant" or "accessibility verified": automated tools catch only part of all barriers.
  • List each "needs review" item you checked by hand as manually verified, with the colors and ratio you measured.
  • List what still needs a human: a keyboard walk-through (Tab, Shift+Tab, Enter, Space, Esc, arrow keys in composite widgets), visible focus everywhere, a screen reader spot check of names, roles and states, 200% zoom, and meaningful alt text, link text and error messages.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Born Accessible Ui?

Use for ANY task that creates, edits, styles, refactors or reviews web UI: HTML, CSS, design tokens, Tailwind, JavaScript or TypeScript components, React, Next.js, Vue, Svelte, Angular, Astro, Lit, pages, dashboards, forms and prototypes. Enforces the three Born-Accessible protocols (plan semantics first, mathematically verified color contrast, native HTML before ARIA) and runs a Playwright + axe-core verification loop until zero automated accessibility violations remain.

Waarom Born Accessible Ui gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Born Accessible Ui bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Born Accessible Ui in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ginader/born-accessible-ui/tree/main/born-accessible-ui. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Born Accessible Ui gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Born Accessible Ui gebruiken?

Zoveel als je wilt. Je kunt Born Accessible Ui gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Born Accessible Ui gratis?

Ja. Deze skill is door ginader op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇