[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FDBX2X0RYCHK4YZ83MBXTR":3,"skill-same:01M7FDBX2X0RYCHK4YZ83MBXTR":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7FDBX2X0RYCHK4YZ83MBXTR","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.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fwcag-audit-patterns\u002FSKILL.md",[],[],"2026-11-16 10:05:34",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","# 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",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fwcag-audit-patterns",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill wcag-audit-patterns",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill wcag-audit-patterns",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill wcag-audit-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fwcag-audit-patterns\u002FSKILL.md",true,[],[47,54,59,66,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":55,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]