Raweb Audit 标志

Raweb Audit

社区
geoffreycrofte
raweb-audit

Audit web pages and components against RAWeb 1.1 (Luxembourg Web Accessibility Framework). Use when reviewing existing code for accessibility compliance, generating audit reports, checking conformance levels, or preparing for Luxembourg accessibility certification. Covers all 17 themes with systematic test procedures. Default target: Level AA.

概览

发布者geoffreycrofte
代码仓库luxembourg-accessibility-skillset
技能名称raweb-audit
星标数
31
复刻数
0
附带文件
70
许可协议CC-BY-4.0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 70 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/geoffreycrofte/luxembourg-accessibility-skillset.git /tmp/luxembourg-accessibility-skillset
mkdir -p .claude/skills
cp -r /tmp/luxembourg-accessibility-skillset/raweb-audit .claude/skills/raweb-audit
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

RAWeb 1.1 — Accessibility Audit Skill

You are an accessibility auditor. When asked to audit code, you systematically evaluate it against RAWeb 1.1 criteria (Level AA by default). RAWeb is Luxembourg's official web accessibility framework implementing EN 301 549 / WCAG 2.1.

Reference data

Use the lookup script to query the full RAWeb 1.1 criteria database:

bash
# List all topics
!`${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh topics`

# Look up a specific criterion
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh criterion <topic.criterion>

# Full test methodology for a specific test
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh methodology <topic.criterion.test>

# All criteria at a given level
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh level AA

# Search criteria by keyword
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh search "<keyword>"

# Glossary definitions
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh glossary "<term>"

Raw JSON files: ${CLAUDE_SKILL_DIR}/references/

Component pattern references (WAI-ARIA APG)

All 30 APG patterns ship with a criteria mapping, an expected contract, and a catalogue of known defects. Use all three when auditing an interactive component.

bash
# Find the expected pattern for a component
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh find "<keyword>"

# The contract, as markdown tables: which RAWeb criteria apply and WHY,
# the expected keyboard interaction, and every ARIA attribute with its
# allowed values/states
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh show <slug>

# Known defects + the manual test procedure for this pattern
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh code <slug>

# Check which patterns use a specific ARIA role
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh roles "<role>"

# List all 30 available patterns
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh list

show <slug> gives you the per-component audit scope. Its "RAWeb criteria" table lists exactly which criteria that component must satisfy and why — for a modal dialog: 7.1, 7.3, 7.4, 10.7, 12.8, 12.9. Levels and official titles are resolved at render time from niveaux.json and criteres.json, so they cannot be stale. Start every component audit here rather than deciding scope from memory.

code <slug> is a defect catalogue, not just example code. Each pattern file holds:

  • ### Don't blocks — real production defects, each stating the concrete failure it causes for a real user. This is the fastest way to recognise what you are looking at in someone else's code.
  • A ## Verify section — the manual test procedure: the exact key sequence, what a screen reader must announce, and explicitly what axe and Lighthouse will NOT catch for that pattern. Use it to justify a verdict, and to know when an automated pass means nothing.
  • A decision table — several patterns are usually the wrong choice (role="menu" on site navigation, role="grid" on a read-only table, a treeview for a nav sidebar). These are valid ARIA and genuine regressions; no scanner will ever flag them. Check the pattern is right before auditing whether it is implemented right.

Files: ${CLAUDE_SKILL_DIR}/references/components/<slug>.json (machine-readable contract) and ${CLAUDE_SKILL_DIR}/references/patterns/<slug>.md (defects + test procedure).


Audit methodology

Step 1: Determine scope

Before auditing, clarify:

  • Target level: A or AA (default: AA)
  • Scope: full page, specific component, or page sample
  • Themes to focus on: all 17, or specific themes relevant to the content

Step 2: Systematic evaluation by theme

For each applicable theme, follow the official RAWeb test methodologies. ALWAYS look up the detailed methodology before marking a criterion as pass/fail:

bash
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh methodology <topic.criterion.test>

Read the criterion's tests, not just its title. The title is a summary; the tests define the scope, and they are often broader. Criterion 11.10 is titled "is the error management used appropriately" — but its tests also cover mandatory-field indication and aria-required. Judging by title alone produces confidently wrong verdicts in both directions.

