Raam Audit 标志

Raam Audit

社区
geoffreycrofte
raam-audit

Audit 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.

概览

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

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

  • 兼容任何大语言模型

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

  • 4 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/geoffreycrofte/luxembourg-accessibility-skillset/tree/main/raam-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/raam-audit .claude/skills/raam-audit
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

RAAM 1.1 — Mobile Accessibility Audit Skill

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

Reference data

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

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

# Full test methodology (iOS & Android steps)
bash ${CLAUDE_SKILL_DIR}/scripts/raam-lookup.sh methodology <topic.criterion>

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

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

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

Raw JSON files: ${CLAUDE_SKILL_DIR}/references/


Audit methodology

Step 1: Determine scope

Before auditing, clarify:

  • Platform: iOS, Android, or both (cross-platform frameworks like React Native/Flutter count as both)
  • Target level: A or AA (default: AA)
  • Scope: full app, specific screen, or specific component
  • Themes to focus on: all 15, or specific themes relevant to the content

Step 2: Systematic evaluation by theme

For each applicable theme, follow the official RAAM test methodologies. ALWAYS look up the methodology before rendering a verdict — methodologies contain platform-specific steps for both iOS and Android:

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

Step 3: Report findings

Use the structured report format below.


Audit execution: Theme-by-theme checklist

For each criterion, apply: C (Conforming), NC (Non-conforming), NA (Not applicable).

Theme 1 — Graphic Elements (9 criteria)

Scan for: image components, icons, decorative elements, content descriptions, accessibility labels.

CheckCriteriaLevel
Decorative graphics hidden from AT1.1A
Informative graphics have text alternatives1.2A
Text alternatives are relevant1.3A
CAPTCHA graphics describe nature/function1.4A
CAPTCHA has non-graphic alternative1.5A
Complex graphics have detailed descriptions1.6A
Detailed descriptions are relevant1.7A
Text graphics have styled-text alternatives1.8AA
Graphics with captions are correctly grouped1.9AA

Code patterns to scan:

bash
# iOS: images without accessibility labels
grep -rn 'Image(' --include="*.swift" | grep -v 'accessibilityLabel\|accessibilityHidden\|decorative'

# Android: images without content descriptions
grep -rn 'Image(' --include="*.kt" | grep -v 'contentDescription'
grep -rn 'ImageView' --include="*.xml" | grep -v 'contentDescription\|importantForAccessibility'

# React Native: images without labels
grep -rn '<Image' --include="*.tsx" --include="*.jsx" | grep -v 'accessibilityLabel\|accessible={false}'

Theme 2 — Colours (4 criteria)

Requires visual inspection and contrast tools.

CheckCriteriaLevel
Information not conveyed by colour alone2.1A
Text contrast ≥ 4.5:1 / 3:1 (large)2.2AA
Non-text element contrast ≥ 3:12.3AA
Contrast replacement mechanism accessible2.4AA

Code patterns to scan:

bash
# Hardcoded colours that may have contrast issues
grep -rn '#[0-9a-fA-F]\{6\}\|rgb(' --include="*.swift" --include="*.kt" --include="*.xml" --include="*.tsx"

# iOS: check for semantic/adaptive colours
grep -rn 'UIColor\|Color(' --include="*.swift" | grep -v 'semantic\|system\|primary\|label'

Theme 3 — Multimedia (18 criteria)

Scan for: video/audio players, media components.

CheckCriteriaLevel
Audio-only has text transcript3.1A
Audio transcript is relevant3.2A
Video-only has alternative3.3A
Video-only alternative is relevant3.4A
Synchronised media has alternative3.5A
Synchronised media alternative is relevant3.6A
Synchronised media has captions3.7A
Captions are relevant and synchronised3.8A
Video has audio description3.9AA
Audio description is relevant3.10AA
Media has adjacent identifying text3.11A
Auto-playing audio ≤ 3s or controllable3.12A
Player has play/pause/mute controls3.13A
Caption/AD toggles at same level as play3.14AA
Captions preserved on transmit/convert3.15AA
AD preserved on transmit/convert3.16AA
Captions are customisable3.17AA
Captions key features preserved3.18AA

Theme 4 — Tables (5 criteria)

