本文へ移動
cccskills
無料GitHub で公開

global-a11y-i18n-expert

Expert guide for Web Accessibility (WCAG a11y) and Internationalization (i18n) / Panduan ahli untuk Aksesibilitas Web dan Internasionalisasi.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Global Accessibility (a11y) & i18n Expert

English | Bahasa Indonesia


<a name="english"></a>

English

Orchestration & Integration

Connects and orchestrates with relevant domain skills like brainstorming, zero-to-prod-orchestrator, and session-memory-manager to ensure cohesive execution.

Description

This skill focuses on making enterprise web applications universally accessible and globally adaptable. It covers Web Content Accessibility Guidelines (WCAG) compliance and Internationalization (i18n) patterns for multi-language, multi-timezone software.

Trigger Conditions

  • Selling software to government, education, or large enterprise sectors (where WCAG AA compliance is legally required).
  • Implementing multi-language support (i18n).
  • Designing UIs that must support RTL (Right-to-Left) languages like Arabic or Hebrew.
  • Fixing "tab trap" or screen reader issues.
  • Handling complex timezone/date calculations across global users.

Core Architecture Guidelines

1. Web Accessibility (a11y)

Do not treat accessibility as an afterthought. It is a core engineering requirement.

  • Semantic HTML: Always prefer native HTML elements (<button>, <nav>, <dialog>) over building custom ones with <div>. Native elements come with free accessibility baked in by the browser.
  • ARIA Attributes: If you must build custom UI, use WAI-ARIA roles (role="tablist", aria-expanded="true") to tell screen readers what the component is doing.
  • Keyboard Navigation: The entire app MUST be usable without a mouse. Ensure interactive elements are focusable (tabindex="0") and visual focus outlines are distinct (do not use outline: none without providing an alternative styling).
  • Color Contrast: Ensure text has a minimum contrast ratio of 4.5:1 against its background (WCAG AA standard).

2. Internationalization (i18n)

Handling multiple languages requires structural foresight.

  • Locale Routing: Use URL structures like /en/pricing or /id/pricing.
  • String Externalization: Never hardcode UI text. Use translation files (en.json, id.json) and a library like next-intl or react-i18next.
  • RTL Support: Use CSS logical properties (e.g., margin-inline-start instead of margin-left) so your UI automatically flips when rendering RTL languages.

3. Timezones and Dates

Time is incredibly difficult to manage globally.

  • Storage: ALWAYS store dates in the database as UTC (TIMESTAMPTZ in PostgreSQL). Never store local time.
  • Transport: Send dates across APIs in ISO 8601 format (e.g., 2026-03-15T12:00:00Z).
  • Display: Convert UTC to the user's local timezone only at the UI layer just before rendering (using native Intl.DateTimeFormat or libraries like date-fns-tz).

<a name="bahasa-indonesia"></a>

Bahasa Indonesia

Integrasi Orkestrasi

Terhubung dan mengorkestrasi skill domain yang relevan seperti brainstorming, zero-to-prod-orchestrator, dan session-memory-manager untuk memastikan eksekusi yang kohesif.

Deskripsi

Skill ini berfokus pada pembuatan aplikasi web skala enterprise yang dapat diakses secara universal dan diadaptasi secara global. Panduan ini mencakup kepatuhan pedoman Aksesibilitas Web (WCAG) serta pola Internasionalisasi (i18n) untuk perangkat lunak multi-bahasa dan multi-zona-waktu.

Kondisi Pemicu

  • Menjual perangkat lunak ke sektor pemerintah, pendidikan, atau perusahaan besar (di mana kepatuhan WCAG AA diwajibkan secara hukum).
  • Menerapkan dukungan multi-bahasa (i18n).
  • Merancang UI yang harus mendukung bahasa yang dibaca dari Kanan ke Kiri (RTL) seperti Arab atau Ibrani.
  • Memperbaiki masalah navigasi keyboard (tab trap) atau dukungan screen reader (pembaca layar).
  • Menangani kalkulasi tanggal dan zona waktu yang kompleks untuk pengguna global.

Panduan Arsitektur Inti

1. Aksesibilitas Web (a11y)