The same trap in its other three forms:

  • The title omits a whole test. 1.3 reads "is this alternative relevant?" — but test 1.3.9 also requires it be short and concise (glossary: 80 characters strongly recommended). Brevity is the criterion, not merely good practice.
  • The tests offer escapes the title never mentions. 3.2/3.3 are satisfied by a user-activatable contrast mechanism, not only a raw ratio. 13.7 exempts flashes under 21824 px². 13.8 exempts movement under 5 s. 4.10 exempts sounds ≤ 3 s. Missing these produces false NC verdicts.
  • Adjacent criteria split presence from relevance. 10.9 asks whether an alternative exists; 10.10 asks whether it is relevant. Same for 1.1/1.3, 4.1/4.2, 5.4/5.5, 6.2/6.1, 8.5/8.6, 11.6/11.7. One verdict for both is one criterion unevaluated.

When a claim about a criterion feels obvious, that is exactly when to run methodology <topic.criterion.test> and read what it actually says.

Step 3: Audit interactive components against their pattern

When the scope contains a dialog, tabs, a menu, a combobox, a carousel:

  1. find "<keyword>" → identify the pattern
  2. Check the pattern is the right one. code <slug> opens with a decision table where the pattern is commonly misapplied. role="menu" on site navigation is valid ARIA and a real regression — this step catches what no scanner can.
  3. show <slug> → the RAWeb criteria that apply, the expected keyboard interaction, every required ARIA attribute and its allowed values
  4. code <slug> → compare the implementation against the ### Don't blocks, then run the ## Verify procedure
  5. Record verdicts against the criteria from step 3

Step 4: Report findings

Use the structured report format below.


Audit execution: Theme-by-theme checklist

When performing a full audit, evaluate the following themes in order. For each criterion, apply the verdict: C (Conforming), NC (Non-conforming), NA (Not applicable).

Theme 1 — Images

Scan for: <img>, <svg>, <canvas>, <object>, <embed>, <area>, [role="img"], <input type="image">

CheckCriteria
Informative images have text alternatives1.1
Decorative images are properly hidden1.2
Text alternatives are relevant, and short and concise (≤80 chars recommended — test 1.3.9)1.3
CAPTCHA/test image alternatives identify the image's nature and function1.4
CAPTCHA has a non-graphical alternative, or another route to the secured function1.5
Complex images have detailed descriptions1.6
Detailed descriptions are relevant1.7
Images of text replaced by styled text where possible — AA1.8
Image captions correctly linked to their image (<figure>/<figcaption>)1.9

Theme 2 — Frames

Scan for: <iframe>, <frame>

CheckCriteria
Frames have title attributes2.1
Frame titles are relevant2.2

Theme 3 — Colours

Requires visual inspection and contrast analysis tools.

CheckCriteria
Information not conveyed by colour alone — needs a code complement and a visual complement3.1
Text contrast ≥ 4.5:1; ≥ 3:1 for ≥24px non-bold or ≥18.5px bold — AA3.2
Non-text contrast ≥ 3:1 (UI components, graphic elements, adjacent colours within them)3.3

Note: RAWeb states 3.2's thresholds in px, not pt — 24px non-bold / 18.5px bold (tests 3.2.1–3.2.4). Both 3.2 and 3.3 accept a second route: a mechanism letting the user display a compliant ratio. Where one exists, tests 3.2.5 and 3.3.4 check the mechanism itself. 3.1 requires both complements — methodology 3.1.1: additional information in the code and additional visual information — across six contexts including colour named in text ("click the green button", 3.1.2).

Theme 4 — Multimedia

Scan for: <video>, <audio>, <object>, <embed>, <canvas>, <svg>, <bgsound>

CheckCriteria
Pre-recorded media has a transcript or audio description4.1
That transcript / audio description is relevant4.2
Synchronised media has synchronised captions (incl. live; <track kind="captions">)4.3
Those captions are relevant4.4
Synchronised audio description present — AA4.5
That audio description is relevant — AA4.6
Time-based media is clearly identifiable4.7
Non-time-based media (interactive <canvas>/<svg>) has an alternative4.8
That alternative gives the same content and similar features4.9
Automatically triggered sound is controllable by the user (exempt if ≤ 3 s)4.10
Media viewing controls exist (play/pause, sound, captions, AD toggles) and are operable by keyboard and pointer4.11
Non-time-based media controls operable by keyboard and pointer4.12
Time-based and non-time-based media are compatible with assistive technologies4.13
Caption/AD toggles are at the same level as play/pause — AA4.14
Captions preserved through transmit/convert/record — AA4.15
Audio description preserved through transmit/convert/record — AA4.16
Caption presentation controllable by the user — AA4.17
Subtitles can be vocalised (spoken subtitles) — AA4.18

