Docs Accessibility Audit

VerifiedCaution

Audit and improve the accessibility of the timepicker-ui documentation site against WCAG 2.2 AA. Covers landmarks, keyboard, ARIA, contrast, and motion.

Sby Skills Guide Bot
DevelopmentIntermediate
7/22/2026
Claude Code
#accessibility#wcag#documentation-site#nextjs#audit

Recommended for

Automated summary

Orchestrates a WCAG 2.2 AA accessibility audit and fixes for the timepicker-ui documentation site (docs-app/), via a dedicated subagent and an approval gate.

Strengths

  • Splits the audit into five clear areas (structure, keyboard/focus, names and contrast, content, motion) with WCAG references and exact files
  • Enforces an approval gate before any edit, with an --apply-all option for unattended runs
  • Covers site-specific cases: command menu, mobile sidebar, dialogs, and light/dark themes
  • Ends with real verification (build, lint, axe/Lighthouse) plus a manual keyboard and screen-reader checklist

Limitations

  • Only covers docs-app/ ; library accessibility bugs are redirected to /a11y
  • Depends on the docs-accessibility subagent and Claude Code's Task tool being available
  • Automated verification hinges on axe/Lighthouse tooling being present in the environment
When to use it

Use it when you want to audit or fix the accessibility of the timepicker-ui documentation site against WCAG 2.2 AA.

When not to use it

Don't use it for the library's own accessibility or for a visual/content redesign of the docs site.

Security analysis

Caution
Quality score90/100

The skill is a scoped accessibility audit/fix workflow with clear guardrails, an approval gate, and no destructive, exfiltration, or obfuscated instructions. It is rated caution only because it can dispatch a subagent, edit files, and run npm scripts, all for legitimate documentation-site accessibility work.

Findings
  • •Dispatches a subagent and can apply edits under docs-app/; approval gate is present but --apply-all skips per-area approval.
  • •Offers to run npm build/lint inside docs-app/, which executes project scripts and may have side effects.
  • •No allowed-tools are declared, so actual tool availability and permissions depend on host configuration.
How this analysis is made

Examples

Full audit
/docs-a11y
Focus on the command menu
/docs-a11y command-menu
Contrast check in both themes
/docs-a11y contrast

name: docs-a11y description: Audit and improve the accessibility of the timepicker-ui documentation site (docs-app/) - landmarks, heading order, skip links, keyboard nav, focus management in the command menu / sidebar / dialogs, color contrast, alt text, ARIA on custom components, Radix usage, reduced motion - against WCAG 2.2 AA. Use when the user wants an a11y audit/fix of the docs site. Drives the docs-accessibility subagent in an audit → approve → apply flow. Does NOT cover the library (use /a11y for that).

Docs Accessibility (a11y)

Make the timepicker-ui documentation site (docs-app/, Next.js 16) usable by keyboard and assistive technology. This skill is a thin orchestrator: the real work is done by the docs-accessibility subagent. The skill exists to hold the approval gate the subagent can't run itself.

Standard: WCAG 2.2 AA. Scope is docs-app/ only - the library is /a11y.

Arguments (optional)

  • A focus area narrows the run, e.g. /docs-a11y nav, /docs-a11y command-menu, /docs-a11y contrast, /docs-a11y headings, /docs-a11y keyboard. No argument = full audit.
  • --apply-all skips the per-area approval prompt and applies the whole audited plan (still reports
    • verifies). Use only for an explicitly unattended run.

Workflow

Phase 1 — Audit (read-only)

Dispatch the docs-accessibility subagent (Task tool, subagent_type: docs-accessibility) in audit mode, with the focus area if given. Ask for a prioritized, file-level plan grouped into:

  1. Structure & landmarks (one <main>, nav/header/footer, skip link, heading order)
  2. Keyboard & focus (command menu, mobile sidebar, dialogs: trap/Escape/focus-return, visible focus, aria-expanded/aria-current)
  3. Names, roles, contrast (icon-button labels, decorative aria-hidden, ≥4.5:1 text contrast in light AND dark)
  4. Content & media (lang, descriptive links, labelled copy buttons, alt text)
  5. Motion & responsiveness (prefers-reduced-motion, reflow at 320px / 400% zoom) Each finding cites its WCAG reference and the exact file + change. No edits.

Phase 2 — Present & approve (gate)

Relay the plan concisely (grouped, with references). Use AskUserQuestion to approve all, pick which groups/items to apply, or skip. Capture the approved set. Do not skip this gate unless --apply-all was passed.

Phase 3 — Apply

Dispatch docs-accessibility again in apply mode with the exact approved list. It implements fixes (landmarks, headings, aria-*, focus management, labels, contrast/markup) in docs-app's own TS/App-Router style and line endings, using Radix primitives correctly and adding no heavy deps.

Phase 4 — Verify & report

  • Offer to run npm run build / npm run lint (and an axe/Lighthouse a11y pass if tooling is available) inside docs-app/. Report real output; never assume green.
  • Summarize what changed, grouped by the five areas, with the file list.
  • Give the manual checklist: keyboard-only walkthrough (header → command menu → sidebar → a docs page), Escape/focus-return on the menus, a screen-reader pass on one page, and a contrast check in both light and dark themes.
  • Flag anything that's actually a library a11y bug (seen via a live demo) for /a11y, and any visual/content redesign for docs-site.

Guardrails

  • docs-app/ only; never edit the library in app/ or dist/.
  • Match docs-app conventions and line endings (not the library's CRLF rule).
  • Accessibility, not redesign; no new heavy a11y dependencies without flagging.
  • This skill audits/fixes; git and deploy stay with the user.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/docs-accessibility-audit-mrwak96n/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/docs-accessibility-audit-mrwak96n' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/docs-accessibility-audit-mrwak96n/download' --output '.skill-downloads/docs-accessibility-audit-mrwak96n/SKILL.md.part' && mv '.skill-downloads/docs-accessibility-audit-mrwak96n/SKILL.md.part' '.skill-downloads/docs-accessibility-audit-mrwak96n/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/docs-accessibility-audit-mrwak96n/SKILL.md' && test -s '.skill-downloads/docs-accessibility-audit-mrwak96n/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/docs-a11y' && cp -R '.skill-downloads/docs-accessibility-audit-mrwak96n' '.claude/skills/docs-a11y'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/docs-accessibility-audit-mrwak96n'

openskills read 'docs-accessibility-audit-mrwak96n'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/docs-accessibility-audit-mrwak96n/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills