Audits web UI code for WCAG accessibility, semantic HTML, keyboard navigation, forms, and performance patterns. Runs a 23-rule checklist against components and pages.
Ships in asyrafhussin-agent-skills-1. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
WCAG accessibility, semantic HTML, keyboard navigation, forms, and performance patterns for inclusive web interfaces. Contains 23 rules across 4 categories. Supports both coding reference and audit mode.
When the user asks to "audit accessibility", "check WCAG compliance", or "review accessibility" — run the checklist below against their codebase.
$ARGUMENTS): audit only those files or componentsCheck the project for:
.tsx/.jsx files → React.vue files → Vue.blade.php files → Laravel Blade.html files → Static HTMLWork through every item below. For each, output:
file:line, description of the issue, and fix recommendation<header>, <main>, <nav>, <footer>, <article>, <section>) — not <div> souph1 → h2 → h3) — no skipped levels<h1> per page<a href="#main-content">Skip to content</a>)aria-label on multiple <nav> elements)tabindex values)outline: none without replacement)<img> elements have alt attributes — descriptive for content images, empty (alt="") for decorative<label> (not just placeholder text)aria-required="true"aria-describedbyrole="alert" or aria-live="assertive" for screen reader announcementtype attributes on inputs (email, tel, url, number)autocomplete attributes present on common fields (name, email, address, credit card)aria-label="Close")aria-live regionsaria-busy="true", status messages)aria-hidden="true")prefers-reduced-motion respected — animations disabled or reducedEnd the audit with:
## Accessibility Audit Summary
- **PASS**: X checks
- **FAIL**: X checks
- **N/A**: X checks
- **WCAG Level**: AA / Partial AA / Below AA
- **Top Priority Fixes**: (list the 3 most impactful FAIL items)
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Accessibility | CRITICAL | a11y- |
| 2 | Forms | HIGH | form- |
| 3 | Animation & Motion | CRITICAL | motion- |
| 4 | Performance & UX | MEDIUM | perf- |
a11y-semantic-html - Use semantic HTML elementsa11y-heading-hierarchy - Maintain proper heading hierarchya11y-screen-reader - Optimize for screen reader compatibilitya11y-skip-links - Provide skip links for navigationa11y-keyboard-nav - Ensure full keyboard navigationa11y-focus-management - Manage keyboard focus properlya11y-aria-labels - Add ARIA labels to interactive elementsa11y-color-contrast - Ensure sufficient color contrast (WCAG AA)a11y-alt-text - Provide meaningful alt text for imagesa11y-error-messages - Make error messages accessiblea11y-form-labels - Associate labels with form inputsa11y-live-regions - Announce dynamic content to screen readersform-autocomplete - Use autocomplete attributesform-input-types - Use correct input typesform-error-display - Display form errors clearlyform-validation-ux - Design user-friendly validationform-inline-validation - Implement smart inline validationform-multi-step - Design effective multi-step formsform-placeholder-usage - Use placeholders appropriatelyform-submit-feedback - Provide clear submission feedbackmotion-reduced - Respect prefers-reduced-motion (WCAG AAA)perf-image-loading - Optimize image loading for UXperf-layout-stability - Prevent cumulative layout shift// ❌ Div soup
<div className="header"><div className="nav"><div onClick={handleClick}>Home</div></div></div>
// ✅ Semantic HTML
<header><nav aria-label="Main"><a href="/">Home</a></nav></header>
<main><article><h1>Title</h1><p>Content</p></article></main>
<label htmlFor="email">Email <span aria-hidden="true">*</span></label>
<input id="email" type="email" required aria-required="true" aria-describedby="email-error" autoComplete="email" />
{error && <p id="email-error" role="alert">{error}</p>}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}
Read individual rule files for detailed explanations:
rules/a11y-semantic-html.md
rules/form-autocomplete.md
rules/motion-reduced.md
rules/perf-image-loading.md
For the complete guide with all rules expanded: AGENTS.md
AGENTS.md (opens in a new tab)README.md (opens in a new tab)metadata.json (opens in a new tab)rules/_sections.md (opens in a new tab)rules/_template.md (opens in a new tab)rules/a11y-alt-text.md (opens in a new tab)rules/a11y-aria-labels.md (opens in a new tab)rules/a11y-color-contrast.md (opens in a new tab)rules/a11y-error-messages.md (opens in a new tab)rules/a11y-focus-management.md (opens in a new tab)rules/a11y-form-labels.md (opens in a new tab)rules/a11y-heading-hierarchy.md (opens in a new tab)rules/a11y-keyboard-nav.md (opens in a new tab)rules/a11y-live-regions.md (opens in a new tab)rules/a11y-screen-reader.md (opens in a new tab)rules/a11y-semantic-html.md (opens in a new tab)rules/a11y-skip-links.md (opens in a new tab)rules/form-autocomplete.md (opens in a new tab)rules/form-error-display.md (opens in a new tab)rules/form-inline-validation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/asyrafhussin-agent-skills-1:web-design-guidelinesfrom asyrafhussin-agent-skills-1
asyrafhussin-agent-skills-1@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin asyrafhussin-agent-skills-124 skills in this plugin
/api-design-patternsRESTful API design, error handling, versioning, and best practices. Use when designing APIs, reviewing endpoints, implementing error responses, or setting up API structure. Triggers on "design API", "review API", "REST best practices", or "API patterns"./clean-code-principlesSOLID principles, design patterns, DRY, KISS, and clean code fundamentals. Use when reviewing architecture, checking code quality, refactoring, or discussing design decisions. Triggers on "review architecture", "check code quality", "SOLID principles", "design patterns", or "clean code"./code-slopDetect AI-generated code patterns ("slop") in PHP/Laravel and TypeScript/React source — comment narration, generic naming, premature interfaces, defensive overdose, mock-everything tests, and the absence of human "scars". Use when reviewing AI-assisted PRs, auditing code for taste/quality (not metrics — that's technical-debt), or hardening a code-review checklist. Triggers on "review for AI slop", "find AI patterns", "check code feels human", "audit code-quality taste"./e2e-playwright-testingEnd-to-end testing with Playwright for web applications. Use when writing E2E tests, browser automation, form submission testing, or user flow testing. Triggers on "playwright", "e2e test", "browser test", "end-to-end", "form flow testing", or test files in tests/e2e/./git-workflowGit best practices, branching strategies, commit conventions, and PR workflows. Use when reviewing git history, writing commits, setting up branching strategy, or improving git practices. Triggers on "git best practices", "commit message", "branching strategy", or "PR workflow"./laravel-ai-sdkLaravel AI SDK for building AI-powered features. Use when creating agents, generating images or audio, working with embeddings, vector search, or testing AI features. Triggers on tasks involving laravel/ai, AI agents, tool-calling, structured output, streaming, embeddings, reranking, or AI faking in tests.Other plugins' skills for the same job