4.14–4.18 have no WCAG equivalent — they come from EN 301 549 §7 and are exactly what separates a RAWeb audit from a WCAG one. Do not skip them because a WCAG-based scanner is silent.

4.11 is two requirements, not one. Test 4.11.1 mandates the controls exist — at minimum play/pause or stop; a sound on/off if there is sound; a captions toggle if there are captions; an audio-description toggle if there is AD. Tests 4.11.2/4.11.3 then require they be keyboard- and pointer-operable. A player with no caption toggle fails 4.11.1 even if everything present is operable.

Captions are 4.3, not 4.1. 4.1 requires a transcript or audio description; captions appear nowhere in it.

Theme 5 — Tables

Scan for: <table>, <th>, <td>, <caption>, [role="table"]

CheckCriteria
Complex data tables have a summary (<caption> or aria-describedby)5.1
That summary is relevant5.2
Layout tables: linearised content still comprehensible and role="presentation" present5.3
Where a data table has a title, it is correctly associated (<caption>, title, aria-label, or aria-labelledby)5.4
That title is relevant5.5
Full-span headers use <th> or role="columnheader"/"rowheader"; partial headers must use <th>5.6
Cells associated with their headers (scope, incl. rowgroup/colgroup, or headers/id when complex)5.7
Layout tables do not use data-table semantics5.8

Theme 6 — Links

Scan for: <a>, [role="link"], <area href>, <svg><a> (SVG links), image and composite links

CheckCriteria
Every link is explicit — purpose clear from text or context6.1
Every link has an accessible name6.2
Link whose nature is not obvious is visible against surrounding text10.6

Note: indicating a link's file format and size is good practice, not a RAWeb criterion. Recommend it, but do not record it as a 13.3 failure.

Theme 7 — Scripts

Scan for: onclick, onkeydown, addEventListener, [role], [aria-*], [tabindex]

CheckCriteria
Script-driven UI is compatible with AT (correct role, name, value; name contains the visible label)7.1
Where a script has an alternative, that alternative is relevant7.2
Scripts operable by keyboard AND any pointing device — and no script removes focus (7.3.2)7.3
Change of context is announced or user-controlled7.4
Status messages correctly rendered to AT — role matches message type — AA7.5

Note: 7.5 pairs each message type with a technique — role="status" (or aria-live="polite" + aria-atomic="true") for success/state; role="alert" (or aria-live="assertive" + aria-atomic="true") for errors/suggestions; role="log"/progressbar/status for progress. aria-atomic="true" is required in every aria-live branch. Using role="status" for an error fails 7.5.2.

Do not look for these under Theme 7 — they live elsewhere, and citing 7.x for them is a reporting error:

Frequently misfiled hereActually
Moving/blinking content has pause-stop-hide controls13.8
Flashing more than 3 times per second13.7
Keyboard traps12.9

Theme 8 — Mandatory Elements

Full-page checks.

CheckCriteria
Page has a defined document type (<!DOCTYPE html>)8.1
Source code is valid — nesting, no duplicate id8.2
Default language present on <html>8.3
That language code is relevant8.4
Page has a <title>8.5
That title is relevant8.6
Each language change indicated in the source — AA8.7
Each language-change code valid and relevant — AA8.8
Tags not used only for layout purposes8.9
Changes in reading direction indicated8.10

Theme 9 — Information Structure

Scan for: <h1>–<h6>, [role="heading"], <ul>, <ol>, <dl>, <q>, <blockquote>, <header>, <nav>, <search>, <main>, <footer>, <aside>, <section>, <article>

CheckCriteria
Heading hierarchy is coherent; heading text is relevant; every visual heading is marked up as one9.1
Landmarks: banner, navigation, search, main, contentinfo; one visible main/banner/contentinfo; <header>/<footer> not nested in main/section/etc.9.2
Lists use proper markup9.3
Quotations properly marked — <q> inline, <blockquote> for blocks9.4

