Skillpedia
المواقع والواجهات (frontend)75k · #2786

content-without-css

ما الذي تفعله

تتحقق هذه المهارة من أن الصفحة ما زالت منطقية حين تُزال أنماطها أو تُستبدل بأنماط المستخدم. وهي موجهة إلى المصممين والمطورين الذين يريدون أن يعمل المحتوى للجميع.

متى تستخدمها

  • ✓عندما يعتمد التخطيط على الموضع البصري لإظهار الخطوة التالية.
  • ✓عندما تظهر التسميات أو رسائل الخطأ عبر التنسيق الزخرفي فقط.
  • ✓عندما يبدو نموذج أو مجموعة خطوات واضحة فقط بسبب CSS.

رابط المهارة

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

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

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

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

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

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

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

“أوقف الأنماط في صفحة التسجيل عندي وتحقق مما إذا كانت التسميات والخطوات والأخطاء ما زالت مفهومة.”

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

كيف تعمل

يفحص الوكيل البنية الدلالية للصفحة وترتيب القراءة والتسميات، وينقل التعليمات الأساسية إلى نص حقيقي بدلًا من حيل التنسيق.

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

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

Ensure content remains usable without CSS

Users can browse with custom styles, high contrast modes, reader tools, or failed stylesheets. If the page only makes sense visually, content order, instructions, and task flow break as soon as presentation changes.

Quick Reference

  • Use semantic HTML so headings, lists, and form relationships survive without CSS
  • Keep DOM order aligned with the reading and task-completion order
  • Do not put essential labels, instructions, or required markers in CSS generated content
  • Test key journeys with author styles disabled or overridden by user styles

Check

Find pages or components that rely on CSS for meaning. Verify the page still has a logical reading order, visible labels, instructions, error text, and operable primary actions when author styles are disabled or replaced by user styles.

Fix

Use semantic HTML and DOM order to preserve headings, lists, labels, field groups, helper text, and error messaging without relying on CSS positioning, pseudo-elements, or visual-only cues.

Explain

Explain why semantic HTML and meaningful DOM order let content remain understandable when CSS fails to load or users apply their own styles.

Code Review

Review templates, rendered HTML, and component markup related to Ensure content remains usable without CSS. Flag where meaning, reading order, labels, instructions, or task flow depend on CSS rather than semantics, and note how to verify the fix with styles disabled.


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

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

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

لماذا قد تفقد الصفحة CSS؟

تنبّه المهارة إلى أن بعض المستخدمين يطبّقون أنماطهم الخاصة أو أوضاع التباين العالي، وقد تفشل أوراق الأنماط في التحميل.

ما الذي لا يجب أن يعتمد على CSS؟

التسميات الأساسية والتعليمات وعلامات الحقول المطلوبة ونص الخطأ.

هل يهم ترتيب HTML؟

نعم. تقول المهارة إن ترتيب HTML يجب أن يطابق ترتيب القراءة وترتيب المهمة.

التفاصيل

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

Use when reviewing rendered HTML, layout components, or design-system patterns that may depend on presentation for meaning. Check the DOM order, semantic structure, form relationships, and whether CSS generated content carries essential information.

repo: thedaviddias/Front-End-Checklist

الشعبية

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

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

0

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

التعليقات

  • …

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

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