CheckCriteriaLevel
Complex table has title4.1A
Complex table has summary4.2A
Simple table has title4.3A
Table headers correctly associated4.4A
Table data cells associated with headers4.5A

Theme 5 — Interactive Components (5 criteria)

CheckCriteriaLevel
Components keyboard/switch accessible5.1A
Components have accessible names5.2A
Accessible names include visible text5.3A
Context changes announced to AT5.4AA
Component states exposed to AT5.5A

Code patterns to scan:

bash
# Custom interactive elements missing accessibility
grep -rn 'onTap\|onClick\|onPress' --include="*.swift" --include="*.kt" --include="*.tsx" | grep -v 'accessibilityLabel\|contentDescription\|accessibilityRole'

# Missing state announcements
grep -rn 'isExpanded\|isSelected\|isEnabled\|isChecked' --include="*.swift" --include="*.kt" | grep -v 'accessibilityValue\|stateDescription\|accessibilityState'

Theme 6 — Mandatory Elements (2 criteria)

CheckCriteriaLevel
Screen has a title announced by AT6.1A
App language is identifiable by AT6.2A

Code patterns to scan:

bash
# iOS: screens without navigation title
grep -rn 'struct.*View.*:.*View' --include="*.swift" | head -20
grep -rn 'navigationTitle\|title =' --include="*.swift"

# Android: activities without labels
grep -rn '<activity' --include="*.xml" | grep -v 'android:label'

Theme 7 — Information Structure (2 criteria)

CheckCriteriaLevel
Headings use correct semantics7.1A
Significant elements use proper semantics7.2A

Code patterns to scan:

bash
# iOS: text styled as heading but missing trait
grep -rn '\.font(.title\|\.font(.headline\|\.font(.subhead' --include="*.swift" | grep -v 'isHeader\|accessibilityAddTraits'

# Android: styled headings without semantics
grep -rn 'headlineMedium\|headlineSmall\|titleLarge' --include="*.kt" | grep -v 'heading()'

Theme 8 — Presentation of Information (7 criteria)

CheckCriteriaLevel
Content usable at 200% system text size8.1A
No information loss at 200% / no dual scrolling at ≥320px8.2AA
Both orientations supported8.3A
Focus indicator visible on interactive elements8.4A
Hover/focus content dismissable and persistent8.5A
Hidden AT content is accessible8.6A
Hover/focus content does not obstruct8.7AA

Code patterns to scan:

bash
# Fixed font sizes that won't scale
grep -rn 'fontSize.*=.*[0-9]' --include="*.swift" | grep -v '\.sp\|\.body\|\.title\|\.headline'
grep -rn 'textSize.*=.*"[0-9]' --include="*.xml" | grep 'dp"' # should be sp, not dp

# Locked orientation
grep -rn 'screenOrientation\|supportedInterfaceOrientations' --include="*.xml" --include="*.swift" --include="*.kt"

Theme 9 — Forms (12 criteria)

CheckCriteriaLevel
All fields have labels9.1A
Labels are relevant9.2A
Accessible name includes visible label9.3A
Related fields grouped with label9.4A
Same-purpose fields identifiable9.5A
Field grouping labels relevant9.6A
Required fields indicated9.7A
Required indication accessible9.8A
Error messages linked and descriptive9.9A
Error suggestions relevant9.10AA
Review/modify/confirm before submission9.11AA
Autocomplete for personal data9.12AA

Code patterns to scan:

bash
# Form fields without labels
grep -rn 'TextField\|TextInput\|EditText\|OutlinedTextField' --include="*.swift" --include="*.kt" --include="*.tsx" --include="*.xml" | grep -v 'label\|accessibilityLabel\|contentDescription\|hint'

# Missing autocomplete/textContentType
grep -rn 'TextField\|TextInput' --include="*.swift" --include="*.kt" --include="*.tsx" | grep -v 'textContentType\|autoComplete\|autofill\|AutofillType'

Theme 10 — Navigation (4 criteria)

CheckCriteriaLevel
All interactive elements keyboard/switch accessible10.1A
No keyboard/focus traps10.2A
Focus order logical and consistent10.3A
Single-key shortcuts controllable10.4A

Theme 11 — Consultation (16 criteria)

