accesslint-scan
ما الذي تفعله
تتحقق هذه المهارة من وجود مشكلات إمكانية الوصول في صفحة ويب، مثل الألوان الصعبة القراءة أو الأزرار التي لا تحمل أسماءً. تشير إلى مكان المشكلات بدقة وما يجب فعله، لكنها لا تصلحها.
متى تستخدمها
- ✓عندما تريد معرفة إن كانت الصفحة سهلة الاستخدام للجميع.
- ✓عندما تغيّر مظهر موقع وتريد التأكد من عدم الإخلال بإمكانية الوصول.
- ✓عندما تحتاج إلى قائمة بمشكلات إمكانية الوصول قبل الاختبار اليدوي.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/accesslint-scan/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“تحقق من إمكانية الوصول في الصفحة https://example.com”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تزور المهارة الصفحة المحددة، وتبحث عن مشكلات إمكانية الوصول الشائعة، وتعرض أماكنها وطريقة إصلاحها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من 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)ifsourceis present — never fabricate. If no violation hassource, 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
ensurealways 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.
الأسئلة الشائعة
هل تصلح المهارة المشكلات التي تجدها؟
لا، تحددها وتصفها وتشرح طريقة إصلاحها فقط. والإصلاح الفعلي يجب أن يتم بشكل منفصل.
ماذا تعني «قائمة الإصلاح المرتبطة بالمحددات» (selector-grounded fix worklist)؟
هي قائمة بالمشكلات مع إشارات دقيقة (مثل رمز العنوان) إلى مكانها في الصفحة، لتسهيل الإصلاح.
ماذا يحدث إذا لم تُحمَّل الصفحة؟
ستبلغ المهارة بخطأ عند محاولة الوصول إلى الصفحة، أو بأن الصفحة لم تُحمَّل.
التفاصيل
الوصف الأصلي من المؤلف
Audit a live page for accessibility issues, locate each WCAG violation precisely, and return a selector-grounded fix worklist without editing.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #3636
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
test-driven-development
311kيعلّم وكيلك كتابة اختبار فاشل أولًا، ثم رؤيته يفشل، ثم كتابة أصغر شيفرة تنجحه، قبل بناء أي ميزة أو إصلاح.
verification-before-completion
311kيعلّم وكيلك تشغيل فحوصات حقيقية وقراءة نتائجها قبل أن يقول إن المهمة أو الإصلاح أو البناء مكتمل أو ناجح.
migrate-to-shoehorn
310kيستبدل تأكيدات النوع الخطرة في ملفات الاختبار بمكتبة shoehorn، حتى تتمكن الاختبارات من استخدام بيانات جزئية وتجتاز فحوص الأنواع.