一键导入
nuxt-a11y-skilld
ALWAYS use when writing code importing "@nuxt/a11y". Consult for debugging, best practices, or modifying @nuxt/a11y, nuxt/a11y, nuxt a11y, a11y.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ALWAYS use when writing code importing "@nuxt/a11y". Consult for debugging, best practices, or modifying @nuxt/a11y, nuxt/a11y, nuxt a11y, a11y.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you. ALWAYS use when writing code importing "@anthropic-ai/claude-code". Consult for debugging, best practices, or modifying @anthropic-ai/claude-code, anthropic-ai/claude-code, anthropic-ai claude-code, anthropic ai claude code, claude-code-2.1.88, claude code 2.1.88.
daisyUI 5 - The Tailwind CSS Component Library. ALWAYS use when writing code importing "daisyui". Consult for debugging, best practices, or modifying daisyui.
An AST-based pattern checker for JavaScript. ALWAYS use when writing code importing "eslint". Consult for debugging, best practices, or modifying eslint.
ALWAYS use when writing code importing "node-gyp". Consult for debugging, best practices, or modifying node-gyp, node gyp.
A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintenance fork). ALWAYS use when writing code importing "npm-run-all2". Consult for debugging, best practices, or modifying npm-run-all2, npm run all2.
Generate ESLint config from current Nuxt settings. ALWAYS use when writing code importing "@nuxt/eslint". Consult for debugging, best practices, or modifying @nuxt/eslint, nuxt/eslint, nuxt eslint, eslint.
| name | nuxt-a11y-skilld |
| description | ALWAYS use when writing code importing "@nuxt/a11y". Consult for debugging, best practices, or modifying @nuxt/a11y, nuxt/a11y, nuxt a11y, a11y. |
| metadata | {"version":"1.0.0-alpha.1","generated_by":"Anthropic · Haiku 4.5","generated_at":"2026-05-31T00:00:00.000Z"} |
@nuxt/a11y@1.0.0-alpha.1Tags: latest: 1.0.0-alpha.1, alpha: 1.0.0-alpha.1
References: package.json • README • Issues
Use skilld search "query" -p @nuxt/a11y instead of grepping .skilld/ directories. Run skilld search --guide -p @nuxt/a11y for full syntax, filters, and operators.
@nuxt/a11y v1.0.0-alpha.1 is the initial alpha release of the Nuxt Accessibility module. There are no previous versions, so no deprecated, removed, or renamed APIs to document.
The module provides the following stable APIs:
ModuleOptions — configure the module via nuxt.config.ts with enabled, defaultHighlight, logIssues, and axe configuration source
A11yViolation — typed interface for accessibility violations with properties: id, impact, help, helpUrl, description, nodes, tags, timestamp, and optional route source
A11yWindow — extends Window interface with testing functions: __nuxt_a11y_run__(), __nuxt_a11y_enableConstantScanning__(), __nuxt_a11y_disableConstantScanning__() source
PublicRuntimeConfig — exposes axe, a11yDefaultHighlight, and a11yLogIssues at runtime source
The following features are under consideration for future releases:
WCAG conformance level filter (A/AA/AAA) — planned feature to allow filtering violations by compliance level source
CLI command for generating reports — proposed nuxt a11y --output=report.md for CI/CD integration source
Integration with @nuxt/test-utils — planned testing utilities for accessibility scanning in test suites source
Load @nuxt/a11y before @nuxt/devtools in your nuxt.config.ts modules array to ensure DevTools RPC handlers register correctly. If loaded after DevTools, the a11y tab may fail to communicate with the module source
Use axe.runOnly to target specific WCAG compliance standards based on your legal or contractual requirements (WCAG 2.0 Level AA for ADA/Section 508, WCAG 2.1 Level AA for RGAA/EN 301 549, etc.). This prevents noise from higher-level AAA-only rules source
a11y: {
axe: {
runOptions: {
runOnly: ['wcag2aa'], // Target AA compliance
},
},
}
Disable console logging (logIssues: false) in production or CI environments to avoid cluttering logs; logging is most useful during active development source
Configure individual axe-core rules via axe.options.rules to enable, disable, or adjust specific checks—for example, relaxing color-contrast rules if your design system uses CSS variables that axe-core doesn't resolve correctly source
a11y: {
axe: {
options: {
rules: {
'color-contrast': { enabled: true },
'image-alt': { enabled: false }, // Disable if you handle alt text differently
},
},
},
}
Enable defaultHighlight: true during active development to immediately visualize violations on the page as you navigate and modify components, reducing the friction of manual scanning source
Use auto-scan mode in development to catch regressions in real-time as you interact with the application. The module debounces scans to prevent performance issues from excessive rescans source
Click violation cards in the DevTools panel to pin and highlight all affected elements with numbered badges, then click individual elements to toggle their highlighting. Use "Scroll to element" to jump directly to violations on the page source
Upgrade and Connection) are properly forwarded to prevent infinite RPC reconnection loops. The a11y DevTools client communicates via WebSocket sourcelocation /admin {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
enabled: true in dev, disabled in production). Explicitly set enabled: false in production builds to prevent bundle overhead sourceUnderstand that the "no issues" result does not mean your application is fully accessible—axe-core detects automated violations, but many accessibility issues (e.g., keyboard navigation, screen reader compatibility, logical heading structure) require manual testing and user feedback source
Be aware that the module prevents highlighting of <html> and <body> elements and displays a helpful notification instead. Focus highlighting and debugging on child elements within the page source