---
name: raweb-code
description: >
Write accessible HTML, CSS, and JavaScript that conforms to RAWeb 1.1
(Luxembourg Web Accessibility Framework, based on EN 301 549 / WCAG 2.1).
Use when developing web interfaces, components, forms, navigation, or any
front-end code that must meet Luxembourg accessibility law. Covers all 17
RAWeb themes with code-level guidance, accessible patterns, and anti-patterns.
Default conformance target: Level AA.
metadata:
author: luxembourg-accessibility-skillset
version: 1.2.0
raweb-version: "1.1"
wcag-version: "2.1"
license: CC-BY-3.0-LU
source: https://github.com/accessibility-luxembourg/ReferentielAccessibiliteWeb
allowed-tools: Bash Read Grep
---
# RAWeb 1.1 — Accessible Code Development Guide
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.
## How to use the reference data
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:
```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 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/raweb/criteres.json` — All 136+ criteria with tests and WCAG/EN 301 549 mappings
- `${CLAUDE_SKILL_DIR}/../references/raweb/methodologies.json` — Step-by-step test procedures
- `${CLAUDE_SKILL_DIR}/../references/raweb/glossaire.json` — Glossary of accessibility terms
- `${CLAUDE_SKILL_DIR}/../references/raweb/themes.json` — Topic names
- `${CLAUDE_SKILL_DIR}/../references/raweb/niveaux.json` — WCAG conformance levels per criterion
When 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`.
---
## Core rules (apply to ALL code you write)
### 1. Images (Topic 1)
**ALWAYS:**
- Every `` conveying information MUST have a meaningful `alt` attribute (1.1)
- Every decorative `` MUST have `alt=""` and no `title`, `aria-label`, or `aria-labelledby` (1.2)
- Every `