astro-component-a11y-review
Skill1 starsChanged 48 days agoMITView on GitHub
Prüft eine einzelne Astro-/React-/HTML-Komponente auf typische Barrierefreiheitsprobleme und liefert konkrete Fixes. Nutzen beim a11y-Review einer Komponente. Für WCAG-Patterns siehe accessibility-audit.
In this repository81 other files it gives its agents.
- accessibility-action-planSkill
- accessibility-auditSkill
- accessibility-finding-explainerSkill
- accessibility-report-summarySkill
- agent-config-authoringSkill
- agents-sdkSkill
- ai-ux-patternsSkill
- alt-text-generatorSkill
- anti-ai-copySkill
- aria-usage-reviewSkill
- astro-architectureSkill
- astro-client-scriptsSkill
- before-after-accessibility-commsSkill
- bfsg-risk-language-softenerSkill
- biomeSkill
- blog-from-transcriptSkill
- brand-voice-dnaSkill
- case-study-from-auditSkill
- client-email-after-auditSkill
- cloudflare-email-serviceSkill
- cloudflare-one-migrationsSkill
- cloudflare-oneSkill
- cloudflareSkill
- complexity-judgmentSkill
- component-doc-writerSkill
- content-clarity-a11y-checkSkill
- content-qaSkill
- conversation-retrospectiveSkill
- darkmodeSkill
- deep-researchSkill
- design-directionsSkill
- design-systemsSkill
- durable-objectsSkill
- faq-from-issuesSkill
- form-accessibility-reviewSkill
- frontend-designSkill
- handoffSkill
- i18nSkill
- image-to-webpSkill
- keyboard-navigation-reviewSkill
- knowledge-baseSkill
- landing-and-site-builderSkill
- landingpage-from-briefingSkill
- lighthouse-axe-result-explainerSkill
- linkedin-post-from-contentSkill
- llm-councilSkill
- local-business-seoSkill
- mcp-builderSkill
- mdx-contentSkill
- motion-designSkill
- native-html-uiSkill
- newsletter-from-auditSkill
- overlay-tool-risk-explainerSkill
- playwrightSkill
- post-auditSkill
- remotionSkill
- sandbox-migrate-to-nextSkill
- sandbox-nextSkill
- sandbox-sdkSkill
- sandbox-stableSkill
- The first 60 shown.
The file
Files
Astro-Komponenten-a11y-Review
Prüft eine konkrete Komponente auf Barrierefreiheitsprobleme und liefert Findings mit Code-Fix. Die WCAG-Patterns selbst stehen im Skill accessibility-audit — hier geht es um das Prüf-Vorgehen und das Finding-Format.
Wann verwenden
- Eine einzelne Komponente (
.astro,.tsx,.svelte, HTML-Snippet) soll auf a11y geprüft werden. - Nicht für ganze Seiten oder Tool-Output — dafür
content-clarity-a11y-checkbzw.lighthouse-axe-result-explainer.
Input
- Der Komponenten-Code (oder Pfad).
- Optional: Kontext (wo eingesetzt, welche Props, interaktiv?).
Prüf-Vorgehen
Pro interaktivem/strukturellem Block prüfen:
- Semantisches Element genutzt? (
<button>,<a>,<nav>,<label>statt<div>/<span>). - Bedienbar per Tastatur? Kein
divmitonclickohne Rolle + Key-Handler +tabindex. - Fokus sichtbar?
:focus-visible-Style vorhanden, keinoutline:noneohne Ersatz. - Zugängliche Beschriftung? Icon-only-Buttons/Links haben
aria-label; Inputs haben<label>. - Kontrast plausibel? Text/Interaktion ≥ Schwellwert (Detail in accessibility-audit).
- ARIA nur wenn nötig und korrekt? Kein redundantes/kaputtes ARIA (siehe
aria-usage-review). - Touch-Target ≥ 44×44px bei klickbaren Elementen.
- Bilder mit sinnvollem
altbzw.alt=""wenn dekorativ (siehealt-text-generator).
Output
Finding-Liste, je Finding:
- Problem: kurze Beschreibung.
- Ort: Zeile/Selektor/Element.
- Fix: konkretes Code-Snippet (vorher → nachher).
- Priorität: hoch (blockiert Nutzung) / mittel / niedrig.
Gotchas
- Natives Element vor ARIA:
<button>statt<div role="button">— bringt Fokus, Enter/Space und Rolle gratis. divmitonclickist unsichtbar für Tastatur und Screenreader.- Icon-only ohne
aria-labelist für Screenreader leer. placeholderersetzt kein<label>.aria-labelüberschreibt sichtbaren Text — nicht bei Elementen mit lesbarem Inhalt setzen.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

