Skillpedia
الواجهات (UI/UX)75k · #2847

flashing-content

ما الذي تفعله

تفحص هذه المهارة موقعًا بحثًا عن محتوى يومض بسرعة، مثل الصور المتحركة أو التأثيرات. وهي موجهة إلى المطورين والمصممين الذين يريدون صفحات آمنة وسهلة الوصول.

متى تستخدمها

  • ✓عندما تحتوي مواقعك على بانرات أو صور GIF أو فيديوهات متحركة تومض.
  • ✓عندما تضيف حركة CSS تنبض أو تومض.
  • ✓عندما تريد الالتزام بإرشادات السلامة لإمكانية الوصول في الحركة.

رابط المهارة

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/flashing-content/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/flashing-content/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل يمكنك فحص حركاتي للتأكد من أن أيًا منها لا يومض بسرعة كبيرة؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يراجع الوكيل الحركات والوسائط بحثًا عن وميض سريع، خاصة الأحمر. ويقترح إبطاءها أو استبدالها بتلاشٍ هادئ أو بخيار ثابت.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Prevent seizure-triggering flashing content

Flashing content between 3-60 Hz can trigger seizures in people with photosensitive epilepsy—this is a critical safety requirement, not just an accessibility preference.

Quick Reference

  • Never flash content more than 3 times per second (WCAG Level A)
  • Flashing area must be smaller than 25% of viewport
  • Red flashing is especially dangerous—avoid entirely
  • Test GIFs, videos, and CSS animations for rapid flashing

Check

Verify no content flashes more than 3 times per second, and that any flashing content occupies less than 25% of the viewport. Test animated GIFs, videos, and CSS animations for rapid flashing patterns.

Fix

Remove or slow down rapid flashing animations. Use animation tools to measure flash frequency. Replace flashing effects with fade transitions or static alternatives that convey the same information.

Explain

Explain how flashing content between 3-60 Hz can trigger seizures in people with photosensitive epilepsy, and why this is a critical accessibility and safety requirement under WCAG 2.3.1.

Code Review

Review the rendered markup and interactive states that affect Prevent seizure-triggering flashing content. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/flashing-content

الأسئلة الشائعة

لماذا يُعد الوميض السريع مشكلة سلامة؟

الوميض بين نحو 3 و60 مرة في الثانية قد يسبب نوبات لدى بعض الأشخاص المصابين بالصرع الحساس للضوء.

ما الحد الذي تستخدمه المهارة؟

تقول إن المحتوى يجب ألا يومض أكثر من 3 مرات في الثانية، وأن تبقى مساحة الوميض أقل من 25 في المئة من الشاشة.

هل ينطبق هذا على الفيديوهات وصور GIF؟

نعم. تقول المهارة إن صور GIF والفيديوهات والحركات بـ CSS يجب فحصها بحثًا عن الوميض السريع.

التفاصيل

الوصف الأصلي من المؤلف

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Prevent seizure-triggering flashing content. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

الشعبية

نجوم GitHub
75k
الترتيب
#2847
الترخيص
MIT
آخر تحديث
31‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة