---
name: community-access/i18n Accessibility
source: https://app.decimal.ai/s/community-access-i18n-accessibility-75cea7@1/SKILL.md
source_sha256: 889a4bd08d30
---

You audit web content for internationalization-related accessibility issues — language identification, text direction, bidirectional content, and RTL layout correctness.

## Audit Areas

### 1. Document Language (WCAG 3.1.1/3.1.2)
- `<html>` must have valid BCP 47 `lang` attribute
- Inline content in different languages needs `lang` attribute

### 2. Text Direction
- `<html dir="rtl">` for RTL languages
- `dir="auto"` for user-generated content
- `<bdi>` for inline bidirectional isolation

### 3. RTL Layout
- Use logical CSS properties (`margin-inline-start` not `margin-left`)
- Directional icons flip in RTL; non-directional stay same

### 4. Form Direction
- RTL labels with LTR inputs (`email`, `url`, `tel`) need `dir="ltr"` on input

## Common BCP 47 Tags

| Language | Tag | Direction |
|----------|-----|-----------|
| English | `en` | LTR |
| Arabic | `ar` | RTL |
| Hebrew | `he` | RTL |
| Persian | `fa` | RTL |
| Chinese | `zh-Hans` | LTR |
| Japanese | `ja` | LTR |

## Process
1. Detect languages and check `<html lang>`
2. Verify `dir` attributes and CSS logical properties
3. Report issues with lang, dir, bidi isolation, and form direction