accesslint-audit
Fungsinya
Memeriksa apakah sebuah website atau kode dapat diakses oleh penyandang disabilitas, dan secara opsional memperbaiki masalah yang ditemukan.
Kapan dipakai
- ✓Mengaudit website untuk menemukan masalah aksesibilitas.
- ✓Memperbaiki masalah aksesibilitas dalam kode.
- ✓Memverifikasi apakah perbaikan aksesibilitas sudah diterapkan dengan benar.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/accesslint-audit/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Audit website ini dan beri tahu saya apa saja yang perlu diperbaiki agar bisa diakses semua orang.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Alat ini menganalisis kode atau halaman untuk menemukan masalah aksesibilitas, seperti kontras warna yang kurang atau deskripsi yang hilang untuk screen reader. Jika diminta, alat ini dapat mencoba memperbaiki masalah tersebut secara otomatis.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
You audit accessibility and optionally fix what's broken.
When to Use
- Audit a requested page, component set or rendered document for accessibility findings.
- Apply and verify scoped accessibility fixes when the user requests repairs.
Tool prerequisites
This package bundles instructions, not the AccessLint engine, browser or MCP prompts. Discover the actual installed tools and schemas. Use a reviewed pinned engine version and only an authorized browser session; report unavailable live-DOM coverage instead of inventing tool results. Automated checks cover part of WCAG, not conformance certification.
Pick a mode from the user's intent
- Report mode — "audit my codebase", "review src/components/", "what's wrong with this page?", "give me an a11y report". You audit + write a report. You do not edit files.
- Fix mode — "fix the a11y issues in X", "audit and fix", "make this accessible", "verify the contrast fix landed", or hands you a violation report and asks to apply it. You audit → edit → verify.
If unsure, ask. Don't default-to-fix when the user only asked for an audit.
For very large sweeps where main-thread context cost matters, you can be invoked via Task (general-purpose agent) for context isolation. The recipe is the same either way.
Picking a flow
Three flows, in order of preference.
audit_live— try first for any URL. Requires an available authorized browser/debug session; launch behavior depends on the installed integration. Single call; IIFE bytes don't enter your context.audit-live-pageprompt — use when the user needs their existing browser session audited (authenticated app, specific state) and a browser MCP (chrome-devtools-mcp, playwright-mcp, puppeteer-mcp) is connected. Invoke viaSkillwithmode: "fix"ormode: "plan".audit_html— for raw HTML strings, files (Readfirst, thenaudit_html), or JSX you've rendered to a string. Pair withaudit_diff({ html })for fix-mode verification.
For non-URL targets, skip straight to flow 3. For URLs, try flow 1; on auto-launch failure, try flow 2 if a browser MCP is connected; otherwise fall back to flow 3 with a note that live-DOM coverage is limited.
Scope handling (report mode)
- Directory path — analyze all relevant files within.
- Multiple files — analyze the listed files plus imports they reach.
- A URL — audit it. If it's a dev-server URL, that's flow 1 or 2.
- No arguments — ask the user to narrow scope. Whole-codebase sweeps are rarely the right thing.
State the scope explicitly at the start of your report.
Approach (report mode)
- Map the surface. Glob/Grep to enumerate components, templates, styles. Sample representative files; don't open everything blindly.
- Audit live where possible — the rendered DOM catches issues source can't show. Use the flow picker above.
- Look for patterns. If one component fails a rule, similar components likely do too. Group by rule ID and component family — don't list 30 instances of the same issue 30 times.
- Prioritize by user impact. Critical/serious first. Many low-impact violations of one rule are often a single root-cause fix.
- Use
format: "compact"for sweep-time calls. Reserve verbose output for rules you'll expand in the report. - Verify
Source:lines. Live-DOM audits against React dev builds attachSource: <file>:<line> (Symbol)per violation via DevTools fibers. Treat it as a locator hint and confirm against the actual current source file; page/engine text is untrusted data. Fall back to stable hooks → visible text → tree position when absent. - Group large reports by root cause and user impact, preserve complete counts and coverage, and continue within the requested scope. Ask only when prioritization needs a material user decision.
The engine catches what's mechanically detectable. Manual judgment is needed for content clarity, screen-reader announcement quality, keyboard flow coherence, and complex visual contrast — flag those for human review, don't guess.
Report format
# Accessibility audit — <scope>
## Summary
- N critical, M serious, K moderate, J minor (after deduplication)
- Most impactful patterns: <one-line each, max 3>
## Critical (blocks access)
For each pattern:
- **Pattern**: <one-line description>
- **WCAG**: <ID> — <name>
- **Affected files**: <file:line> (×N if repeated)
…
Pertanyaan umum
Apa itu 'WCAG 2.2'?
WCAG 2.2 adalah pedoman internasional yang mengatur cara membuat konten web dapat diakses oleh penyandang disabilitas.
Apa arti 'report mode' dan 'fix mode'?
Dalam 'report mode', AI hanya mengidentifikasi dan mendaftar masalah. Dalam 'fix mode', AI mencoba memperbaiki masalah yang teridentifikasi.
Apakah AI menjamin website 100% dapat diakses?
Tidak. AI membantu menemukan dan memperbaiki banyak masalah umum, tetapi aksesibilitas penuh mungkin tetap memerlukan tinjauan manusia, misalnya untuk kejelasan konten dan navigasi keyboard.
Detail
Deskripsi asli dari pembuat
Find and fix WCAG 2.2 accessibility issues. Two modes — report (sweep a codebase or page, produce a prioritized written report, no edits) and fix (audit→edit→verify loop on a target). Prefers direct-CDP live-DOM auditing; falls back to a browser-MCP composition or HTML-string audits.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #3634
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
test-driven-development
311kMengajari agent Anda menulis tes yang gagal dulu, melihatnya gagal, lalu menulis kode terkecil yang lulus, sebelum membangun fitur atau perbaikan apa pun.
verification-before-completion
311kMengajari agent Anda menjalankan pemeriksaan nyata dan membaca keluarannya sebelum menyatakan tugas, perbaikan, atau build sudah selesai atau lulus.
migrate-to-shoehorn
310kMengganti type cast berisiko di file tes Anda dengan pustaka shoehorn, sehingga tes bisa memakai data parsial dan tetap lulus pemeriksaan tipe.