Logo Raam Audit

Raam Audit

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

Tổng quan

Nhà phát hànhgeoffreycrofte
Kho mãluxembourg-accessibility-skillset
Tên kỹ năngraam-audit
Sao
31
Bản fork
0
Tệp đi kèm
4
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ộ.

  • 4 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 Raam 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/raam-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/raam-audit .claude/skills/raam-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 Raam 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 Raam 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 Raam 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.

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

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.

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

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

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.

Vì sao nên dùng Raam 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. Raam 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 Raam 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/raam-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 Raam 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 Raam 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 Raam 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 Raam 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 👇