本文へ移動
cccskills
無料GitHub で公開

accessibility

Use when creating or modifying any UI element visible to the user, reviewing HTML markup, adding interactive elements, or when Lighthouse Accessibility drops below 90.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeckスター 80(GitHub 80 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(2)

  • SKILL.md1.8 KB
  • LEARNINGS.md349 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Accessibility Skill

Canonical Sources

This skill references the following globals — read them BEFORE starting work:

  • system/globals/accessibility.md — WCAG rules, ARIA patterns, keyboard nav, focus styles
  • system/globals/colors.md — Contrast ratios, color semantics

Domain

WCAG 2.1 AA, ARIA, Keyboard Navigation, Contrast, Screen Readers

KPIs

MetricTargetMeasurement
Lighthouse Accessibility>90Lighthouse JSON → categories.accessibility.score * 100
Pa11y Errors0npx pa11y <URL> --reporter=json
Images without Alt0npm run check:kpis

Non-Negotiable

These rules always apply — even under time pressure, even for "it's just an internal tool":

  • No element without alt text. Not even "because it's a template" — templates set the standard for thousands of projects built on top of them.
  • No div instead of button for clickable elements. Not even "because it's easier." A div is not focusable, not keyboard-operable, and is ignored by screen readers.
  • No commit without heading hierarchy. "It's just a landing page" is not an excuse — screen readers navigate via headings.
  • Dark mode is mandatory from day 1. "We'll add it later" doesn't work — CSS variables must be correct from the start. Retrofitting is double the work.
  • Keyboard navigation is not a nice-to-have. "Users only use the mouse anyway" is wrong — 25% of users rely on keyboard, assistive technology, or both.

Before Applying

Read LEARNINGS.md in this directory to avoid known anti-patterns.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

astro

無料

Use when creating or modifying .astro/.tsx files, configuring astro.config.mjs, working with Content Collections, or when TypeScript or build errors occur.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

Use when creating or editing pages, blog posts, or content files, adding meta tags, or when Lighthouse SEO drops below 90.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

qa

無料

Use when completing any task (final validation step), running audits, preparing for deployment, or when ESLint/TypeScript/build errors occur.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

readme

無料

Use when starting work on an AstroDeck project, needing to understand the project structure, or looking up available components, sections, and layouts.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

tailwind

無料

Use when writing or reviewing any CSS class, changing colors, modifying globals.css, or when hardcoded colors or inline styles are detected.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

ui-design

無料

Use when creating or modifying any visible UI element, adjusting spacing or typography, reviewing visual consistency, or when Lighthouse Performance drops below 90.

日本語の概要は準備中です。原文の説明を表示しています。

holger1411/astrodeck802026年9月5日 更新

holger1411 のスキルをすべて見る

このスキルの問題を報告する