Index of every page on this site: llms.txt
All skills
Run it yourself

Audit and fix website accessibility to WCAG 2.2 AA — semantic HTML, keyboard navigation, focus, labels, alt text, color contrast, ARIA, and screen-reader behavior — in React/Next.js, Vue, or plain HTML. Use whenever the user mentions accessibility, a11y, WCAG, screen readers, keyboard navigation, contrast, or is building forms, modals, menus, dropdowns, or preparing a site for launch.

Use this Skill: https://skilld.dev/gh/kiln-skills/kiln/a11y-audit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈101 tokens for metadata: the name and description. ≈598 when used: this file.

Description uses 5.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈400 characters, or 5.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Accessibility Audit

1. Automated pass (catches ~30–40%)

  • Static HTML/build output: python3 ../seo-setup/scripts/site_check.py <dist-or-out-dir-or-html-file> — reports missing alt, labels, lang, heading order, empty links/buttons.
  • Running site, if available: npx @axe-core/cli <url> or npx pa11y <url>.
  • Lint: eslint-plugin-jsx-a11y (React) / eslint-plugin-vuejs-accessibility (Vue) — suggest adding if missing.

2. Manual checks (the important 60%)

Keyboard

  • Tab through the whole page: every interactive element reachable, in a logical order, with a visible focus ring.
  • No keyboard traps. Esc closes modals/menus. Skip link to main content on content-heavy sites.
  • Clickable div/span → replace with <button> or <a href>. Links navigate, buttons act.

Semantics & structure

  • One <h1>; headings don't skip levels. Landmarks: header, nav, main, footer.
  • <html lang="id"> (or correct language).
  • Lists are ul/ol; data tables use th with scope.

Forms

  • Every input has a <label for> (placeholder is not a label). Group radios/checkboxes with fieldset/legend.
  • Errors: text near the field, linked via aria-describedby, field marked aria-invalid="true"; don't rely on red color alone.
  • Correct type and autocomplete (email, tel, name, current-password).

Images & media

  • Informative images: alt describing purpose. Decorative: alt="". Icon-only buttons: aria-label.
  • Video: captions; no autoplay with sound.

Color & motion

  • Contrast ≥ 4.5:1 text, ≥ 3:1 large text & UI components/focus indicators.
  • Info not conveyed by color alone. Respect prefers-reduced-motion.
  • Content usable at 200% zoom and 320px width.

Dynamic components

  • Prefer native elements (<dialog>, <details>, <select>) or a vetted library (Radix, Headless UI, React Aria) over hand-rolled ARIA.
  • Modal: focus moves in, is trapped, returns to trigger on close; background inert.
  • Live updates (toasts, form submit result): aria-live="polite" / role="status".
  • First rule of ARIA: don't use ARIA if native HTML works.

3. Report & fix

Group by severity: Blocker (can't complete a task with keyboard/screen reader), Serious, Moderate. For each: element/file, WCAG criterion (e.g. 1.1.1, 2.4.7), fix. Then apply fixes if the user agrees and re-run the automated checks.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts16d3 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This accessibility audit skill uses industry-standard tools and local scripts to check for WCAG compliance. It is safe for use as it relies on well-known testing frameworks.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

Signed by skilld at 555d7ea. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 weeks ago

README badge

README badge for kiln-skills/kiln/a11y-audit