/luxembourg-accessibility:raweb-codefrom Luxembourg Accessibility (RAWeb & RAAM)
Writes accessible HTML, CSS, and JavaScript conforming to RAWeb 1.1 (Luxembourg's WCAG 2.1 / EN 301 549 framework), covering all 17 themes at Level AA.
Ships in Luxembourg Accessibility (RAWeb & RAAM). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an accessibility-aware developer. Every piece of HTML, CSS, and JavaScript you write MUST conform to RAWeb 1.1 (Level AA by default). RAWeb is Luxembourg's official web accessibility framework implementing EN 301 549 and WCAG 2.1.
The full RAWeb 1.1 criteria, test methodologies, and glossary are available as JSON files. Use the lookup script to query specific criteria on demand:
# 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 1.1
# Look up test methodology
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh methodology 1.1.1
# Search criteria by keyword
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh search "form"
# Check glossary definition
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh glossary "text alternative"
The raw JSON reference files are located at:
${CLAUDE_SKILL_DIR}/references/criteres.json — All 136+ criteria with tests and WCAG/EN 301 549 mappings${CLAUDE_SKILL_DIR}/references/methodologies.json — Step-by-step test procedures${CLAUDE_SKILL_DIR}/references/glossaire.json — Glossary of accessibility terms${CLAUDE_SKILL_DIR}/references/themes.json — Topic names${CLAUDE_SKILL_DIR}/references/niveaux.json — WCAG conformance levels per criterionWhen writing code for a specific component, ALWAYS look up the relevant RAWeb
criteria first to ensure full compliance. For example, before writing a form,
run search "form" and topic 11.
Code examples (good and bad, HTML/CSS/JS) for each topic below are in
${CLAUDE_SKILL_DIR}/references/examples.md, under the same topic heading. Read the
section for the topic you are about to write code for. For interactive components
(dialogs, tabs, menus…), use the APG patterns instead (see Component patterns).
ALWAYS:
<img> conveying information MUST have a meaningful alt attribute (1.1)<img> MUST have alt="" and no title, aria-label, or aria-labelledby (1.2)<svg> conveying information MUST have role="img" — this one is mandatory, 1.1.5 invalidates the
test without it — plus a text alternative via aria-label, aria-labelledby, or a <title> child (1.1)<svg> MUST have aria-hidden="true" (1.2)<img>, <object>, <embed>: only two routes — a text alternative referencing an adjacent detailed
description, or an adjacent link/button to it. aria-describedby is not a route here (1.6.1–1.6.3)<input type="image">, <svg>, role="img": aria-describedby is accepted, alongside
aria-label/aria-labelledby and the adjacent link/button (1.6.4, 1.6.5, 1.6.10)<canvas>: also accepts a detailed description placed between <canvas> and </canvas> (1.6.7)<figure>/<figcaption> (1.9)NEVER:
alt undefined on an informative imagealt="image", alt="photo", alt="icon" — describe what the image conveystitle as the sole text alternative (poor assistive technology support)<iframe> MUST have a descriptive title attribute (2.1)title must be relevant to the frame content (2.2)aria-label, visually hidden text, aria-current…)
and an additional visual cue (icon, shape, position, typographic effect). An icon alone does not
discharge 3.1. Applies to text, colour named in text ("click the green button"), images, CSS
properties, and media<track> MUST use kind="captions"
(4.3.2). Live synchronised media needs captions too (4.3.3)<canvas>/<svg> content is non-time-based media: it MUST have an alternative reachable
via a clearly identifiable adjacent link or button (4.8), that alternative MUST give the same content and
similar features (4.9), and its controls MUST be keyboard- and pointer-operable (4.12)These have no WCAG equivalent — they are EN 301 549 §7 requirements that no WCAG-based scanner reports:
<caption> or a passage of text linked by
aria-describedby, not the obsolete summary attribute — and that summary must be relevant (5.2).
A table is "complex" when its headers are not confined to the first row and/or first column, or a header's
scope is not valid for the whole row/column<table> MUST
carry role="presentation" — 5.3 requires both<caption>, aria-label, or aria-labelledby (5.4) — and the title must be relevant (5.5)<th> or role="columnheader"/
role="rowheader" (5.6.1/5.6.2). A header that does not span the whole row/column must use <th> —
no ARIA route there (5.6.3)scope for simple tables, headers/id for complex ones (5.7).
Use scope="rowgroup"/scope="colgroup" for header groups (5.7.6). A <th> that does not span the
whole row/column must have a unique id and must not carry scope or a header role (5.7.3)<th>, <caption>, <thead>, <tfoot>, role="rowheader"/"columnheader",
a summary attribute, or scope/headers/axis on cells (5.8)Note: 5.4 requires correct association of a title that exists — it does not
itself mandate one. In practice always give a data table a <caption>; just
don't cite 5.4 as the reason.
aria-label or aria-labelledby — but the
aria-label MUST include the visible text (6.1, test 6.1.5 — Label in Name)Every script-driven UI MUST be compatible with assistive technologies — correct role, name, and value (7.1)
Where a script has an alternative, that alternative MUST be relevant (7.2)
Every script MUST be accessible and operable by keyboard AND any pointing device (7.3)
Any script that initiates a change of context MUST warn the user beforehand or leave them in control (7.4)
Status messages MUST be communicated without moving focus (7.5 — Level AA). RAWeb maps message type to technique — the wrong role for the type fails the test:
| Message type | Use (7.5.1–7.5.3) |
|---|---|
| Success, result of an action, app state | role="status" or aria-live="polite" + aria-atomic="true" |
| A suggestion, or warning of an error | role="alert" or aria-live="assertive" + aria-atomic="true" |
| Progress of a process | role="log", role="progressbar" or role="status" (or the matching aria-live="polite") |
Every aria-live branch requires aria-atomic="true" alongside it — bare aria-live="polite" fails
7.5.1. aria-relevant is not a technique 7.5 recognises; it satisfies nothing here
A script MUST NOT remove focus from an element that receives it (7.3.2)
Related criteria that live in other topics — do not cite them as Topic 7:
<!DOCTYPE html> (8.1)lang attribute on <html> (8.3); its code must be valid and relevant to the
page's main language (8.4)lang on the relevant element (8.7 — Level AA)<title> (8.5, 8.6)<title> when the view changes — a title left at "Home" across views stops
being relevant, which is what 8.6 tests (8.6 tests relevance; the update rule is the practical consequence)id attributes in the page (8.2)dir attribute
(8.10), and that value must be a valid, relevant rtl/ltr (8.10.2)<h1>–<h6>, or role="heading" + aria-level) with a logical hierarchy (9.1.1). Each
heading's text must be relevant (9.1.2), and every passage of text that acts as a heading must be marked
up as one (9.1.3) — a styled <div class="title"> fails 9.1.3 even when the hierarchy is clean<header>→banner, <nav>→navigation,
<search>→search, <main>→main, <footer>→contentinfo. (<aside>/complementary is fine to
use but is not required by 9.2)main, banner and contentinfo per page, and reserve navigation for primary
and secondary navigation only (9.2.2)<header>/<footer> without an explicit role must not be nested inside article, complementary,
main, navigation or section (9.2.3/9.2.4) — a <header> inside <main> fails<ul>, <ol>, <dl>) for list content (9.3)<q> for short inline quotations (9.4.1) and <blockquote> for quotation blocks (9.4.2). cite is
good practice — 9.4 does not test it<font>, <center>, <big>,
<blink>, <marquee>, <s>, <strike>, <tt> and attributes like align, bgcolor, border,
cellpadding, hspace, valign, vspace. width/height remain allowed on <canvas>, <embed>,
<iframe>, <img>, <object>, <source>, <svg> (10.1.2) — keep them on images to prevent layout shiftThis is a critical topic. Always look up criteria with bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh topic 11 when implementing forms.
aria-label
or title with nothing visible<label for="id">, aria-labelledby, aria-label, or title (11.1)<label> element with for attribute is the preferred method (11.1)checkbox, radio, and role="switch"<fieldset>, role="group", or role="radiogroup" for radios (11.5)<legend> in a <fieldset>, or aria-label/aria-labelledby
on a role="group"/role="radiogroup". The legend must be relevant (11.7)<select> options of the same type with <optgroup>, each with a relevant label (11.8)required and/or aria-required="true" for mandatory fields (11.10) — and keep a visible
indication: the attribute alone passes 11.10.1 but fails 11.10.2, which applies specifically to fields
carrying required/aria-required and demands a visible indication in the label, an associated passage
of text, or the legendaria-invalid="true"
(11.10 — Level A)autocomplete with appropriate values (11.13 — Level AA)Note: error identification is 11.10 (Level A); 11.11 is only error suggestion (AA). Linking a
message to its field is 11.10, not 11.11 — filing it under 11.11 downgrades a Level A requirement.
<legend> is 11.6, not 11.5 — 11.5 is the grouping alone.
tabindex values — they almost always break the coherent order 12.8.1 requires. (12.8
tests the order, not the attribute; RAWeb notes the sequence need not follow natural reading order as
long as it stays coherent.)aria-current="page") is good practice, not a RAWeb criterion — 12.2
only tests consistent placement. Do it, but don't cite 12.2 for it<meta http-equiv="refresh"> redirect admits no user control: it must be immediate (content="0")
or at least twenty hours (content ≥ 72000) (13.1.2)Note: indicating a link's file format and size is good practice, not a RAWeb criterion — do it, but do not cite 13.3 for it. Warning the user before a context change is 7.4, not 13.1.
When building interactive components, look up the correct ARIA pattern from the local reference data BEFORE writing any code. The component library contains 30 patterns extracted from the WAI-ARIA Authoring Practices Guide with keyboard interactions, required/optional ARIA attributes, and implementation notes.
# Find the right pattern by keyword (e.g., "modal", "dropdown", "toggle")
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh find "<keyword>"
# Show the pattern contract as markdown tables:
# RAWeb criteria + keyboard interaction + ARIA roles/attributes/states
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh show <slug>
# Show working code examples (do + don't) for one framework
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh code <slug> [vanilla|react|angular|web-component]
# List all 30 available patterns
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh list
# Find patterns that use a specific ARIA role
bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh roles "<role>"
find with the most natural keyword the developer usedshow <slug> — the RAWeb criteria that apply, the
keyboard interaction, and every ARIA attribute with its allowed values/statescode <slug> — read the whole pattern file the first
time; use code <slug> <framework> when you already know the universal rulesIf a pattern has no code examples yet, code tells you so and lists what does.
Fall back to show <slug> — the contract is complete for all 30 patterns.
| Path | Holds | Status |
|---|---|---|
references/components/<slug>.json | Source of truth: ARIA roles/attributes/values, keyboard interaction, RAWeb criteria mapping | All 30 patterns |
references/patterns/<slug>.md | Code examples: vanilla, React, Angular, Web Component, each with dos and don'ts | Growing — see code output |
references/patterns/_TEMPLATE.md | Authoring contract for adding a new pattern file | — |
Criterion levels and official titles are resolved at render time from
niveaux.json and criteres.json, so a pattern can never quote a stale level.
Never retype an ARIA table into a .md — add it to the JSON and let show
render it.
| When the developer says... | Look up slug |
|---|---|
| modal, dialog, popup, overlay, lightbox | dialog-modal |
| tabs, tab panel, tabbed interface | tabs |
| accordion, collapsible, FAQ | accordion |
| dropdown menu, context menu, submenu | menubar or menu-button |
| toast, notification, flash message | alert |
| confirm dialog, delete confirmation | alertdialog |
| carousel, slideshow, image gallery | carousel |
| autocomplete, typeahead, combobox | combobox |
| select, dropdown list, listbox | listbox |
| breadcrumb, navigation trail | breadcrumb |
| tooltip, hint, hover text | tooltip |
| toggle, switch, on/off | switch |
| slider, range, volume control | slider or slider-multithumb |
| tree, file browser, nested list | treeview |
| data grid, spreadsheet, editable table | grid |
| static table, data table | table |
| toolbar, action bar, button group | toolbar |
| radio buttons, option group | radio |
| checkbox, check all | checkbox |
| show/hide, details, read more | disclosure |
| spinner, number input, stepper | spinbutton |
| meter, gauge, battery level | meter |
| feed, infinite scroll, timeline | feed |
| page structure, landmarks | landmarks |
| split view, resizable panes | windowsplitter |
Always include and use this utility in your CSS:
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
Before considering any code complete, verify:
alt (informative) or alt="" (decorative)lang attribute and language changes are marked<title><nav>, <main>, <header>, <footer>)bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh criterion <topic.criterion>bash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh methodology <topic.criterion.test>bash ${CLAUDE_SKILL_DIR}/scripts/raweb-component-lookup.sh find "<keyword>", then show <slug> for the contract and code <slug> for worked examplesbash ${CLAUDE_SKILL_DIR}/scripts/raweb-lookup.sh glossary "<term>"<button> is better than <div role="button">criterion <x.y> before writing a number into code, a comment, or a reportreferences/components/accordion.json (opens in a new tab)references/components/alert.json (opens in a new tab)references/components/alertdialog.json (opens in a new tab)references/components/breadcrumb.json (opens in a new tab)references/components/button.json (opens in a new tab)references/components/carousel.json (opens in a new tab)references/components/checkbox.json (opens in a new tab)references/components/combobox.json (opens in a new tab)references/components/dialog-modal.json (opens in a new tab)references/components/disclosure.json (opens in a new tab)references/components/feed.json (opens in a new tab)references/components/grid.json (opens in a new tab)references/components/index.json (opens in a new tab)references/components/landmarks.json (opens in a new tab)references/components/link.json (opens in a new tab)references/components/listbox.json (opens in a new tab)references/components/menu-button.json (opens in a new tab)references/components/menubar.json (opens in a new tab)references/components/meter.json (opens in a new tab)references/components/radio.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub geoffreycrofte/luxembourg-accessibility-skillset --plugin luxembourg-accessibility4 skills in this plugin
/raam-auditAudit mobile applications (iOS and Android) against RAAM 1.1 (Luxembourg Mobile Accessibility Assessment Framework). Use when reviewing existing mobile app code for accessibility compliance, generating audit reports, checking conformance levels, or preparing for Luxembourg accessibility certification. Covers all 15 themes with platform-specific test procedures. Default target: Level AA.
/raam-codeDevelop accessible mobile applications (iOS and Android) conforming to RAAM 1.1 (Luxembourg Mobile Accessibility Assessment Framework, based on EN 301 549 v3.2.1 / WCAG 2.1). Use when building native mobile apps, React Native, Flutter, or any mobile UI that must meet Luxembourg accessibility law. Covers all 15 RAAM themes with platform-specific code guidance. Default conformance target: Level AA.
/raweb-auditAudit 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.
Other plugins' skills for the same job