Langsung ke konten
Skillpedia
Testing48k Β· #3636

accesslint-scan

Fungsinya

Memeriksa apakah sebuah halaman web memiliki masalah aksesibilitas, misalnya warna yang sulit dibaca atau tombol tanpa nama. Alat ini menunjukkan lokasi pasti masalah dan cara memperbaikinya, tetapi tidak memperbaikinya sendiri.

Kapan dipakai

  • βœ“Saat Anda ingin memastikan halaman mudah digunakan oleh semua orang.
  • βœ“Setelah mengubah tampilan website dan ingin memastikan aksesibilitasnya tidak rusak.
  • βœ“Untuk mendapatkan daftar masalah aksesibilitas sebelum melakukan pengujian manual.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/accesslint-scan/SKILL.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/accesslint-scan/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPeriksa aksesibilitas halaman https://example.com”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Alat ini mengunjungi halaman web yang Anda berikan, mencari masalah aksesibilitas yang umum, lalu menampilkan lokasi masalah tersebut dan cara memperbaikinya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Audit a live page and report what's broken and where. Locate; don't fix. If no URL in $ARGUMENTS, ask for one.

When to Use

  • A supplied page needs an automated contrast, accessible-name, or semantic-markup audit.
  • You need selector-grounded findings after a UI change, without modifying the application.
  • Manual assistive-technology checks or site-wide conformance assessment are separate work.

1. Audit

Use an already reviewed, project-pinned installation of @accesslint/chrome and @accesslint/cli; confirm their local binaries and CLI help before execution. Do not silently download and execute @latest. Confirm the URL and whether browser access could expose authenticated or sensitive content.

For a project whose locked installation exposes these binary names:

session_file="$(mktemp)"
./node_modules/.bin/accesslint-chrome ensure > "$session_file"

Read the complete JSON result once, record port and managed, and substitute the returned port in ./node_modules/.bin/accesslint scan "<target>" --port "<returned-port>" --format json. Never parse arbitrary stdout chunks as complete JSON. Confirm the actual binary names from the installed packages; they may differ by version. The current upstream command shape is scan <target> --port <port> --format json.

Flags as needed: --selector, --wait-for "<selector>", --include-aaa, --disable <rules>.

2. Report

Counts by impact, then one entry per violation:

  • where β€” selector verbatim + file:line (symbol) if source is present β€” never fabricate. If no violation has source, note "source mapping unavailable β€” located by selector only".
  • evidence β€” contrast ratio, missing attribute, empty name
  • fix β€” mechanical change or NEEDS HUMAN

Return the worklist without editing. Remediation requires a separate authorized task; current upstream names it accesslint:accessibility-fix, which may not be installed in this host.

3. Tear down

Stop only the managed browser session created for this audit, using the installed helper's supported session/port-specific stop operation. If it only supports stop --all, check for other managed sessions first and do not terminate unrelated audits. Skip teardown of an unmanaged browser.

Gotchas

  • ensure always determines the port β€” never hardcode 9222.
  • CLI exit 2 = bad URL or page never loaded; check the dev server.

Limitations

  • Automated rules cannot certify full WCAG conformance; retain human-required findings and record scan failures separately from zero violations.
  • Upstream CLI shape checked against AccessLint scan source; this AAS skill does not bundle the CLI or install it.
  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Pertanyaan umum

Apakah alat ini memperbaiki masalah yang ditemukan?

Tidak. Alat ini hanya mengidentifikasi dan menjelaskan masalah beserta cara memperbaikinya. Perbaikannya perlu dilakukan secara terpisah.

Apa itu 'selector-grounded fix worklist'?

Ini adalah daftar masalah yang disertai petunjuk tepat (seperti kode alamat) tentang lokasinya di halaman, agar perbaikannya lebih mudah dilakukan.

Apa yang terjadi jika halaman tidak bisa dimuat?

Alat ini akan melaporkan error saat mencoba mengakses halaman, atau memberi tahu bahwa halaman tidak berhasil dimuat.

Detail

Deskripsi asli dari pembuat

Audit a live page for accessibility issues, locate each WCAG violation precisely, and return a selector-grounded fix worklist without editing.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#3636
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa