Skillpedia
تطبيقات الجوال75k · #2964

orientation

ما الذي تفعله

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

متى تستخدمها

  • ✓عندما تطلب من الوكيل فحص سلوك الموقع عند تدوير الهاتف أو الجهاز اللوحي.
  • ✓عندما يعرض الموقع رسالة «دوّر جهازك» تحجب المحتوى أو النماذج.
  • ✓عندما تبني تدفقًا بملء الشاشة أو لوحة تحكم أو نموذجًا قد يُستخدم على الأجهزة اللوحية.

رابط المهارة

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

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

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

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

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

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

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

“موقعي يطلب من الناس تدوير هواتفهم ويحجب الصفحة. هل يمكنك جعله يعمل في الوضعين؟”

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

كيف تعمل

يبحث الوكيل عن أقفال الاتجاه وطبقات تدوير الجهاز والتخطيطات التي تخفي وظائف في اتجاه معين. ويزيل تلك العوائق، ويكيّف التخطيط بـ CSS متجاوب ليعمل كل شيء بعد التدوير.

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

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

Support both portrait and landscape orientation

Many users mount devices to wheelchairs, use tablets on stands, or cannot easily rotate a device. If a site only works in one orientation, these users may lose access to content or critical actions entirely.

Quick Reference

  • Do not lock the interface to portrait-only or landscape-only unless the task truly requires it
  • Ensure all core content and controls remain usable after device rotation
  • Use responsive layouts that adapt instead of hiding functionality in one orientation
  • If a specific orientation is essential, explain why and provide the best available alternative

Check

Rotate the page between portrait and landscape on mobile and tablet viewports. Verify all primary content, navigation, forms, and interactive controls remain available and usable in both orientations. Flag any use of orientation locks, rotate-device overlays that block content, or layouts that hide essential functionality in one orientation.

Fix

Remove orientation locks and redesign the layout to work in both portrait and landscape. Use responsive CSS, wrapping layouts, and adaptive spacing instead of blocking content behind a rotate-device message. Only keep an orientation requirement if the task is genuinely orientation-essential.

Explain

Explain why WCAG requires content to support both portrait and landscape unless orientation is essential to the activity, and how orientation locks can block users who cannot rotate their devices.

Code Review

Review responsive layouts, viewport handling, overlays, and any JavaScript related to device rotation. Flag exact selectors, components, or route states that require one orientation, hide essential content after rotation, or show blocking rotate-device messages instead of adapting the layout.


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

Rule page: https://frontendchecklist.io/rules/accessibility/orientation

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

لماذا يهم الاتجاه لإمكانية الوصول؟

تقول المهارة إن بعض المستخدمين يثبتون أجهزتهم على كراسٍ متحركة أو حوامل لوحية، ولا يستطيعون تدويرها.

هل يُقبل تخطيط أفقي فقط أو رأسي فقط؟

تقول المهارة إنه يُحتفظ بواحد منهما فقط إذا كانت المهمة تتطلبه فعلًا، مع شرح السبب.

كيف يتحقق الوكيل من النتيجة؟

توصي المهارة بفحص السلوك المعروض في الوضعين الرأسي والأفقي على أحجام الجوال والجهاز اللوحي.

التفاصيل

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

Use when reviewing mobile-first layouts, tablet experiences, fullscreen flows, forms, dashboards, or media interfaces. Check rendered behavior in both portrait and landscape and separate genuine layout constraints from unnecessary orientation assumptions.

repo: thedaviddias/Front-End-Checklist

الشعبية

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

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

0

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

التعليقات

  • …

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

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