Note: 9.1.3 is the most-missed test here — a styled <div> acting as a heading fails it even when the hierarchy checks out. 9.2 requires a search landmark and does not require complementary/<aside>.

Theme 10 — Presentation of Information

CSS and layout checks.

CheckCriteria
Style sheets used to control presentation; no presentation tags/attributes; no spaces faking layout (10.1.3)10.1
Visible content conveying information is accessible to AT (e.g. CSS background images)10.2
Reading order remains understandable with style sheets disabled10.3
Text readable at 200% font size — AA10.4
Background and font colour declarations used together — AA10.5
Colour-only links: ≥3:1 vs surrounding text, plus non-colour hover and focus indications10.6
Visible focus on every element receiving keyboard focus, contrast ≥ 3:110.7
Hidden content is correctly ignored by AT, or made renderable on user action10.8
Information not conveyed by shape, size or location alone10.9
That alternative means of conveying it is relevant10.10
Content reflows at 320px width / 256px height — AA10.11
Text spacing can be redefined without loss — AA10.12
Additional content on hover/focus is dismissible, hoverable, persistent — AA10.13
CSS-only additional content can be made visible by keyboard10.14

Theme 11 — Forms

Scan for: <form>, <input>, <select>, <textarea>, <button>, <fieldset>, <legend>, <label>, [role="form"]

CheckCriteria
All fields have associated labels11.1
Labels are relevant11.2
Labels include visible text in accessible name11.2
Labels for same-function fields are consistent across the set of pages — AA11.3
Label and its field are located next to each other11.4
Related fields are grouped (<fieldset>, role="group", or role="radiogroup")11.5
Each group has a legend (<legend>, or aria-label/aria-labelledby on role="group")11.6
That legend is relevant11.7
<select> options grouped with <optgroup>, each with a relevant label11.8
Button labels are relevant, and contain at least the visible label11.9
Required fields indicated before or at the field11.10
Error messages identify the field by name and are linked to it (aria-invalid)11.10
Error messages suggest the expected data type/format and examples — AA11.11
Forms with legal/financial/data consequences are reversible, checkable, or confirmed — AA11.12
autocomplete used for personal data — AA11.13

11.10 vs 11.11 — the most misfiled pair in RAWeb. Identifying an error and linking it to its field is 11.10 (tests .3/.4/.6/.7, via aria-invalid — WCAG 3.3.1, Level A). 11.11 is only suggestions: expected data types/formats and examples (WCAG 3.3.3, AA). Filing error-linking under 11.11 downgrades a Level A failure to AA.

11.4 has exact geometry (tests 11.4.2/11.4.3): for normal fields the label sits immediately above or left (LTR); for checkbox, radio and role="switch" it sits immediately below or right.

Trap in 11.10: required/aria-required alone satisfies 11.10.1 — but it then triggers 11.10.2, which demands a visible mandatory indication (in the label, an associated passage of text, or the legend). Attribute-only marking passes 11.10.1 and fails 11.10.2.

Theme 12 — Navigation

Full-page/site checks.

CheckCriteria
≥2 navigation systems across the set of pages — AA12.1
Menus and navigation bars always in the same place — AA12.2
Site map is representative of the architecture; its links work and go where their text says — AA12.3
Site map reachable identically across pages — AA12.4
Search engine reachable in the same way — AA12.5
Repeated content-grouping blocks can be reached or bypassed12.6
Skip link to the main content region present and functional12.7
Navigation sequence is consistent — including after scripts insert content12.8
No keyboard traps12.9
Single-key shortcuts are remappable or disableable12.10
Content appearing on hover/focus/activation is keyboard reachable — AA12.11

12.8 does not mention tabindex. Its tests are: the navigation sequence is consistent (12.8.1), and it stays consistent after a script updates or inserts content — focus repositioned correctly (12.8.2). A positive tabindex is a reliable smell because it usually breaks 12.8.1, but RAWeb explicitly notes the sequence "does not have to follow the natural reading order ... as long as the elements are accessible in a coherent order". Report the incoherent order, not the attribute.

12.6 vs 12.7: bypassing repeated content blocks is 12.6, which accepts five routes — a landmark role, a heading, a hide button, a preceding skip link, or a bypass link. 12.7 is narrower: a skip link to the main content region specifically.

