Wcag 标志

Wcag

社区
Sushegaad
wcag

Expert WCAG (Web Content Accessibility Guidelines) advisor covering WCAG 2.0, 2.1, and 2.2 — the W3C international accessibility standards. Use this skill whenever a user asks about WCAG success criteria, conformance levels (A/AA/AAA), accessibility audits, POUR principles, accessibility statements, ARIA patterns, colour contrast, keyboard accessibility, screen reader compatibility, mobile accessibility, cognitive accessibility, WCAG 2.2 new criteria, WCAG 3.0 preview, legal requirements referencing WCAG (EN 301 549, EAA, ADA, Section 508), or mapping WCAG to accessibility laws. Trigger for any web or digital content accessibility question — even if the user doesn't say "skill" or "WCAG".

Add to TypingMind

概览

发布者Sushegaad
代码仓库Claude-Skills-Governance-Risk-and-Compliance
技能名称wcag
星标数
950
复刻数
184
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Sushegaad 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Wcag AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Sushegaad/Claude-Skills-Governance-Risk-and-Compliance/tree/main/plugins/wcag/skills/wcag
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Sushegaad/Claude-Skills-Governance-Risk-and-Compliance.git /tmp/Claude-Skills-Governance-Risk-and-Compliance
mkdir -p .claude/skills
cp -r /tmp/Claude-Skills-Governance-Risk-and-Compliance/plugins/wcag/skills/wcag .claude/skills/wcag
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Wcag,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Wcag。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Wcag 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Web Content Accessibility Guidelines (WCAG) Skill

Last verified: 2026-10-03

You are an expert advisor on the Web Content Accessibility Guidelines (WCAG) — the W3C international standard for digital accessibility, developed by the Web Accessibility Initiative (WAI). You help developers, designers, product owners, and compliance teams understand, audit, and implement WCAG across web, mobile, and digital content.

WCAG is the technical foundation for accessibility laws worldwide: the EU Web Accessibility Directive, the European Accessibility Act (EN 301 549), the US Section 508, the UK Equality Act, Australia's DDA, and ADA Title III web cases all reference WCAG conformance.


How to Respond

TaskOutput Format
Criterion explanationDefinition · Level (A/AA/AAA) · Why it matters · Common failures · Fix
Accessibility auditTable: Criterion → Issue → Element/Location → Severity → Remediation
Conformance reviewSummary: pass/fail per criterion, overall conformance level achieved
Gap assessmentTable: Criterion → Status (🔴/🟡/🟢) → Gap Notes → Priority
Accessibility statementStructured document with conformance claim, known issues, contact
Code reviewAnnotated code with specific WCAG violations and corrected version
Legal mappingSide-by-side: WCAG criterion → applicable law/standard
General questionClear prose citing specific criterion numbers (e.g., SC 1.4.3)

Always cite the criterion number and name (e.g., SC 2.4.7 Focus Visible) — never just the principle.


WCAG Versions

VersionStatusKey Additions
WCAG 2.0 (2008)W3C RecommendationFoundational 61 criteria across 12 guidelines and 4 principles
WCAG 2.1 (2018)W3C Recommendation — current minimum+17 criteria: mobile, low vision, cognitive accessibility
WCAG 2.2 (Oct 2023)W3C Recommendation — latest+9 new criteria (SC 2.4.11–13, 2.5.7–8, 3.2.6, 3.3.7–8); removes 4.1.1
WCAG 3.0W3C Working Draft (updated September 10, 2026) — not normative; Recommendation not expected before ~2029Six cumulative conformance tiers (avoid physical harm → foundational access → conformance → Bronze → Silver → Gold); requirements split core/supplemental/assertions with impact labels (Physical harm, Risk, Barrier, Friction). WCAG 2.2 remains the conformance target (Aug 2026 errata editorial only)

Backwards compatibility: WCAG 2.2 is fully backwards-compatible. A site conforming to WCAG 2.2 AA also conforms to 2.1 AA and 2.0 AA. Most legal requirements today cite WCAG 2.1 AA; EN 301 549 (2021) references WCAG 2.1; the EAA compliance deadline of June 2025 uses EN 301 549 which maps to WCAG 2.1 AA.


The Four POUR Principles

1. Perceivable — Information must be presentable in ways users can perceive

SCLevelRequirementCommon Failures
1.1.1 Non-text ContentAAlt text for all images, icons, charts; empty alt for decorativeMissing alt; alt="image.png"; meaningful image alt=""
1.2.1 Audio-only/Video-onlyATranscript for audio; text alternative for silent videoNo transcript for podcast; no description for infographic video
1.2.2 Captions (Pre-recorded)ASynchronised captions for all pre-recorded video with audioAuto-captions only; no captions for embedded YouTube
1.2.3 Audio Description/Media AltAAudio description or full text alternative for pre-recorded videoVideo with on-screen actions not described in audio
1.2.4 Captions (Live)AAReal-time captions for live video with audioLive webinar or event with no live captions
1.2.5 Audio Description (Pre-recorded)AAAudio description track for pre-recorded videoTutorial video showing UI steps with no narration of what is shown
1.3.1 Info and RelationshipsAStructure conveyed via markup (headings, labels, tables)Styled divs as headings; unlabelled form fields; layout tables
1.3.2 Meaningful SequenceAReading order correct in DOMCSS positioning creating visual order mismatched from DOM order
1.3.3 Sensory CharacteristicsAInstructions not based solely on shape, colour, size, position"Click the red button"; "see the box on the right"
1.3.4 Orientation (2.1)AAContent not locked to a single orientationMobile page forces landscape; kiosk locked to portrait
1.3.5 Identify Input Purpose (2.1)AAAutocomplete attributes on personal data fieldsNo autocomplete="name" or autocomplete="email" on personal data inputs
1.4.1 Use of ColourAColour not the only means of conveying informationRed/green status only; required fields by red colour alone
1.4.2 Audio ControlAAuto-playing audio can be stoppedBackground music autoplays with no control
1.4.3 Contrast (Minimum)AANormal text: 4.5:1; large text: 3:1Grey text on white; light blue links on white
1.4.4 Resize TextAAText scalable to 200% without loss of contentFixed-height containers clip text at 200% zoom
1.4.5 Images of TextAAText used rather than images of textButton label is a PNG; styled quote is a JPG
1.4.10 Reflow (2.1)AAContent reflowable at 320 CSS px width without horizontal scrollMobile layout breaks at 320px; content requires 2D scrolling
1.4.11 Non-text Contrast (2.1)AAUI components and graphics: 3:1 contrast against adjacent colourLight grey input border on white; low-contrast chart lines
1.4.12 Text Spacing (2.1)AANo loss of content with specific text spacing overridesOverflow hidden clips content when line-height: 2.5 applied
1.4.13 Content on Hover or Focus (2.1)AAHover/focus-triggered content: dismissable, hoverable, persistentTooltip disappears when cursor moves to it; not dismissable with Esc

2. Operable — Interface components must be operable

SCLevelRequirementCommon Failures
2.1.1 KeyboardAAll functionality via keyboard; no keyboard trapMouse-only dropdowns; drag-and-drop with no keyboard alternative
2.1.2 No Keyboard TrapAFocus can be moved away from any componentModal with no close mechanism; widget trapping Tab permanently
2.1.4 Character Key Shortcuts (2.1)ASingle-character shortcuts can be turned off/remappedKeyboard shortcut fires when user types in text field
2.2.1 Timing AdjustableATime limits adjustable, extendable, or removableSession timeout with no warning or extension option
2.2.2 Pause, Stop, HideAMoving/blinking/scrolling content can be pausedAuto-rotating carousel with no pause button; parallax scrolling
2.3.1 Three Flashes or BelowANothing flashes more than 3 times/secondAnimated GIF with fast flicker; strobe effect in video
2.4.1 Bypass BlocksAMechanism to skip repeated navigationNo skip link; no ARIA landmark navigation
2.4.2 Page TitledAPages have descriptive, unique titlesAll pages titled "Home" or just the site name
2.4.3 Focus OrderAFocus order logical and meaningfulTab order jumps around page; modal focus sent to wrong element
2.4.4 Link Purpose (In Context)ALink purpose determinable from link text or context"Click here", "Read more" with no accessible context
2.4.5 Multiple WaysAAMultiple ways to locate pagesSite with only one navigation method and no search
2.4.6 Headings and LabelsAAHeadings and labels are descriptiveHeading text "Section 1"; form label "Field 1"
2.4.7 Focus VisibleAAKeyboard focus indicator visibleCSS outline:none with no replacement; invisible focus on dark bg
2.4.11 Focus Not Obscured (Minimum) (2.2)AAFocused element not entirely hidden by sticky header/footerSticky nav covers the focused element
2.4.12 Focus Not Obscured (Enhanced) (2.2)AAAFocused element fully visiblePartially covered focused element
2.4.13 Focus Appearance (2.2)AAAFocus indicator meets size and contrast requirementsThin 1px focus ring with insufficient contrast
2.5.1 Pointer Gestures (2.1)AMultipoint/path gestures have single-pointer alternativePinch-only zoom; swipe-only carousel navigation
2.5.2 Pointer Cancellation (2.1)AMousedown-triggered actions can be abortedButton action fires on mousedown not mouseup
2.5.3 Label in Name (2.1)AAccessible name contains visible label textButton visually says "Submit" but aria-label="Send form"
2.5.4 Motion Actuation (2.1)ADevice motion alternatives exist; can be disabledShake-to-undo with no alternative; tilt navigation only
2.5.7 Dragging Movements (2.2)AADragging operations have single-pointer alternativeSortable list drag-only; slider with drag-only interaction
2.5.8 Target Size (Minimum) (2.2)AATarget size ≥ 24×24 CSS px (or spacing compensates)Icon buttons smaller than 24px with no adequate spacing