CheckCriteriaLevel
No uncontrolled auto-refresh11.1A
Time limits controllable11.2A
Moving content has pause control11.3A
Blinking content has stop control11.4A
No content flashing > 3 times/second11.5A
No unexpected context change on focus11.6A
No unexpected context change on input (or warned)11.7A
Content visible in all orientations11.8A
Complex gestures have simple alternatives11.9AA
Touch uses up-event or undo mechanism11.10A
Multipoint/path actions have alternatives11.11A
Actions on device motion have alternatives11.12A
Motion triggering can be disabled11.13A
Touch target ≥ 24×24 CSS px11.14AA
Drag actions have single-pointer alternative11.15A
Device motion actions have UI alternatives11.16A

Code patterns to scan:

bash
# Small touch targets
grep -rn 'frame(width:\|\.size(' --include="*.swift" | grep -E '[0-9]{1,2}[^0-9]' | grep -v '4[4-9]\|[5-9][0-9]\|[1-9][0-9]{2}'

# Motion-based actions without alternatives
grep -rn 'CMMotionManager\|SensorManager\|accelerometer\|gyroscope' --include="*.swift" --include="*.kt" --include="*.tsx"

# Gesture recognizers that may need alternatives
grep -rn 'UIPinchGesture\|UIRotationGesture\|ScaleGesture\|RotateGesture' --include="*.swift" --include="*.kt"

Themes 12–15 (EN 301 549 Extended)

Query individually when the app includes documentation, editing tools, support services, or real-time communication features:

bash
bash ${CLAUDE_SKILL_DIR}/scripts/raam-lookup.sh topic 12  # Documentation & accessibility features
bash ${CLAUDE_SKILL_DIR}/scripts/raam-lookup.sh topic 13  # Editing tools
bash ${CLAUDE_SKILL_DIR}/scripts/raam-lookup.sh topic 14  # Support services
bash ${CLAUDE_SKILL_DIR}/scripts/raam-lookup.sh topic 15  # Real-time communication

Report format

markdown
# RAAM 1.1 Mobile Accessibility Audit Report

**Application**: [name]
**Platform**: iOS / Android / Both
**Version audited**: [version]
**Date**: [date]
**Target level**: AA
**Scope**: [full app / specific screens / component]

## Summary

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

## Testing environment

| | iOS | Android |
|---|---|---|
| Device | [model] | [model] |
| OS version | [version] | [version] |
| Screen reader | VoiceOver | TalkBack |
| Other AT | Switch Control, Voice Control | Switch Access, Voice Access |

## Critical issues (must fix)

### Issue 1: [Short title]
- **Criterion**: RAAM X.X (Level A/AA) — [criterion title]
- **EN 301 549**: [norm reference]
- **Platform**: iOS / Android / Both
- **Screen**: [screen name]
- **Location**: [file:line or component]
- **Problem**: [description of the violation]
- **Impact**: [which users are affected and how]
- **Remediation**: [specific fix with code example for affected platform(s)]
- **Priority**: Critical / Major / Minor

## Detailed results by theme

### Theme X: [Name]

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

## Recommendations

[Prioritised list of improvements beyond strict compliance]

Severity classification

LevelDescriptionExample
CriticalBlocks access entirely for some usersMissing labels on form fields, keyboard traps, unlabelled buttons
MajorSignificant barrier but workaround existsPoor contrast, missing headings semantics, no complex gesture alternative
MinorInconvenience but does not block accessMissing hint text, imprecise accessible names

When auditing, ALWAYS:

  1. Look up the exact criterion before rendering a verdict — do not rely on memory
  2. Apply the official methodology which has separate iOS and Android steps
  3. Use RAAM criterion numbers (e.g., "RAAM 9.1", not just "WCAG 1.3.1")
  4. Include the EN 301 549 norm reference for cross-reference
  5. Provide platform-specific remediation with code examples (iOS AND Android when both are in scope)
  6. Test both platforms separately — a component may conform on one and fail on the other
  7. Note when code review is insufficient — many criteria require device testing with screen reader (VoiceOver/TalkBack)
  8. Check both orientations — portrait and landscape
  9. Test with enlarged text — set system text size to maximum and verify layout

附带文件

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

常见问题

Raam Audit AI 技能有什么作用?

Audit 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.

为什么在 TypingMind 中使用 Raam Audit?

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

如何在 TypingMind 中安装 Raam Audit?

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

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

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

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

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

Raam Audit AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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