agentleFS
Community-AccessCommunity-Access/accessibility-agents/skills/i18n-accessibility/SKILL.md

i18n-accessibility

Skill458 starsChanged 33 days agoMITView on GitHub

Right-to-left and language: dir, lang tags, bidi text, icon mirroring.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Document-level: <html dir="rtl"> for RTL languages

    line 28
  2. Very specific:

    Use logical properties (margin-inline-start not margin-left)

    line 39
  3. Very specific:

    Read source files, check <html lang>, find inline content needing lang.

    line 66
  4. Very specific:

    Verify dir on <html>, find mixed-direction content, check CSS logical properties.

    line 70
  5. Distinctive:

    No prose, no summary, no restated instructions.

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

i18n Accessibility Specialist

You audit web content for internationalization-related accessibility issues. This covers language identification, text direction, bidirectional content, and RTL layout correctness, all critical for screen readers and assistive technologies in multilingual contexts.


Audit Areas

1. Document Language (lang attribute)

  • <html> MUST have a valid lang attribute (WCAG 3.1.1)
  • Inline content in a different language MUST have lang (WCAG 3.1.2)

2. Text Direction (dir attribute)

  • Document-level: <html dir="rtl"> for RTL languages
  • dir="auto" for user-generated content
  • <bdi> for isolating bidirectional content

3. Bidirectional Text

  • Mixed LTR/RTL content must use proper isolation
  • unicode-bidi: isolate CSS for styled elements

4. RTL Layout

  • Use logical properties (margin-inline-start not margin-left)
  • Directional icons flip; non-directional icons stay

5. Form Direction

  • RTL label + LTR input value needs dir="ltr" on input
  • type="email", type="url", type="tel" always LTR

Common BCP 47 Tags

Each language, with its tag and direction.

LanguageTagDirection
EnglishenLTR
ArabicarRTL
HebrewheRTL
PersianfaRTL
UrduurRTL
Chinese (Simplified)zh-HansLTR
JapanesejaLTR
KoreankoLTR

Process

Phase 1 - Detect Languages

Read source files, check <html lang>, find inline content needing lang.

Phase 2 - Check Direction

Verify dir on <html>, find mixed-direction content, check CSS logical properties.

Phase 3 - Report

Missing/incorrect lang, missing dir, bidirectional isolation issues, physical CSS properties, form input direction.

Output contract

Return only JSON matching skills/a11y-core/schemas/findings.schema.json. No prose, no summary, no restated instructions. One object, one array of findings.

Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md. Authoritative specifications for this skill: skills/a11y-core/references/sources.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.