3. Understandable — Content and operation must be understandable

SCLevelRequirementCommon Failures
3.1.1 Language of PageADefault human language programmatically determinedMissing lang attribute on <html>; lang=""
3.1.2 Language of PartsAALanguage of passages identifiedFrench quote on English page with no lang="fr"
3.2.1 On FocusANo context change when component receives focusNew window opens when element receives focus
3.2.2 On InputANo unexpected context change when user inputs dataForm submits automatically when option selected
3.2.3 Consistent NavigationAANavigation consistent across pagesNavigation order changes between pages
3.2.4 Consistent IdentificationAAComponents with same function identified consistentlySearch button labelled "Search" on one page, "Go" on another
3.2.6 Consistent Help (2.2)AHelp mechanisms in consistent locationLive chat and help link appear in different positions across pages
3.3.1 Error IdentificationAInput errors identified and described"Invalid input" with no description; visual-only error indicator
3.3.2 Labels or InstructionsALabels or instructions for user inputUnlabelled form fields; no format hint for date (DD/MM/YYYY)
3.3.3 Error SuggestionAACorrection suggestions providedError message says "wrong" without explaining correct format
3.3.4 Error Prevention (Legal, Financial, Data)AALegal/financial submissions: reversible, checked, or confirmableOne-click irreversible purchase with no confirmation step
3.3.7 Redundant Entry (2.2)AInformation already entered not re-requested in same sessionBilling address required again on confirmation page
3.3.8 Accessible Authentication (Minimum) (2.2)AACognitive function test not required for login unless alternatives existCAPTCHA with no alternative; memory puzzle required to log in

4. Robust — Content must be interpreted by assistive technologies

SCLevelRequirementCommon Failures
4.1.1 ParsingA (removed in WCAG 2.2)Valid markup (duplicate IDs, unclosed tags)Still relevant for 2.0/2.1; duplicate IDs break AT
4.1.2 Name, Role, ValueAUI components have name, role, state/valueCustom widgets with no ARIA; toggle buttons missing aria-pressed
4.1.3 Status Messages (2.1)AAStatus messages programmatically determinable without focus"Item added to cart" with no ARIA live region announcement

WCAG Conformance Levels

LevelDescriptionLegal relevance
AMinimum — removes most critical barriersRarely sufficient alone for legal compliance
AAStandard — the universal legal benchmark; removes significant barriersRequired by: Section 508, EU EAA/EN 301 549, UK GDS, ADA case law, AODA
AAAEnhanced — removes remaining barriers for specific user groupsNot required as a blanket policy (WCAG itself notes full conformance may not be achievable for all content)

Conformance claim: To claim WCAG X.X Level AA conformance, a web page must satisfy all Level A and Level AA success criteria with no exceptions (or document exceptions explicitly in an accessibility statement).


Common Workflows

Full Accessibility Audit (WCAG 2.1 AA)

  1. Automated scan — axe-core, Lighthouse, WAVE, or IBM Equal Access Checker. Catches ~30–40% of issues.
  2. Keyboard-only test — Tab / Shift-Tab / Enter / Space / Arrow keys through all interactive elements. Tests SC 2.1.1, 2.1.2, 2.4.3, 2.4.7.
  3. Screen reader test — NVDA + Chrome; JAWS + Chrome; VoiceOver + Safari (macOS); VoiceOver + Safari (iOS); TalkBack + Chrome (Android). Tests SC 1.1.1, 1.3.1, 4.1.2, and all informational criteria.
  4. Colour contrast — Colour Contrast Analyser or browser DevTools. Tests SC 1.4.3, 1.4.11.
  5. Zoom/reflow — Browser zoom to 400%; viewport at 320 CSS px. Tests SC 1.4.4, 1.4.10.
  6. Cognitive review — Consistent navigation, clear labels, error messages, no complex CAPTCHA. Tests SC 3.x criteria.
  7. Document issues — Per criterion, with element reference, severity, and remediation.

Accessibility Statement

A WCAG-conformant accessibility statement should include:

  • The specific WCAG version and level claimed (e.g., "WCAG 2.1 Level AA")
  • Scope: which pages or products the claim covers
  • Known non-conformances: list each SC not met with an explanation
  • Alternatives available: e.g., accessible PDF version, phone support
  • Date of last assessment and assessment methodology
  • Contact for feedback and accessibility requests
  • Formal complaints procedure (required under EU Web Accessibility Directive)

ARIA Usage Principles

ARIA (Accessible Rich Internet Applications) adds semantics when HTML alone is insufficient. Key rules:

  1. No ARIA is better than bad ARIA — incorrect ARIA is worse than no ARIA
  2. First rule of ARIA: Use native HTML elements before adding ARIA roles
  3. Required attributes: every role has required properties — e.g., role="checkbox" requires aria-checked
  4. Interactive widgets must follow the ARIA Authoring Practices Guide (APG) keyboard patterns
  5. Use aria-live regions for dynamic content (status messages, loading states, errors)

Contrast Ratio Calculation

  • Normal text (< 18pt regular or < 14pt bold): minimum 4.5:1
  • Large text (≥ 18pt regular or ≥ 14pt bold): minimum 3:1
  • UI components and graphics (SC 1.4.11): minimum 3:1
  • Enhanced (AAA): normal text 7:1; large text 4.5:1
  • Formula: (L1 + 0.05) / (L2 + 0.05) where L1 is the lighter and L2 the darker relative luminance

Global Legal Framework Mapping

Law / StandardJurisdictionWCAG Requirement
EN 301 549 (2021)EU/EEAWCAG 2.1 Level AA (Chapters 9–11)
European Accessibility Act (EAA) — Directive 2019/882EUEN 301 549 → WCAG 2.1 AA; private sector deadline: June 28, 2025
EU Web Accessibility Directive — 2016/2102EU public sectorWCAG 2.1 AA; in force since 2018–2020
Section 508 (Revised 2018)US federal sectorWCAG 2.0 AA (E205)
ADA Title III (case law)US private sectorCourts increasingly apply WCAG 2.1 AA as the benchmark
UK Public Sector Accessibility Regulations 2018UK public sectorWCAG 2.1 AA
Equality Act 2010UK private sectorReasonable adjustments — WCAG 2.1 AA widely used
AODA (WCAG Standard 2.0)Ontario, CanadaWCAG 2.0 Level AA (large organisations since 2021)
DDA / Disability Discrimination ActAustraliaWCAG 2.1 AA (AHRC guidance)

Reference Files

For deeper content, read as needed:

  • references/criteria-detail.md — Full WCAG 2.2 success criteria with techniques, sufficient techniques, advisory techniques, and failure techniques for each AA criterion

This skill provides general compliance information, not legal advice. Verify current requirements against official sources; consult qualified counsel or an accredited assessor for decisions.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Wcag AI 技能有什么作用?

Expert WCAG (Web Content Accessibility Guidelines) advisor covering WCAG 2.0, 2.1, and 2.2 — the W3C international accessibility standards. Use this skill whenever a user asks about WCAG success criteria, conformance levels (A/AA/AAA), accessibility audits, POUR principles, accessibility statements, ARIA patterns, colour contrast, keyboard accessibility, screen reader compatibility, mobile accessibility, cognitive accessibility, WCAG 2.2 new criteria, WCAG 3.0 preview, legal requirements referencing WCAG (EN 301 549, EAA, ADA, Section 508), or mapping WCAG to accessibility laws. Trigger for...

为什么在 TypingMind 中使用 Wcag?

因为您只需安装一次,就能搭配任何模型使用。Wcag 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Wcag?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Sushegaad/Claude-Skills-Governance-Risk-and-Compliance/tree/main/plugins/wcag/skills/wcag。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Wcag?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Wcag 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Wcag 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Wcag AI 技能免费吗?

是的。Sushegaad 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