Logo Raweb Audit

Raweb Audit

Cộng đồng
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.

Tổng quan

Nhà phát hànhgeoffreycrofte
Kho mãluxembourg-accessibility-skillset
Tên kỹ năngraweb-audit
Sao
31
Bản fork
0
Tệp đi kèm
70
Giấy phépCC-BY-4.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 70 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được geoffreycrofte công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Raweb Audit trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/geoffreycrofte/luxembourg-accessibility-skillset/tree/main/raweb-audit
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Raweb Audit trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Raweb Audit ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Raweb Audit với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 10 tệp khác.

Câu hỏi thường gặp

Kỹ năng AI Raweb Audit làm được gì?

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.

Vì sao nên dùng Raweb Audit trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Raweb Audit là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Raweb Audit trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/geoffreycrofte/luxembourg-accessibility-skillset/tree/main/raweb-audit. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Raweb Audit?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Raweb Audit với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Raweb Audit với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Raweb Audit có miễn phí không?

Có. Kỹ năng này được geoffreycrofte phát hành trên GitHub theo giấy phép CC-BY-4.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