orientation
यह क्या करती है
यह स्किल जाँचती है कि फ़ोन या टैबलेट घुमाने पर साइट का कंटेंट और कंट्रोल इस्तेमाल योग्य रहें। यह मोबाइल और फ़्रंट-एंड डेवलपर्स के लिए है जो हर विज़िटर की पहुँच चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप एजेंट से जाँचवाएँ कि फ़ोन या टैबलेट घुमाने पर साइट कैसा व्यवहार करती है।
- ✓जब साइट 'डिवाइस घुमाएँ' का संदेश दिखाए जो कंटेंट या फ़ॉर्म को रोक दे।
- ✓जब आप फ़ुलस्क्रीन फ़्लो, डैशबोर्ड या फ़ॉर्म बना रहे हों जो टैबलेट पर भी इस्तेमाल हो सकता है।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/orientation/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी साइट लोगों से फ़ोन घुमाने को कहती है और पेज को रोक देती है। क्या आप इसे दोनों ओरिएंटेशन में चलने लायक बना सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट ओरिएंटेशन लॉक, डिवाइस घुमाने वाले ओवरले और ऐसे लेआउट खोजता है जो एक ओरिएंटेशन में फ़ंक्शन छिपा देते हैं। वह इन रुकावटों को हटाता है और रिस्पॉन्सिव 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.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2964
- लाइसेंस
- MIT
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
frontendchecklist
75kकमांड-लाइन टूल से फ़्रंटएंड कोड और लाइव पेजों को एक्सेसिबिलिटी, स्पीड, SEO और सिक्योरिटी के 380 से ज़्यादा नियमों से जाँचती है।
frontend-checklist-global
75kफ़्रंटएंड प्रोजेक्ट को Front-End Checklist के सभी 386 नियमों से ऑडिट करती है, और हर मिली समस्या का ठोस समाधान देती है।
404-page
75kजाँचती है कि आपका गुम पेज उपयोगी लिंक देता है और सही 404 स्टेटस लौटाता है, ताकि भटके हुए विज़िटर रास्ता ढूँढ सकें।
about-page
75kजाँचती है कि आपकी साइट पर एक साफ़ About पेज है जो बताता है कि उसे कौन चलाता है, ताकि विज़िटर और सर्च इंजन का भरोसा बढ़े।
मिलती-जुलती skills
android-clean-architecture
280kयह आपके एजेंट को Android projects को व्यवस्थित तरीके से संभालने देता है। यह code को ऐसा ढांचा देता है कि उसकी देखभाल और नए features जोड़ना आसान हो।
compose-multiplatform-patterns
280kKMP projects में Compose Multiplatform और Jetpack Compose patterns इस्तेमाल करने में आपके एजेंट की मदद करता है। इसमें state, navigation, theming और performance शामिल हैं।
dart-flutter-patterns
280kयह आपके एजेंट को Dart और Flutter apps के लिए code लिखने देता है। यह आधुनिक patterns इस्तेमाल करके मज़बूत और आसानी से संभलने वाले apps बनाता है।