preact-a11y
Use when designing, implementing, testing, or reviewing accessibility in Preact apps — semantic HTML, ARIA, keyboard flow, focus management, forms, contrast…
Skill by prachwal-archive
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/prachwal-archive-preact-a11y
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/preact-a11y
What's inside
- Skill name
preact-a11y- Description
- Use when designing, implementing, testing, or reviewing accessibility in Preact apps — semantic HTML, ARIA, keyboard flow, focus management, forms, contrast, motion, responsive behavior, or WCAG 2.2 concerns.
- License
- MIT
- Instructions
- 65 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Preact Accessibility Use this skill for accessibility work in Preact frontend applications. ## Baseline - Treat WCAG 2.2 AA as the practical target unless the user specifies another level. - Start with semantic HTML before ARIA. - Use ARIA to add missing semantics, not to override native elements that already work. - Preserve visible focus indicators and logical keyboard order. - Check both light and dark themes when color changes are involved. ## Semantic Structure - Each page should have one meaningful `<h1>`. - Use landmarks intentionally: `<header>`, `<nav>`, `<main>`, `<section>`, `<footer>`, `<form>`. - Give icon-only buttons an accessible name with `aria-label` or visible text. - Use real `<button>` for actions and `<a>` for navigation. - Associate form controls with `<label>`. - Use `<fieldset>` and `<legend>` for grouped controls. ## Keyboard And Focus - All interactive controls must be reachable and operable by keyboard. - Focus order should match visual and reading order. - Do not remove outlines unless replacing them with an equally visible focus style. - Manage focus after route changes, dialogs, drawers, and destructive confirmations. - Escape should close dismissible overlays. - Avoid keyboard traps; if focus is trapped in a modal, restore focus on close. ## ARIA Rules - Prefer native controls over custom widgets. - Do not add `role="button"` to non-button elements unless keyboard handling and focus are fully implemented. - Keep `aria-expanded`, `aria-controls`, `aria-current`, `aria-invalid`, `aria-describedby` synchronized with visible state. - Do not hide focusable content with `aria-hidden="true"`. - Use live regions sparingly for async status changes. ## Preact-Specific Patterns - Use `useRef` + `.focus()` for programmatic focus management. Preact supports the same hooks API as React. - Use signals (`@preact/signals`) for reactive state — bind ARIA attributes directly from signals. - Prefer `<></>` fragments over wrapper `<div>` to avoid polluting landmark structure. - Declare `aria-live` regions in the root layout, not in leaf components that mount/unmount. - For modals: trap focus with a library or manual implementation, restore focus on close. - Use `componentDidCatch` in class components for error boundaries. - Pass `aria-*` props directly to native elements — Preact supports them natively. ## Review Checklist - Can the main workflow be completed with keyboard only? - Is the current page and active navigation understandable to a screen reader? - Are form errors announced and tied to fields? - Are loading, empty, error, and success states perceivable? - Does focus remain visible and predictable after interaction? - Do both light and dark themes preserve contrast? - Does the layout work at mobile width and with zoomed text? ## Verification - Use unit tests for conditional labels, ARIA state, and accessibility behavior. - Use browser verification for focus order, tab stops, theme contrast, and responsive layout. - Integrate axe-core in CI or test pipeline for automated checks.
From prachwal-archive/web-ui-skills, MIT.
More from prachwal-archive/web-ui-skills
- 0.502score
a11y-review
prachwal-archive
Use when reviewing web interfaces for accessibility, including WCAG 2.2 mapping, ARIA misuse, keyboard access, focus management, responsive/mobile behavior…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
docs-instructions
prachwal-archive
Use when maintaining repository Markdown, Copilot instructions, Codex AGENTS.md, repo skills, prompts, or LLM evaluation tasks.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
react-a11y
prachwal-archive
Use when designing, implementing, testing, or reviewing accessibility in React apps — semantic HTML, ARIA, keyboard flow, focus management, forms, contrast…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
react-ui
prachwal-archive
Guidance for building, redesigning, or reviewing React TSX pages/components, hooks, state management, styling, routing, accessibility, and Testing Library…
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
project-tooling
prachwal-archive
Tooling guidance for Vite, Vitest, TypeScript, ESLint/Biome, package scripts, path aliases, and build/test tooling.
SkillCFreshness: C★ 1Claude Code +9 - 0.437score
netlify-database-security
prachwal-archive
Use when connecting Netlify backend APIs to databases and you need secure runtime env handling, least privilege, safe data access patterns, and storage…
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
netlify-serverless
prachwal-archive
Use when choosing and operating Netlify's serverless execution primitives.
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
netlify-typescript-api
prachwal-archive
Use when designing or implementing TypeScript backend APIs on Netlify, including handler structure, validation, typed contracts, error envelopes, and testable…
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
preact-ui
prachwal-archive
Use when designing, refactoring, or reviewing Preact pages and components, including component structure, MVVM architecture, signals, hooks, forms, routing…
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
typescript-fundamentals
prachwal-archive
Use when designing or reviewing TypeScript code structure, type safety, patterns, JSDoc, naming conventions, formatting, and module organization.
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
eslint-config
prachwal-archive
Use when setting up, extending, or fixing ESLint configuration for TypeScript projects, including flat config, Preact/React, Node.js, Netlify Functions, and…
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
mongodb-netlify
prachwal-archive
Use when building Netlify Functions or full-stack apps that use MongoDB Atlas or MongoDB-compatible deployments.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 22, 2026 (5 months ago)
- Last release
- Apr 23, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from prachwal-archive
- 0.502score
a11y-review
prachwal-archive
Use when reviewing web interfaces for accessibility, including WCAG 2.2 mapping, ARIA misuse, keyboard access, focus management, responsive/mobile behavior…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
react-a11y
prachwal-archive
Use when designing, implementing, testing, or reviewing accessibility in React apps — semantic HTML, ARIA, keyboard flow, focus management, forms, contrast…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
docs-instructions
prachwal-archive
Use when maintaining repository Markdown, Copilot instructions, Codex AGENTS.md, repo skills, prompts, or LLM evaluation tasks.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
react-ui
prachwal-archive
Guidance for building, redesigning, or reviewing React TSX pages/components, hooks, state management, styling, routing, accessibility, and Testing Library…
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
project-tooling
prachwal-archive
Tooling guidance for Vite, Vitest, TypeScript, ESLint/Biome, package scripts, path aliases, and build/test tooling.
SkillCFreshness: C★ 1Claude Code +9 - 0.437score
neon-netlify
prachwal-archive
Use when building Netlify apps or APIs with Neon Postgres.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
preact-a11y skill. Agent Mart. https://agentmart.dev/skills/prachwal-archive-preact-a11y (last updated 2026-10-24)