/gabbe-product:accessibilityfrom gabbe-product
Audits UI for WCAG 2.2 Level AA compliance using axe-core, Playwright, Pa11y, and Lighthouse. Covers keyboard navigation, screen reader testing, ARIA, and color contrast.
Ships in gabbe-product. 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.
None: SKILL.md is the whole skill.
Ensure UI features meet WCAG 2.2 Level AA requirements through automated scanning and manual verification. Produce an actionable report with specific violations and fixes.
Run automated accessibility scan
# axe-core with Playwright (recommended)
npx playwright test --config=playwright.a11y.config.ts
# Pa11y for batch URL testing
npx [email protected] http://localhost:3000 --standard WCAG2AA
# Lighthouse accessibility audit
npx [email protected] http://localhost:3000 --only-categories=accessibility --output=json
Playwright + axe-core test:
import { test, expect } from '@playwright/test';
import { checkA11y, injectAxe } from 'axe-playwright';
test('home page has no accessibility violations', async ({ page }) => {
await page.goto('/');
await injectAxe(page);
await checkA11y(page, null, {
axeOptions: { runOnly: { type: 'tag', values: ['wcag2a', 'wcag2aa', 'wcag22aa'] } }
});
});
Keyboard navigation check
outline: none without replacement)?test('can navigate form fields with keyboard', async ({ page }) => {
await page.goto('/contact');
await page.keyboard.press('Tab'); // First field
await expect(page.locator(':focus')).toHaveAttribute('name', 'name');
await page.keyboard.press('Tab'); // Second field
await expect(page.locator(':focus')).toHaveAttribute('name', 'email');
});
Screen reader compatibility check
alt text (or alt="" for decorative images)<label> elements (not just placeholder)aria-describedbyrole="button" on non-interactive elements)aria-live regionsCommon issues to check:
<!-- BAD: no label for input -->
<input type="email" placeholder="Enter email">
<!-- GOOD: associated label -->
<label for="email">Email address</label>
<input id="email" type="email" aria-describedby="email-error">
<span id="email-error" role="alert">Please enter a valid email</span>
Color contrast check
# Check specific color combination
# Use: https://webaim.org/resources/contrastchecker/ or automated axe-core
Check WCAG 2.2 specific criteria
Produce accessibility report
## Accessibility Audit Report
Standard: WCAG 2.2 Level AA
Date: [date]
Pages audited: [list]
### Critical Violations (WCAG failures — must fix)
- [ERROR] img elements missing alt text: src/components/ProductCard.tsx:15
- [ERROR] Form input has no associated label: src/components/ContactForm.tsx:32
### Keyboard Navigation Issues
- [WARNING] Focus not visible on custom button component
- [INFO] Tab order could be improved on checkout form
### Screen Reader Issues
- [WARNING] Carousel updates not announced (missing aria-live)
### Color Contrast
- [ERROR] #777 on #fff fails 4.5:1 ratio (actual: 4.48:1) — src/styles/typography.css:23
### Passed Checks
- All form inputs have associated labels (except noted above)
- Heading hierarchy is logical throughout
- Skip navigation link present
### Overall: LEVEL AA NOT MET
Blocking: [N] critical violations
Accessibility audit report + list of violations with file:line references + recommended fixes.
aria-hidden on a cancel button).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe-product19 skills in this plugin
/business-caseGenerate comprehensive business cases, ROI analysis, and strategic justification for new initiatives. Use when: business case, ROI, cost-benefit, justify project, strategic value, investment memo, pitch./change-managementPlan and drive organizational change through ADKAR, stakeholder comms cadence, training, and resistance management. Use when: plan organizational change, adkar change model, stakeholder communication cadence, build training plan, manage resistance to change, rollout adoption plan, write change management plan./design-thinkingApply the Design Thinking process (Empathize, Define, Ideate, Prototype, Test) to solve complex user problems. Use when: design thinking, empathize, user journey, persona, ideation, brainstorming, prototype, user research.Other plugins' skills for the same job