Jangan anggap aksesibilitas sebagai fitur tambahan. Ini adalah syarat mutlak engineering.

  • HTML Semantik: Selalu utamakan elemen HTML bawaan (<button>, <nav>, <dialog>) daripada membuat elemen kustom menggunakan <div>. Elemen bawaan sudah memiliki fitur aksesibilitas yang ditangani langsung oleh browser.
  • Atribut ARIA: Jika Anda terpaksa membuat komponen UI kustom, gunakan peran WAI-ARIA (role="tablist", aria-expanded="true") untuk memberi tahu screen reader apa fungsi komponen tersebut.
  • Navigasi Keyboard: Seluruh aplikasi HARUS bisa digunakan tanpa mouse. Pastikan elemen interaktif bisa difokuskan (tabindex="0") dan garis tepi fokus (focus ring) terlihat jelas (jangan gunakan outline: none tanpa memberikan gaya alternatif).
  • Kontras Warna: Pastikan teks memiliki rasio kontras minimal 4.5:1 terhadap warna latar belakangnya (standar WCAG AA).

2. Internasionalisasi (i18n)

Menangani berbagai bahasa memerlukan perencanaan struktural.

  • Routing Lokal (Locale Routing): Gunakan struktur URL seperti /en/pricing atau /id/pricing.
  • Eksternalisasi Teks: Jangan pernah menulis teks UI langsung (hardcode) di dalam kode. Gunakan berkas terjemahan (en.json, id.json) dan pustaka seperti next-intl atau react-i18next.
  • Dukungan RTL: Gunakan properti logika CSS (CSS logical properties, mis. margin-inline-start alih-alih margin-left) agar tata letak UI Anda secara otomatis berbalik saat merender bahasa RTL.

3. Zona Waktu dan Tanggal

Mengelola waktu secara global sangatlah rumit.

  • Penyimpanan: SELALU simpan tanggal di dalam database dalam format UTC (TIMESTAMPTZ pada PostgreSQL). Jangan pernah menyimpan waktu lokal komputer.
  • Transportasi: Kirimkan tanggal melalui API dalam format ISO 8601 (mis., 2026-03-15T12:00:00Z).
  • Tampilan UI: Konversikan waktu UTC ke zona waktu lokal pengguna hanya di lapisan UI sesaat sebelum dirender (menggunakan Intl.DateTimeFormat bawaan browser atau pustaka seperti date-fns-tz).

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug752026年10月9日 更新

Expert guide for intelligent model cascading and routing — complexity-scored task routing from Flash/Haiku to Sonnet/Opus/Astra, dynamic escalation with quality gates, 40-60% token cost reduction while maintaining output quality / Panduan ahli untuk kaskade dan routing model cerdas — routing tugas berbasis skor kompleksitas dari Flash/Haiku ke Sonnet/Opus/Astra, eskalasi dinamis dengan gerbang kualitas, pengurangan biaya token 40-60% dengan kualitas output terjaga.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug752026年10月9日 更新

Expert guide for Affective Computing, emotional AI, and real-time sentiment analysis through native multimodal tokens (voice intonation and facial micro-expressions) / Panduan ahli komputasi afektif, AI emosional, dan analisis sentimen real-time melalui token multimodal native.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug752026年10月9日 更新

Expert guide for AI-assisted coding workflows — agentic code generation, multi-agent code swarms, self-healing CI/CD, automated PR review, spec-to-code pipelines, codebase knowledge graphs, and human-in-the-loop approval gates / Panduan ahli untuk workflow pengkodean berbasis AI — generasi kode agentic, code swarm multi-agen, CI/CD self-healing, review PR otomatis, pipeline spec-to-code, knowledge graph codebase, dan gate persetujuan human-in-the-loop.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug752026年10月9日 更新

Expert guide for long-term episodic memory integration (Mem0 v2, Letta/MemGPT, Zep v2), memory tier architecture, pgvector HNSW storage, and unified context management for autonomous AI agents / Panduan ahli untuk integrasi memori episodik jangka panjang (Mem0 v2, Letta/MemGPT, Zep v2), arsitektur tier memori, penyimpanan pgvector HNSW, dan manajemen konteks terpadu untuk agen AI otonom.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug752026年10月9日 更新

Expert guide for designing Machine-to-Machine (M2M) micro-economies, autonomous agent wallets, and swarm budget allocation / Panduan ahli merancang ekonomi mikro antar-agen (M2M), dompet agen otonom, dan alokasi anggaran swarm.

日本語の概要は準備中です。原文の説明を表示しています。

roedyrustam/vibes-plug752026年10月9日 更新

roedyrustam のスキルをすべて見る

このスキルの問題を報告する