inceptyon-labs/tenet-skills/tenet-accessibility
Claude Code and agent skill by inceptyon-labs/tenet-skills
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Audits web accessibility issues in HTML, JSX, TSX, Vue, and Svelte UI code.
Install
npx vskill@latest install inceptyon-labs/tenet-skills/tenet-accessibilitySemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as inceptyon-labs/tenet-skills/tenet-accessibility.
Tenet Accessibility — A11y Audit
Scans UI code for WCAG compliance issues: missing alt text, keyboard traps, unlabeled controls, heading hierarchy violations, and missing ARIA attributes.
Purpose
Accessibility failures exclude users and expose projects to legal risk. This skill audits the view layer of web applications for common a11y violations that automated tools can reliably detect. It combines deterministic toolchain output (axe-core, pa11y) with grep-based pattern matching on source files to catch issues at the template level before they reach the browser.
Calibration — read first
Follow shared/scan-discipline.md (complete every step, enumerate rather than sample, and §2a: report only issues that actually exist), shared/verification.md (every finding is confirmed against the code before it ships; unconfirmed candidates are dropped, not demoted), and shared/severity.md (severity is confirmed impact, never a hedge for doubt).
A finding must exist in this codebase on a path that can run. Do not report hypotheticals, dead code, style preferences, or anything an upstream check already prevents. Zero findings for a step is the normal result on healthy code; do not fill a step to show you looked. Do not overthink it: read the code and its context, decide, move on.
Applicability Check
This dimension applies when any of the following file types are present in the project:
.html,.htm.jsx,.tsx.vue.svelte
Check via the language census or direct file search:
If no matching files exist, write a non-applicable report:
Language Support Matrix
- Native (HTML): Direct pattern matching on standard HTML elements and attributes.
- Native (TSX/JSX): Pattern matching on JSX syntax, accounting for
classNamevsclass,htmlForvsfor, and expression attributesalt={...}. - Heuristic (Vue): Scans
<template>blocks. Accounts forv-bind:altand:altshorthand. May miss computed attribute values. - Heuristic (Svelte): Scans markup sections. Accounts for
{alt}shorthand syntax. May miss conditional attributes in{#if}blocks.
Toolchain Inputs
| File | Source Tool | Usage | |
|---|---|---|---|
.healthcheck/toolchain/axe.json | axe-core CLI | Browser-level accessibility violations from rendered pages | |
.healthcheck/toolchain/pa11y.json | pa11y | WCAG 2.1 AA violations from rendered pages | |
.healthcheck/toolchain/language-census.json | language census | File lists and language breakdown |
All toolchain inputs are optional. If axe.json and pa11y.json are absent, the skill relies entirely on source-level grep-based scanning.
Procedure
Step 0: Read Configuration and Toolchain
If .healthcheck.toml contains an [accessibility] section, apply overrides:
wcag_level— target WCAG level:"A","AA"(default), or"AAA"skip_patterns— glob patterns for files to exclude (e.g.,["src/legacy/**"])ignore_rules— list of rule IDs to suppress (e.g.,["A11Y-H006"])
Step 1: Consume Toolchain Output
1a. Parse axe-core results:
If .healthcheck/toolchain/axe.json exists, iterate its findings array. Map axe impact levels to Tenet severities:
| axe impact | Tenet severity | |
|---|---|---|
| critical | critical | |
| serious | major | |
| moderate | minor | |
| minor | info |
For each axe finding, create a Tenet finding with:
confidence: "deterministic"(axe runs against rendered DOM)fileandlinefrom the axe selector mapped back to source if possiblefix_promptgenerated from the axehelpandhelpUrlfields
1b. Parse pa11y results:
If .healthcheck/toolchain/pa11y.json exists, iterate its results. Map pa11y types:
| pa11y type | Tenet severity | |
|---|---|---|
| error | major | |
| warning | minor | |
| notice | info |
Deduplicate against axe findings — if both tools flag the same element (matched by selector or file+line), keep the higher-confidence one (axe preferred) and discard the duplicate.
Step 2: Source-Level Scanning
Regardless of whether toolchain output exists, perform source-level scans. These catch issues at the template/component level that browser-based tools miss (e.g., in components that are conditionally rendered or in library code).
2a. Build file list:
Exclude files matching skip_patterns from config.
2b. Missing alt text on images (A11Y-I001):
Scan for <img tags without alt attributes:
Also accept as valid (no finding): alt="" or role="presentation" (decorative), alt={...} (dynamic), Vue :alt/v-bind:alt, Svelte alt={variable}.
Emit major for each <img> without any form of alt attribute.
2c. Interactive elements without keyboard handlers (A11Y-K001):
Scan for elements with onClick/@click/on:click but no keyboard equivalent:
For non-interactive elements with click handlers (e.g., <div onClick=...>), also check for:
role="button"or other interactive roletabIndexattribute
Non-interactive elements (<div>, <span>, <li>, <td>) with click handlers: major if missing keyboard handler AND role AND tabIndex. <a> without href used as click handler: minor. Native interactive elements (<button>, <a href>, <input>) are exempt. For Vue check @click vs @keydown; for Svelte check on:click vs on:keydown.
2d. Missing ARIA labels on icon buttons (A11Y-A001):
Scan for buttons containing only non-text content:
A button needs an accessible name if it contains:
- Only an SVG (
<svg) with no sibling text - Only an icon component (
<Icon,<FontAwesome,<Lucide, etc.) - Only an
<img>(which should have its own alt, but button still needs a label)
Acceptable accessible names: aria-label, aria-labelledby, visible text content, <span className="sr-only">, or title attribute. Emit major for icon buttons without any accessible name.
2e. Form inputs without labels (A11Y-F001):
Scan for <input>, <select>, <textarea> elements:
An input is considered labeled if it has: a matching <label for>/<label htmlFor>, a wrapping <label>, aria-label, or aria-labelledby. Exempt: type="hidden", type="submit", type="button". Emit major for visible inputs without any label association.
2f. Heading hierarchy skips (A11Y-H001):
Track heading levels (<h1> through <h6>, or JSX <Heading level={n}>) in each file:
Rules:
- The first heading in a page/component should be
<h1>(unless it is a sub-component) - Headings must not skip levels:
<h1>→<h3>without<h2>is a violation - Multiple
<h1>tags in a single file is a minor finding
Emit minor for each heading hierarchy skip.
Note: In component architectures, sub-components may start at <h2> or lower. Only flag skips within a single file (e.g., <h2> then <h4>). Page/Layout/App files should have <h1>.
2g. Missing lang attribute (A11Y-L001):
Scan for <html tags without a lang attribute:
This applies to:
index.html,_document.tsx,_document.jsx,app.html(SvelteKit),app.vue(Nuxt), or any file containing<html- Layout/shell files in framework-specific locations
Emit major for <html> without lang. This is a WCAG 2.1 Level A requirement.
2h. Color contrast issues (A11Y-C001):
Source-level contrast detection is limited. Scan for inline styles setting both color and background-color, and attempt basic contrast ratio estimation. Most contrast issues are caught by axe/pa11y in the toolchain — source-level findings are info only with confidence: "heuristic".
Step 3: Deduplicate Findings
Merge toolchain findings (Step 1) with source-level findings (Step 2):
- If a toolchain finding and source finding reference the same file and similar line range (within 5 lines), keep the toolchain finding (higher confidence) and discard the source-level duplicate.
- If only source-level findings exist for a file, keep them with their heuristic confidence tag.
- If only toolchain findings exist for a file, keep them.
Step 4: Score Calculation
Apply the standard scoring formula:
Info findings do NOT affect the score.
Step 5: Write Report
Write the dimension report to .healthcheck/reports/accessibility.json:
Output
.healthcheck/reports/accessibility.json— dimension report using the dimension fields and finding schema inshared/schema.json
Constraints
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tenet-accessibility/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/inceptyon-labs/tenet-skills/tenet-accessibility)