---
name: a11y-knowledge
description: A knowledge base of the rationale, judgment lines, how to build, and how to read automated checks for each WCAG 2.2 success criterion. Used in implementation, review, and auditing to look up the relevant file by success criterion or component.
argument-hint: 達成基準の番号（例 1.1.1）か部品の種類（例 button）
allowed-tools: Read Grep Glob
---

[日本語版 (Japanese)](./SKILL.ja.md)

# Accessibility Knowledge Base

A reference knowledge base that collects, per success criterion, "what the judgment is based on". It does not restate the definitions of WCAG success criteria or the ARIA specification (the agent is assumed to know them). What it does write down is: which parts of the Understanding documents to hold onto, the judgment lines for interpretation, how to build so the judgment lines are met, and what automated checks can and cannot decide.

This skill does not do work on its own. The implementation, review, and audit skills use it to read only the files for the success criteria they need.

## How to look things up

1. **When you know the success criterion number**: read `references/criteria/<number>.md` (for example `references/criteria/1.1.1.md`). The list is in [references/index-by-criterion.md](./references/index-by-criterion.md).
2. **When searching by component type** (when writing or reviewing code): use [references/index-by-component.md](./references/index-by-component.md) to find, from the component (button, link, image, dialog, and so on), the success criteria that apply to it, then read each file.
3. **When reading the results of automated checks (axe, `@a11y-skills/audit`)**: use [references/checks-axe.md](./references/checks-axe.md) and [references/checks-audit.md](./references/checks-audit.md) to confirm which results are settled and which need review, then read "When checking" in each success criterion's file.
4. **Success criteria that compare multiple pages** (3.2.3 / 3.2.4 / 3.2.6, and the comparison for 2.4.2): first read the shared judgment rules in [references/cross-page.md](./references/cross-page.md).

Do not read everything at once. Read only the success criteria being asked about.

When editing references, read [Editing and checking judgment evidence](./references/evidence-format.md). 2.5.8 / 1.1.1 / 4.1.2 / 2.4.3 / 2.4.7 / 2.4.11 / 1.4.11 / 2.4.12 / 2.4.13 / 1.4.4 / 1.4.10 / 1.4.12 / 2.5.1 / 2.5.7 / 2.5.5 / 2.1.4 / 2.5.2 / 2.5.4 / 1.3.3 / 1.3.4 / 1.4.1 / 2.2.1 / 2.2.2 / 1.4.2 / 3.3.1 / 3.3.2 / 3.3.3 / 3.2.3 / 3.2.4 / 3.2.6 / 2.4.1 / 2.4.2 / 2.4.4 / 1.3.1 / 1.3.5 / 3.1.1 / 2.1.1 / 3.2.1 / 3.3.4 / 1.2.2 / 1.4.5 / 1.2.1 / 1.2.3 / 1.2.5 / 2.1.2 / 1.4.13 / 3.2.2 / 2.5.3 / 2.4.6 / 4.1.3 use the pilot format with evidence IDs. Read each item’s source type, conditions, and limits and follow IDs from judgment lines. Verification covers the documented scope, not all cases or criteria without files.

## The four sections of each file

| Section        | Who reads it                          | Contents                                                                                                                                              |
| -------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rationale      | All situations                        | Sources and key points supporting judgments. The pilot format includes evidence IDs, source types, conditions, and limits |
| Judgment lines | All situations                        | How to read this criterion. What it does not apply to, exceptions, common misjudgments. The existing format uses **[Understanding]** / **[Our interpretation]**; the pilot uses evidence IDs and marks operational interpretations |
| When building  | Implementation and review             | How to build so the judgment lines are met, and what to avoid                                                                                          |
| When checking  | Auditing and reviewing automated checks | What automated checks decide, what remains, and what must not be asserted (conditions for leaving it as needs review)                                 |

## Rules for use

- **Use this as an opinionated knowledge base.** [Our interpretation] denotes a deliberately adopted policy, distinct from [Unverified] evidence gaps. Separate source summaries from author judgments and state scope, reasons, and reporting treatment.
- **[Our interpretation] judgment lines are not the only way to read WCAG.** A project may override them by its own decision. If you override one, record the reason on the project side.
- **Preserve the scope of automated findings.** Match applicability and exceptions in the criterion file. Do not extend partial passes to criterion-wide conformance; leave unverified conditions as needs review.
- **When you cannot decide, leave it as "needs review".** Do not mark it non-conformant or conformant by guesswork. Write down what would need to be confirmed to decide.
- **Write the reason first, then attach the verdict that fits the reason.** Do not write only the verdict and add the reason afterwards.

## Rules for what to include

- Include only "what the judgment is based on". Do not copy the text of the success criteria or the full Understanding documents.
- Limit the key points from the Understanding documents to the parts the judgment rests on (definitions of terms, intent, where exceptions come from).
- Distinguish source-backed judgment lines ([Understanding] in the existing format, evidence IDs in the pilot format) from operational interpretations ([Our interpretation]).
- Write down the patterns of misjudgment learned from measurement. Do not write the measurement numbers.