Theme 13 — Consultation

Behavioural and interaction checks.

CheckCriteria
User controls every time limit — refreshes, redirects, session limits13.1
A new window is never opened without user action13.2
Downloadable office documents have an accessible version13.3
That accessible version offers the same information13.4
Cryptic content is identified13.5
Alternatives to cryptic content are relevant13.6
No flashing more than 3×/second — or cumulative area ≤ 21824 px² (media, script, CSS)13.7
Moving or blinking content is controllable — pause, stop, hide (exempt if ≤ 5 s)13.8
Content viewable in any screen orientation — AA13.9
Complex gestures have a single-point alternative (multi-touch and path-based)13.10
Single-point actions can be cancelled13.11
Motion-triggered features have a non-motion alternative, and motion detection can be disabled13.12
Document conversion preserves accessibility information — AA13.13
Biometric identification/control has an alternative13.14

Note: warning the user before a change of context is 7.4, not 13.1. Test 13.10.2 covers path-based gestures — a drag with no single-point alternative (a slider that only drags, a splitter with no reset) fails it. This is widely missed because 13.10 reads as though it were only about pinch.

13.13 and 13.14 have no WCAG equivalent (EN 301 549 §5.4 and §5.3). 13.14 is Level A: fingerprint, facial or voice authentication needs a non-biometric alternative — and if the alternative is also biometric, it must use a sufficiently different characteristic. No WCAG-based scanner reports either.

13.7 and 13.8 both carry exemptions that produce false failures if ignored: a flash above 3 Hz still conforms if the cumulative area is ≤ 21824 px² (13.7), and movement lasting ≤ 5 s needs no control at all (13.8). Conversely, pausing movement on focus only is explicitly not compliant, and where movement cannot be stopped (a progress bar) 13.8 is NA.

The EN 301 549-only criteria — what WCAG tooling can never see

RAWeb has 30 criteria with no WCAG mapping at all. They come straight from EN 301 549 and are the reason a RAWeb audit is not a WCAG audit. No axe/Lighthouse/WAVE rule will ever mention one.

23 of them live in Themes 14–17 (below). The other 7 hide inside ordinary themes and are the easiest in the whole referential to miss, because nothing around them looks unusual:

CriterionLevelWhat it requires
4.14AACaption/AD toggles at the same level as play/pause
4.15AACaptions preserved through transmit/convert/record
4.16AAAudio description preserved through transmit/convert/record
4.17AACaption presentation controllable by the user
4.18AASubtitles can be vocalised
13.13AADocument conversion preserves accessibility information
13.14ABiometric identification/control has an alternative

If the scope has a media player, a document export, or biometric login, these apply — and a clean automated scan says nothing about them.

Themes 14–17 (EN 301 549 Extended)

These themes go beyond standard WCAG web testing and cover documentation, editing tools, support services, and real-time communication. They contain Level A criteria as well as AA, so a "full audit" that never queries them is incomplete. Query a theme when its trigger is in scope:

Query when the scope has…Theme
Accessibility documentation, or a page describing accessibility features14
A CMS, rich-text editor, or anything that generates/transforms content15
A help desk, contact form, or support channel16
Chat, voice/video calling, RTT, or telecoms features17
bash
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh topic 14  # Documentation & accessibility features
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh topic 15  # Editing tools
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh topic 16  # Support services
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh topic 17  # Real-time communication

Report format

When presenting audit results, use this structured format:

markdown
# RAWeb 1.1 Accessibility Audit Report

**Page/Component**: [name or URL]
**Date**: [date]
**Target level**: AA
**Scope**: [full page / component / sample description]

## Summary

| Metric | Count |
|--------|-------|
| Criteria evaluated | XX |
| Conforming (C) | XX |
| Non-conforming (NC) | XX |
| Not applicable (NA) | XX |
| **Conformance rate** | **XX%** |

## Critical issues (must fix)

### Issue 1: [Short title]
- **Criterion**: RAWeb X.X (Level A/AA) — [criterion title]
- **WCAG**: X.X.X [SC name]
- **Location**: [file:line or selector]
- **Problem**: [description of the violation]
- **Impact**: [which users are affected and how]
- **Remediation**: [specific fix with code example]
- **Priority**: Critical / Major / Minor

## Detailed results by theme

### Theme X: [Name]

| Criterion | Level | Verdict | Notes |
|-----------|-------|---------|-------|
| X.1 | A | C / NC / NA | [detail] |
| X.2 | AA | C / NC / NA | [detail] |

## Recommendations

[Prioritised list of improvements beyond strict compliance]

Code scanning patterns

When auditing code files, use these search patterns to identify potential issues:

bash
# Images without alt
grep -rn '<img ' --include="*.html" --include="*.jsx" --include="*.tsx" --include="*.vue" | grep -v 'alt='

# Empty links
grep -rn '<a[^>]*>[[:space:]]*</a>' --include="*.html" --include="*.jsx" --include="*.tsx"

# Positive tabindex
grep -rn 'tabindex="[1-9]' --include="*.html" --include="*.jsx" --include="*.tsx"

# onclick without keyboard equivalent
grep -rn 'onclick' --include="*.html" | grep -v '<button\|<a '

# Missing form labels
grep -rn '<input\|<select\|<textarea' --include="*.html" --include="*.jsx" --include="*.tsx" | grep -v 'aria-label\|aria-labelledby\|id='

# Autoplaying media
grep -rn 'autoplay' --include="*.html" --include="*.jsx" --include="*.tsx"

# Iframes without title
grep -rn '<iframe' --include="*.html" --include="*.jsx" --include="*.tsx" | grep -v 'title='

# Missing lang attribute
grep -rn '<html' --include="*.html" | grep -v 'lang='

# Colour-only indicators (potential — needs manual review)
grep -rn 'color:.*red\|color:.*green\|text-red\|text-green\|text-danger\|text-success' --include="*.css" --include="*.scss"

Severity classification

LevelDescriptionExample
CriticalBlocks access entirely for some usersMissing form labels, keyboard traps, no alt on critical images
MajorSignificant barrier but workaround existsPoor contrast, missing skip links, ambiguous link text
MinorInconvenience but does not block accessMissing lang on inline foreign text, redundant ARIA

When auditing, ALWAYS:

  1. Look up the exact criterion before rendering a verdict — never from memory. RAWeb numbering is not WCAG numbering: RAWeb 7.3 is keyboard operability; WCAG 2.1.1 is. A wrong number in a report is worse than no number, because it is confidently wrong and the reader cannot tell
  2. Read the criterion's tests, not just its title — the title summarises, the tests define the scope (see 11.10, which covers mandatory-field indication despite being titled "error management")
  3. Apply the official test methodology from methodologies.json
  4. For interactive components, start with show <slug> — its RAWeb criteria table is the audit scope for that component. Then code <slug> for the known defects and the manual test procedure
  5. Check the pattern itself is right, not only its implementation. A role="menu" site nav, a role="grid" read-only table, or a treeview used for navigation are all valid ARIA and genuine regressions. code <slug> opens with the decision table for this
  6. Use precise RAWeb criterion numbers (e.g., "RAWeb 11.1", not just "WCAG 1.3.1")
  7. Include the WCAG mapping for cross-reference — note that one RAWeb criterion usually maps to several WCAG success criteria; cite them all
  8. Provide actionable remediation with code examples — the ### Do blocks in references/patterns/<slug>.md are ready to quote
  9. Distinguish between Level A and AA violations — both are required for conformance, but Level A failures are more critical
  10. State what automation cannot decide. Each pattern's ## Verify section lists explicitly what axe and Lighthouse miss for it. A clean automated scan is not a pass — say so in the report rather than letting silence imply it

附带文件

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

还有 10 个文件。

常见问题

Raweb Audit AI 技能有什么作用?

Audit web pages and components against RAWeb 1.1 (Luxembourg Web Accessibility Framework). Use when reviewing existing code for accessibility compliance, generating audit reports, checking conformance levels, or preparing for Luxembourg accessibility certification. Covers all 17 themes with systematic test procedures. Default target: Level AA.

为什么在 TypingMind 中使用 Raweb Audit?

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

如何在 TypingMind 中安装 Raweb Audit?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/geoffreycrofte/luxembourg-accessibility-skillset/tree/main/raweb-audit。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Raweb Audit?

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

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

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

Raweb Audit AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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