Langsung ke konten
Skillpedia
Aplikasi mobile75k · #2964

orientation

Fungsinya

Skill ini memeriksa bahwa konten dan kontrol situs tetap bisa digunakan saat ponsel atau tablet diputar. Skill ini ditujukan untuk pengembang mobile dan front-end yang ingin setiap pengunjung bisa mengakses konten.

Kapan dipakai

  • ✓Saat Anda meminta agent memeriksa perilaku situs saat ponsel atau tablet diputar.
  • ✓Saat situs menampilkan pesan putar perangkat yang menghalangi konten atau formulir.
  • ✓Saat Anda membangun alur layar penuh, dasbor, atau formulir yang mungkin dipakai di tablet.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/orientation/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Situs saya meminta orang memutar ponsel dan memblokir halaman. Bisakah Anda membuatnya berfungsi di kedua orientasi?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent mencari kunci orientasi, overlay putar perangkat, dan tata letak yang menyembunyikan fungsi pada salah satu orientasi. Agent menghapus penghalang itu dan menyesuaikan tata letak dengan CSS responsif agar semuanya berfungsi setelah diputar.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Mengapa orientasi penting untuk aksesibilitas?

Skill ini menyebut sebagian pengguna memasang perangkat di kursi roda atau tablet berdiri, sehingga mereka mungkin tidak bisa memutarnya.

Apakah tata letak khusus lanskap atau potret pernah boleh?

Skill ini menyebut hanya boleh jika tugasnya benar-benar memerlukan, dan harus dijelaskan alasannya.

Bagaimana agent memeriksa hasilnya?

Skill ini merekomendasikan pemeriksaan perilaku yang dirender dalam mode potret dan lanskap pada ukuran ponsel dan tablet.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
75k
Peringkat
#2964
Lisensi
MIT
Diperbarui
31/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa