[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HQZ9K2WGVERRBVKM4B13NW":3,"skill-same:01M6HQZ9K2WGVERRBVKM4B13NW":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6HQZ9K2WGVERRBVKM4B13NW","wcag-audit-patterns",null,"Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.","welflau\u002Fai-dev-system","welflau","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7010385?v=4","01M6HPTDGF18RFY07M229P8CTM","01M6HPTDMRMZCJPYBFEA9XVVYT",3,"MIT","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Faccessibility-compliance\u002Fskills\u002Fwcag-audit-patterns\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"audit","WCAG","wcag audit","wcag audit patterns","patterns","when","testing","conduct","for","implementing","manual","with","automated testing","guidance","design patterns","use","remediation","verification","accessibility","design","2026-11-10 10:12:30",false,"---\nname: wcag-audit-patterns\ndescription: Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.\n---\n\n# WCAG Audit Patterns\n\nComprehensive guide to auditing web content against WCAG 2.2 guidelines with actionable remediation strategies.\n\n## When to Use This Skill\n\n- Conducting accessibility audits\n- Fixing WCAG violations\n- Implementing accessible components\n- Preparing for accessibility lawsuits\n- Meeting ADA\u002FSection 508 requirements\n- Achieving VPAT compliance\n\n## Core Concepts\n\n### 1. WCAG Conformance Levels\n\n| Level   | Description            | Required For      |\n| ------- | ---------------------- | ----------------- |\n| **A**   | Minimum accessibility  | Legal baseline    |\n| **AA**  | Standard conformance   | Most regulations  |\n| **AAA** | Enhanced accessibility | Specialized needs |\n\n### 2. POUR Principles\n\n```\nPerceivable:  Can users perceive the content?\nOperable:     Can users operate the interface?\nUnderstandable: Can users understand the content?\nRobust:       Does it work with assistive tech?\n```\n\n### 3. Common Violations by Impact\n\n```\nCritical (Blockers):\n├── Missing alt text for functional images\n├── No keyboard access to interactive elements\n├── Missing form labels\n└── Auto-playing media without controls\n\nSerious:\n├── Insufficient color contrast\n├── Missing skip links\n├── Inaccessible custom widgets\n└── Missing page titles\n\nModerate:\n├── Missing language attribute\n├── Unclear link text\n├── Missing landmarks\n└── Improper heading hierarchy\n```\n\n## Audit Checklist\n\n### Perceivable (Principle 1)\n\n````markdown\n## 1.1 Text Alternatives\n\n### 1.1.1 Non-text Content (Level A)\n\n- [ ] All images have alt text\n- [ ] Decorative images have alt=\"\"\n- [ ] Complex images have long descriptions\n- [ ] Icons with meaning have accessible names\n- [ ] CAPTCHAs have alternatives\n\nCheck:\n\n```html\n\u003C!-- Good -->\n\u003Cimg src=\"chart.png\" alt=\"Sales increased 25% from Q1 to Q2\" \u002F>\n\u003Cimg src=\"decorative-line.png\" alt=\"\" \u002F>\n\n\u003C!-- Bad -->\n\u003Cimg src=\"chart.png\" \u002F>\n\u003Cimg src=\"decorative-line.png\" alt=\"decorative line\" \u002F>\n```\n````\n\n## 1.2 Time-based Media\n\n### 1.2.1 Audio-only and Video-only (Level A)\n\n- [ ] Audio has text transcript\n- [ ] Video has audio description or transcript\n\n### 1.2.2 Captions (Level A)\n\n- [ ] All video has synchronized captions\n- [ ] Captions are accurate and complete\n- [ ] Speaker identification included\n\n### 1.2.3 Audio Description (Level A)\n\n- [ ] Video has audio description for visual content\n\n## 1.3 Adaptable\n\n### 1.3.1 Info and Relationships (Level A)\n\n- [ ] Headings use proper tags (h1-h6)\n- [ ] Lists use ul\u002Fol\u002Fdl\n- [ ] Tables have headers\n- [ ] Form inputs have labels\n- [ ] ARIA landmarks present\n\nCheck:\n\n```html\n\u003C!-- Heading hierarchy -->\n\u003Ch1>Page Title\u003C\u002Fh1>\n\u003Ch2>Section\u003C\u002Fh2>\n\u003Ch3>Subsection\u003C\u002Fh3>\n\u003Ch2>Another Section\u003C\u002Fh2>\n\n\u003C!-- Table headers -->\n\u003Ctable>\n  \u003Cthead>\n    \u003Ctr>\n      \u003Cth scope=\"col\">Name\u003C\u002Fth>\n      \u003Cth scope=\"col\">Price\u003C\u002Fth>\n    \u003C\u002Ftr>\n  \u003C\u002Fthead>\n\u003C\u002Ftable>\n```\n\n### 1.3.2 Meaningful Sequence (Level A)\n\n- [ ] Reading order is logical\n- [ ] CSS positioning doesn't break order\n- [ ] Focus order matches visual order\n\n### 1.3.3 Sensory Characteristics (Level A)\n\n- [ ] Instructions don't rely on shape\u002Fcolor alone\n- [ ] \"Click the red button\" → \"Click Submit (red button)\"\n\n## 1.4 Distinguishable\n\n### 1.4.1 Use of Color (Level A)\n\n- [ ] Color is not only means of conveying info\n- [ ] Links distinguishable without color\n- [ ] Error states not color-only\n\n### 1.4.3 Contrast (Minimum) (Level AA)\n\n- [ ] Text: 4.5:1 contrast ratio\n- [ ] Large text (18pt+): 3:1 ratio\n- [ ] UI components: 3:1 ratio\n\nTools: WebAIM Contrast Checker, axe DevTools\n\n### 1.4.4 Resize Text (Level AA)\n\n- [ ] Text resizes to 200% without loss\n- [ ] No horizontal scrolling at 320px\n- [ ] Content reflows properly\n\n### 1.4.10 Reflow (Level AA)\n\n- [ ] Content reflows at 400% zoom\n- [ ] No two-dimensional scrolling\n- [ ] All content accessible at 320px width\n\n### 1.4.11 Non-text Contrast (Level AA)\n\n- [ ] UI components have 3:1 contrast\n- [ ] Focus indicators visible\n- [ ] Graphical objects distinguishable\n\n### 1.4.12 Text Spacing (Level AA)\n\n- [ ] No content loss with increased spacing\n- [ ] Line height 1.5x font size\n- [ ] Paragraph spacing 2x font size\n- [ ] Letter spacing 0.12x font size\n- [ ] Word spacing 0.16x font size\n\n````\n\n### Operable (Principle 2)\n\n```markdown\n## 2.1 Keyboard Accessible\n\n### 2.1.1 Keyboard (Level A)\n- [ ] All functionality keyboard accessible\n- [ ] No keyboard traps\n- [ ] Tab order is logical\n- [ ] Custom widgets are keyboard operable\n\nCheck:\n```javascript\n\u002F\u002F Custom button must be keyboard accessible\n\u003Cdiv role=\"button\" tabindex=\"0\"\n     onkeydown=\"if(event.key === 'Enter' || event.key === ' ') activate()\">\n````\n\n### 2.1.2 No Keyboard Trap (Level A)\n\n- [ ] Focus can move away from all components\n- [ ] Modal dialogs trap focus correctly\n- [ ] Focus returns after modal closes\n\n## 2.2 Enough Time\n\n### 2.2.1 Timing Adjustable (Level A)\n\n- [ ] Session timeouts can be extended\n- [ ] User warned before timeout\n- [ ] Option to disable auto-refresh\n\n### 2.2.2 Pause, Stop, Hide (Level A)\n\n- [ ] Moving content can be paused\n- [ ] Auto-updating content can be paused\n- [ ] Animations respect prefers-reduced-motion\n\n```css\n@media (prefers-reduced-motion: reduce) {\n  * {\n    animation: none !important;\n    transition: none !important;\n  }\n}\n```\n\n## 2.3 Seizures and Physical Reactions\n\n### 2.3.1 Three Flashes (Level A)\n\n- [ ] No content flashes more than 3 times\u002Fsecond\n- [ ] Flashing area is small (\u003C25% viewport)\n\n## 2.4 Navigable\n\n### 2.4.1 Bypass Blocks (Level A)\n\n- [ ] Skip to main content link present\n- [ ] Landmark regions defined\n- [ ] Proper heading structure\n\n```html\n\u003Ca href=\"#main\" class=\"skip-link\">Skip to main content\u003C\u002Fa>\n\u003Cmain id=\"main\">...\u003C\u002Fmain>\n```\n\n### 2.4.2 Page Titled (Level A)\n\n- [ ] Unique, descriptive page titles\n- [ ] Title reflects page content\n\n### 2.4.3 Focus Order (Level A)\n\n- [ ] Focus order matches visual order\n- [ ] tabindex used correctly\n\n### 2.4.4 Link Purpose (In Context) (Level A)\n\n- [ ] Links make sense out of context\n- [ ] No \"click here\" or \"read more\" alone\n\n```html\n\u003C!-- Bad -->\n\u003Ca href=\"report.pdf\">Click here\u003C\u002Fa>\n\n\u003C!-- Good -->\n\u003Ca href=\"report.pdf\">Download Q4 Sales Report (PDF)\u003C\u002Fa>\n```\n\n### 2.4.6 Headings and Labels (Level AA)\n\n- [ ] Headings describe content\n- [ ] Labels describe purpose\n\n### 2.4.7 Focus Visible (Level AA)\n\n- [ ] Focus indicator visible on all elements\n- [ ] Custom focus styles meet contrast\n\n```css\n:focus {\n  outline: 3px solid #005fcc;\n  outline-offset: 2px;\n}\n```\n\n### 2.4.11 Focus Not Obscured (Level AA) - WCAG 2.2\n\n- [ ] Focused element not fully hidden\n- [ ] Sticky headers don't obscure focus\n\n````\n\n### Understandable (Principle 3)\n\n```markdown\n## 3.1 Readable\n\n### 3.1.1 Language of Page (Level A)\n- [ ] HTML lang attribute set\n- [ ] Language correct for content\n\n```html\n\u003Chtml lang=\"en\">\n````\n\n### 3.1.2 Language of Parts (Level AA)\n\n- [ ] Language changes marked\n\n```html\n\u003Cp>The French word \u003Cspan lang=\"fr\">bonjour\u003C\u002Fspan> means hello.\u003C\u002Fp>\n```\n\n## 3.2 Predictable\n\n### 3.2.1 On Focus (Level A)\n\n- [ ] No context change on focus alone\n- [ ] No unexpected popups on focus\n\n### 3.2.2 On Input (Level A)\n\n- [ ] No automatic form submission\n- [ ] User warned before context change\n\n### 3.2.3 Consistent Navigation (Level AA)\n\n- [ ] Navigation consistent across pages\n- [ ] Repeated components same order\n\n### 3.2.4 Consistent Identification (Level AA)\n\n- [ ] Same functionality = same label\n- [ ] Icons used consistently\n\n## 3.3 Input Assistance\n\n### 3.3.1 Error Identification (Level A)\n\n- [ ] Errors clearly identified\n- [ ] Error message describes problem\n- [ ] Error linked to field\n\n```html\n\u003Cinput aria-describedby=\"email-error\" aria-invalid=\"true\" \u002F>\n\u003Cspan id=\"email-error\" role=\"alert\">Please enter valid email\u003C\u002Fspan>\n```\n\n### 3.3.2 Labels or Instructions (Level A)\n\n- [ ] All inputs have visible labels\n- [ ] Required fields indicated\n- [ ] Format hints provided\n\n### 3.3.3 Error Suggestion (Level AA)\n\n- [ ] Errors include correction suggestion\n- [ ] Suggestions are specific\n\n### 3.3.4 Error Prevention (Level AA)\n\n- [ ] Legal\u002Ffinancial forms reversible\n- [ ] Data checked before submission\n- [ ] User can review before submit\n\n````\n\n### Robust (Principle 4)\n\n```markdown\n## 4.1 Compatible\n\n### 4.1.1 Parsing (Level A) - Obsolete in WCAG 2.2\n- [ ] Valid HTML (good practice)\n- [ ] No duplicate IDs\n- [ ] Complete start\u002Fend tags\n\n### 4.1.2 Name, Role, Value (Level A)\n- [ ] Custom widgets have accessible names\n- [ ] ARIA roles correct\n- [ ] State changes announced\n\n```html\n\u003C!-- Accessible custom checkbox -->\n\u003Cdiv role=\"checkbox\"\n     aria-checked=\"false\"\n     tabindex=\"0\"\n     aria-labelledby=\"label\">\n\u003C\u002Fdiv>\n\u003Cspan id=\"label\">Accept terms\u003C\u002Fspan>\n````\n\n### 4.1.3 Status Messages (Level AA)\n\n- [ ] Status updates announced\n- [ ] Live regions used correctly\n\n```html\n\u003Cdiv role=\"status\" aria-live=\"polite\">3 items added to cart\u003C\u002Fdiv>\n\n\u003Cdiv role=\"alert\" aria-live=\"assertive\">Error: Form submission failed\u003C\u002Fdiv>\n```\n\n````\n\n## Automated Testing\n\n```javascript\n\u002F\u002F axe-core integration\nconst axe = require('axe-core');\n\nasync function runAccessibilityAudit(page) {\n  await page.addScriptTag({ path: require.resolve('axe-core') });\n\n  const results = await page.evaluate(async () => {\n    return await axe.run(document, {\n      runOnly: {\n        type: 'tag',\n        values: ['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa']\n      }\n    });\n  });\n\n  return {\n    violations: results.violations,\n    passes: results.passes,\n    incomplete: results.incomplete\n  };\n}\n\n\u002F\u002F Playwright test example\ntest('should have no accessibility violations', async ({ page }) => {\n  await page.goto('\u002F');\n  const results = await runAccessibilityAudit(page);\n\n  expect(results.violations).toHaveLength(0);\n});\n````\n\n```bash\n# CLI tools\nnpx @axe-core\u002Fcli https:\u002F\u002Fexample.com\nnpx pa11y https:\u002F\u002Fexample.com\nlighthouse https:\u002F\u002Fexample.com --only-categories=accessibility\n```\n\n## Remediation Patterns\n\n### Fix: Missing Form Labels\n\n```html\n\u003C!-- Before -->\n\u003Cinput type=\"email\" placeholder=\"Email\" \u002F>\n\n\u003C!-- After: Option 1 - Visible label -->\n\u003Clabel for=\"email\">Email address\u003C\u002Flabel>\n\u003Cinput id=\"email\" type=\"email\" \u002F>\n\n\u003C!-- After: Option 2 - aria-label -->\n\u003Cinput type=\"email\" aria-label=\"Email address\" \u002F>\n\n\u003C!-- After: Option 3 - aria-labelledby -->\n\u003Cspan id=\"email-label\">Email\u003C\u002Fspan>\n\u003Cinput type=\"email\" aria-labelledby=\"email-label\" \u002F>\n```\n\n### Fix: Insufficient Color Contrast\n\n```css\n\u002F* Before: 2.5:1 contrast *\u002F\n.text {\n  color: #767676;\n}\n\n\u002F* After: 4.5:1 contrast *\u002F\n.text {\n  color: #595959;\n}\n\n\u002F* Or add background *\u002F\n.text {\n  color: #767676;\n  background: #000;\n}\n```\n\n### Fix: Keyboard Navigation\n\n```javascript\n\u002F\u002F Make custom element keyboard accessible\nclass AccessibleDropdown extends HTMLElement {\n  connectedCallback() {\n    this.setAttribute(\"tabindex\", \"0\");\n    this.setAttribute(\"role\", \"combobox\");\n    this.setAttribute(\"aria-expanded\", \"false\");\n\n    this.addEventListener(\"keydown\", (e) => {\n      switch (e.key) {\n        case \"Enter\":\n        case \" \":\n          this.toggle();\n          e.preventDefault();\n          break;\n        case \"Escape\":\n          this.close();\n          break;\n        case \"ArrowDown\":\n          this.focusNext();\n          e.preventDefault();\n          break;\n        case \"ArrowUp\":\n          this.focusPrevious();\n          e.preventDefault();\n          break;\n      }\n    });\n  }\n}\n```\n\n## Best Practices\n\n### Do's\n\n- **Start early** - Accessibility from design phase\n- **Test with real users** - Disabled users provide best feedback\n- **Automate what you can** - 30-50% issues detectable\n- **Use semantic HTML** - Reduces ARIA needs\n- **Document patterns** - Build accessible component library\n\n### Don'ts\n\n- **Don't rely only on automated testing** - Manual testing required\n- **Don't use ARIA as first solution** - Native HTML first\n- **Don't hide focus outlines** - Keyboard users need them\n- **Don't disable zoom** - Users need to resize\n- **Don't use color alone** - Multiple indicators needed\n\n## Resources\n\n- [WCAG 2.2 Guidelines](https:\u002F\u002Fwww.w3.org\u002FTR\u002FWCAG22\u002F)\n- [WebAIM](https:\u002F\u002Fwebaim.org\u002F)\n- [A11y Project Checklist](https:\u002F\u002Fwww.a11yproject.com\u002Fchecklist\u002F)\n- [axe DevTools](https:\u002F\u002Fwww.deque.com\u002Faxe\u002F)\n","# WCAG Audit Patterns\n\nComprehensive guide to auditing web content against WCAG 2.2 guidelines with actionable remediation strategies.\n\n## When to Use This Skill\n\n- Conducting accessibility audits\n- Fixing WCAG violations\n- Implementing accessible components\n- Preparing for accessibility lawsuits\n- Meeting ADA\u002FSection 508 requirements\n- Achieving VPAT compliance\n\n## Core Concepts\n\n### 1. WCAG Conformance Levels\n\n| Level   | Description            | Required For      |\n| ------- | ---------------------- | ----------------- |\n| **A**   | Minimum accessibility  | Legal baseline    |\n| **AA**  | Standard conformance   | Most regulations  |\n| **AAA** | Enhanced accessibility | Specialized needs |\n\n### 2. POUR Principles\n\n```\nPerceivable:  Can users perceive the content?\nOperable:     Can users operate the interface?\nUnderstandable: Can users understand the content?\nRobust:       Does it work with assistive tech?\n```\n\n### 3. Common Violations by Impact\n\n```\nCritical (Blockers):\n├── Missing alt text for functional images\n├── No keyboard access to interactive elements\n├── Missing form labels\n└── Auto-playing media without controls\n\nSerious:\n├── Insufficient color contrast\n├── Missing skip links\n├── Inaccessible custom widgets\n└── Missing page titles\n\nModerate:\n├── Missing language attribute\n├── Unclear link text\n├── Missing landmarks\n└── Improper heading hierarchy\n```\n\n## Audit Checklist\n\n### Perceivable (Principle 1)\n\n````markdown\n## 1.1 Text Alternatives\n\n### 1.1.1 Non-text Content (Level A)\n\n- [ ] All images have alt text\n- [ ] Decorative images have alt=\"\"\n- [ ] Complex images have long descriptions\n- [ ] Icons with meaning have accessible names\n- [ ] CAPTCHAs have alternatives\n\nCheck:\n\n```html\n\u003C!-- Good -->\n\u003Cimg src=\"chart.png\" alt=\"Sales increased 25% from Q1 to Q2\" \u002F>\n\u003Cimg src=\"decorative-line.png\" alt=\"\" \u002F>\n\n\u003C!-- Bad -->\n\u003Cimg src=\"chart.png\" \u002F>\n\u003Cimg src=\"decorative-line.png\" alt=\"decorative line\" \u002F>\n```\n````\n\n## 1.2 Time-based Media\n\n### 1.2.1 Audio-only and Video-only (Level A)\n\n- [ ] Audio has text transcript\n- [ ] Video has audio description or transcript\n\n### 1.2.2 Captions (Level A)\n\n- [ ] All video has synchronized captions\n- [ ] Captions are accurate and complete\n- [ ] Speaker identification included\n\n### 1.2.3 Audio Description (Level A)\n\n- [ ] Video has audio description for visual content\n\n## 1.3 Adaptable\n\n### 1.3.1 Info and Relationships (Level A)\n\n- [ ] Headings use proper tags (h1-h6)\n- [ ] Lists use ul\u002Fol\u002Fdl\n- [ ] Tables have headers\n- [ ] Form inputs have labels\n- [ ] ARIA landmarks present\n\nCheck:\n\n```html\n\u003C!-- Heading hierarchy -->\n\u003Ch1>Page Title\u003C\u002Fh1>\n\u003Ch2>Section\u003C\u002Fh2>\n\u003Ch3>Subsection\u003C\u002Fh3>\n\u003Ch2>Another Section\u003C\u002Fh2>\n\n\u003C!-- Table headers -->\n\u003Ctable>\n  \u003Cthead>\n    \u003Ctr>\n      \u003Cth scope=\"col\">Name\u003C\u002Fth>\n      \u003Cth scope=\"col\">Price\u003C\u002Fth>\n    \u003C\u002Ftr>\n  \u003C\u002Fthead>\n\u003C\u002Ftable>\n```\n\n### 1.3.2 Meaningful Sequence (Level A)\n\n- [ ] Reading order is logical\n- [ ] CSS positioning doesn't break order\n- [ ] Focus order matches visual order\n\n### 1.3.3 Sensory Characteristics (Level A)\n\n- [ ] Instructions don't rely on shape\u002Fcolor alone\n- [ ] \"Click the red button\" → \"Click Submit (red button)\"\n\n## 1.4 Distinguishable\n\n### 1.4.1 Use of Color (Level A)\n\n- [ ] Color is not only means of conveying info\n- [ ] Links distinguishable without color\n- [ ] Error states not color-only\n\n### 1.4.3 Contrast (Minimum) (Level AA)\n\n- [ ] Text: 4.5:1 contrast ratio\n- [ ] Large text (18pt+): 3:1 ratio\n- [ ] UI components: 3:1 ratio\n\nTools: WebAIM Contrast Checker, axe DevTools\n\n### 1.4.4 Resize Text (Level AA)\n\n- [ ] Text resizes to 200% without loss\n- [ ] No horizontal scrolling at 320px\n- [ ] Content reflows properly\n\n### 1.4.10 Reflow (Level AA)\n\n- [ ] Content reflows at 400% zoom\n- [ ] No two-dimensional scrolling\n- [ ] All content accessible at 320px width\n\n### 1.4.11 Non-text Contrast (Level AA)\n\n- [ ] UI components have 3:1 contrast\n- [ ] Focus indicators visible\n- [ ] Graphical objects distinguishable\n\n### 1.4.12 Text Spacing (Level AA)\n\n- [ ] No content loss with increased spacing\n- [ ] Line height 1.5x font size\n- [ ] Paragraph spacing 2x font size\n- [ ] Letter spacing 0.12x font size\n- [ ] Word spacing 0.16x font size\n\n````\n\n### Operable (Principle 2)\n\n```markdown\n## 2.1 Keyboard Accessible\n\n### 2.1.1 Keyboard (Level A)\n- [ ] All functionality keyboard accessible\n- [ ] No keyboard traps\n- [ ] Tab order is logical\n- [ ] Custom widgets are keyboard operable\n\nCheck:\n```javascript\n\u002F\u002F Custom button must be keyboard accessible\n\u003Cdiv role=\"button\" tabindex=\"0\"\n     onkeydown=\"if(event.key === 'Enter' || event.key === ' ') activate()\">\n````\n\n### 2.1.2 No Keyboard Trap (Level A)\n\n- [ ] Focus can move away from all components\n- [ ] Modal dialogs trap focus correctly\n- [ ] Focus returns after modal closes\n\n## 2.2 Enough Time\n\n### 2.2.1 Timing Adjustable (Level A)\n\n- [ ] Session timeouts can be extended\n- [ ] User warned before timeout\n- [ ] Option to disable auto-refresh\n\n### 2.2.2 Pause, Stop, Hide (Level A)\n\n- [ ] Moving content can be paused\n- [ ] Auto-updating content can be paused\n- [ ] Animations respect prefers-reduced-motion\n\n```css\n@media (prefers-reduced-motion: reduce) {\n  * {\n    animation: none !important;\n    transition: none !important;\n  }\n}\n```\n\n## 2.3 Seizures and Physical Reactions\n\n### 2.3.1 Three Flashes (Level A)\n\n- [ ] No content flashes more than 3 times\u002Fsecond\n- [ ] Flashing area is small (\u003C25% viewport)\n\n## 2.4 Navigable\n\n### 2.4.1 Bypass Blocks (Level A)\n\n- [ ] Skip to main content link present\n- [ ] Landmark regions defined\n- [ ] Proper heading structure\n\n```html\n\u003Ca href=\"#main\" class=\"skip-link\">Skip to main content\u003C\u002Fa>\n\u003Cmain id=\"main\">...\u003C\u002Fmain>\n```\n\n### 2.4.2 Page Titled (Level A)\n\n- [ ] Unique, descriptive page titles\n- [ ] Title reflects page content\n\n### 2.4.3 Focus Order (Level A)\n\n- [ ] Focus order matches visual order\n- [ ] tabindex used correctly\n\n### 2.4.4 Link Purpose (In Context) (Level A)\n\n- [ ] Links make sense out of context\n- [ ] No \"click here\" or \"read more\" alone\n\n```html\n\u003C!-- Bad -->\n\u003Ca href=\"report.pdf\">Click here\u003C\u002Fa>\n\n\u003C!-- Good -->\n\u003Ca href=\"report.pdf\">Download Q4 Sales Report (PDF)\u003C\u002Fa>\n```\n\n### 2.4.6 Headings and Labels (Level AA)\n\n- [ ] Headings describe content\n- [ ] Labels describe purpose\n\n### 2.4.7 Focus Visible (Level AA)\n\n- [ ] Focus indicator visible on all elements\n- [ ] Custom focus styles meet contrast\n\n```css\n:focus {\n  outline: 3px solid #005fcc;\n  outline-offset: 2px;\n}\n```\n\n### 2.4.11 Focus Not Obscured (Level AA) - WCAG 2.2\n\n- [ ] Focused element not fully hidden\n- [ ] Sticky headers don't obscure focus\n\n````\n\n### Understandable (Principle 3)\n\n```markdown\n## 3.1 Readable\n\n### 3.1.1 Language of Page (Level A)\n- [ ] HTML lang attribute set\n- [ ] Language correct for content\n\n```html\n\u003Chtml lang=\"en\">\n````\n\n### 3.1.2 Language of Parts (Level AA)\n\n- [ ] Language changes marked\n\n```html\n\u003Cp>The French word \u003Cspan lang=\"fr\">bonjour\u003C\u002Fspan> means hello.\u003C\u002Fp>\n```\n\n## 3.2 Predictable\n\n### 3.2.1 On Focus (Level A)\n\n- [ ] No context change on focus alone\n- [ ] No unexpected popups on focus\n\n### 3.2.2 On Input (Level A)\n\n- [ ] No automatic form submission\n- [ ] User warned before context change\n\n### 3.2.3 Consistent Navigation (Level AA)\n\n- [ ] Navigation consistent across pages\n- [ ] Repeated components same order\n\n### 3.2.4 Consistent Identification (Level AA)\n\n- [ ] Same functionality = same label\n- [ ] Icons used consistently\n\n## 3.3 Input Assistance\n\n### 3.3.1 Error Identification (Level A)\n\n- [ ] Errors clearly identified\n- [ ] Error message describes problem\n- [ ] Error linked to field\n\n```html\n\u003Cinput aria-describedby=\"email-error\" aria-invalid=\"true\" \u002F>\n\u003Cspan id=\"email-error\" role=\"alert\">Please enter valid email\u003C\u002Fspan>\n```\n\n### 3.3.2 Labels or Instructions (Level A)\n\n- [ ] All inputs have visible labels\n- [ ] Required fields indicated\n- [ ] Format hints provided\n\n### 3.3.3 Error Suggestion (Level AA)\n\n- [ ] Errors include correction suggestion\n- [ ] Suggestions are specific\n\n### 3.3.4 Error Prevention (Level AA)\n\n- [ ] Legal\u002Ffinancial forms reversible\n- [ ] Data checked before submission\n- [ ] User can review before submit\n\n````\n\n### Robust (Principle 4)\n\n```markdown\n## 4.1 Compatible\n\n### 4.1.1 Parsing (Level A) - Obsolete in WCAG 2.2\n- [ ] Valid HTML (good practice)\n- [ ] No duplicate IDs\n- [ ] Complete start\u002Fend tags\n\n### 4.1.2 Name, Role, Value (Level A)\n- [ ] Custom widgets have accessible names\n- [ ] ARIA roles correct\n- [ ] State changes announced\n\n```html\n\u003C!-- Accessible custom checkbox -->\n\u003Cdiv role=\"checkbox\"\n     aria-checked=\"false\"\n     tabindex=\"0\"\n     aria-labelledby=\"label\">\n\u003C\u002Fdiv>\n\u003Cspan id=\"label\">Accept terms\u003C\u002Fspan>\n````\n\n### 4.1.3 Status Messages (Level AA)\n\n- [ ] Status updates announced\n- [ ] Live regions used correctly\n\n```html\n\u003Cdiv role=\"status\" aria-live=\"polite\">3 items added to cart\u003C\u002Fdiv>\n\n\u003Cdiv role=\"alert\" aria-live=\"assertive\">Error: Form submission failed\u003C\u002Fdiv>\n```\n\n````\n\n## Automated Testing\n\n```javascript\n\u002F\u002F axe-core integration\nconst axe = require('axe-core');\n\nasync function runAccessibilityAudit(page) {\n  await page.addScriptTag({ path: require.resolve('axe-core') });\n\n  const results = await page.evaluate(async () => {\n    return await axe.run(document, {\n      runOnly: {\n        type: 'tag',\n        values: ['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa']\n      }\n    });\n  });\n\n  return {\n    violations: results.violations,\n    passes: results.passes,\n    incomplete: results.incomplete\n  };\n}\n\n\u002F\u002F Playwright test example\ntest('should have no accessibility violations', async ({ page }) => {\n  await page.goto('\u002F');\n  const results = await runAccessibilityAudit(page);\n\n  expect(results.violations).toHaveLength(0);\n});\n````\n\n```bash\n# CLI tools\nnpx @axe-core\u002Fcli https:\u002F\u002Fexample.com\nnpx pa11y https:\u002F\u002Fexample.com\nlighthouse https:\u002F\u002Fexample.com --only-categories=accessibility\n```\n\n## Remediation Patterns\n\n### Fix: Missing Form Labels\n\n```html\n\u003C!-- Before -->\n\u003Cinput type=\"email\" placeholder=\"Email\" \u002F>\n\n\u003C!-- After: Option 1 - Visible label -->\n\u003Clabel for=\"email\">Email address\u003C\u002Flabel>\n\u003Cinput id=\"email\" type=\"email\" \u002F>\n\n\u003C!-- After: Option 2 - aria-label -->\n\u003Cinput type=\"email\" aria-label=\"Email address\" \u002F>\n\n\u003C!-- After: Option 3 - aria-labelledby -->\n\u003Cspan id=\"email-label\">Email\u003C\u002Fspan>\n\u003Cinput type=\"email\" aria-labelledby=\"email-label\" \u002F>\n```\n\n### Fix: Insufficient Color Contrast\n\n```css\n\u002F* Before: 2.5:1 contrast *\u002F\n.text {\n  color: #767676;\n}\n\n\u002F* After: 4.5:1 contrast *\u002F\n.text {\n  color: #595959;\n}\n\n\u002F* Or add background *\u002F\n.text {\n  color: #767676;\n  background: #000;\n}\n```\n\n### Fix: Keyboard Navigation\n\n```javascript\n\u002F\u002F Make custom element keyboard accessible\nclass AccessibleDropdown extends HTMLElement {\n  connectedCallback() {\n    this.setAttribute(\"tabindex\", \"0\");\n    this.setAttribute(\"role\", \"combobox\");\n    this.setAttribute(\"aria-expanded\", \"false\");\n\n    this.addEventListener(\"keydown\", (e) => {\n      switch (e.key) {\n        case \"Enter\":\n        case \" \":\n          this.toggle();\n          e.preventDefault();\n          break;\n        case \"Escape\":\n          this.close();\n          break;\n        case \"ArrowDown\":\n          this.focusNext();\n          e.preventDefault();\n          break;\n        case \"ArrowUp\":\n          this.focusPrevious();\n          e.preventDefault();\n          break;\n      }\n    });\n  }\n}\n```\n\n## Best Practices\n\n### Do's\n\n- **Start early** - Accessibility from design phase\n- **Test with real users** - Disabled users provide best feedback\n- **Automate what you can** - 30-50% issues detectable\n- **Use semantic HTML** - Reduces ARIA needs\n- **Document patterns** - Build accessible component library\n\n### Don'ts\n\n- **Don't rely only on automated testing** - Manual testing required\n- **Don't use ARIA as first solution** - Native HTML first\n- **Don't hide focus outlines** - Keyboard users need them\n- **Don't disable zoom** - Users need to resize\n- **Don't use color alone** - Multiple indicators needed\n\n## Resources\n\n- [WCAG 2.2 Guidelines](https:\u002F\u002Fwww.w3.org\u002FTR\u002FWCAG22\u002F)\n- [WebAIM](https:\u002F\u002Fwebaim.org\u002F)\n- [A11y Project Checklist](https:\u002F\u002Fwww.a11yproject.com\u002Fchecklist\u002F)\n- [axe DevTools](https:\u002F\u002Fwww.deque.com\u002Faxe\u002F)\n",{"name":5,"description":7},"main","18d0e63d1313ca87098f614aa7c1e2dcf6de79c7","backend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Faccessibility-compliance\u002Fskills\u002Fwcag-audit-patterns",1,"https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system","https:\u002F\u002Fgithub.com\u002Fwelflau","2026-11-12 14:55:20",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add welflau\u002Fai-dev-system --skill wcag-audit-patterns",{"tool":56,"command":57},"bunx","bunx skills add welflau\u002Fai-dev-system --skill wcag-audit-patterns",{"tool":59,"command":60},"pnpm","pnpm dlx skills add welflau\u002Fai-dev-system --skill wcag-audit-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Faccessibility-compliance\u002Fskills\u002Fwcag-audit-patterns\u002FSKILL.md",true,[],[65,89,115,140,159,183],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":69,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":88},"01M6HS9Z4B0YA8CJCS2Y2F04Y3","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fwebapp-testing\u002FSKILL.md",[],[24,74,75,76,77,78,79,80,81,82,83,84,85,86,87,29,26],"webapp testing","webapp","frontend","screenshots","playwright","web","debugging","toolkit","browser","ui","logs","applications","behavior","local","2026-11-11 15:11:14",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":69,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":88},"01M6HRAGMG7JF0HXYHMA5QHS8A","internal-comms","A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Finternal-comms\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Finternal-comms\u002FSKILL.md",[],[97,98,99,100,101,102,33,103,104,105,106,107,108,109,110,111,112,113,114],"internal comms","comms","status","help","SET","write","reports","me","incident","leadership","project","resources","communications","internal communications","formats","sort","my","updates",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":69,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":38},"01M6HSTDP4M3JFXEBK91VFB4PA","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fweb-artifacts-builder\u002FSKILL.md",[],[123,79,124,125,126,76,127,128,129,130,131,132,133,134,33,135,136,137,138,26,139],"web artifacts builder","artifacts","artifacts builder","builder","css","components","react","routing","state management","state","file","Tailwind","single-file","simple","ui components","multi","single",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":69,"licenseFileUrl":144,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":38},"01M6HSDXH0JSP8R3QTNY9XZ8HN","frontend-design","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Ffrontend-design\u002FSKILL.md",[],[76,37,148,127,79,128,129,149,150,151,124,152,85,153,33,154,155,156,157,29,158,23],"frontend design","react components","create","code","examples","landing","ui design","pages","aesthetics","web ui","generic",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":69,"licenseFileUrl":163,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":38},"01M6HSA77QYVP7A72HREGTDN2C","algorithmic-art","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Falgorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Falgorithmic-art\u002FSKILL.md",[],[167,168,169,150,151,170,171,172,173,33,174,175,176,177,29,178,179,180,181,182,23],"algorithmic art","Art","algorithmic","flow","js","work","interactive","generative art","exploration","systems","users","Existing","request","generative","copyright","fields",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":69,"licenseFileUrl":187,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":38},"01M6HS9HE0X390Y6RQKTY1YNGJ","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Ftheme-factory\u002FSKILL.md",[],[191,192,193,194,81,195,124,101,196,197,153,198,199,155,200,29,201,202,203,26,204,205],"theme factory","factory","theme","docs","generate","fly","slides","styling","artifact","themes","you","fonts","can","apply","new"]