WCAG A/AA requirement Priority: Serious · experimental check: may need a manual look
The site works in only one screen orientation
The site's styles force the page into portrait or landscape only, so when a phone or tablet is held the other way, the content is rotated, cut off or hidden.
This text was translated automatically and has not been reviewed by a native speaker yet.
Why it matters to your customers
Some shoppers cannot turn their device: it is mounted on a wheelchair or a stand, or they hold it one way because of limited hand movement. If the shop only works in the other orientation, they see a sideways or broken page and cannot buy at all.
Who is affected
- people whose device is mounted in a fixed position
- people with limited hand or arm movement
- people with low vision who use landscape for larger text
- tablet users with keyboard cases
How to fix it
Remove CSS that rotates or hides content inside @media (orientation: portrait) or (orientation: landscape) queries, for example transform: rotate(90deg) or a "please rotate your device" overlay. Let the responsive layout adapt to both orientations. Lock orientation only when it is truly essential. axe marks this check as experimental, so confirm it by turning a real phone.
On Shopify
Usually comes from custom CSS in the theme or from an app that shows a "rotate your device" message. Search the theme's CSS and Liquid files for "orientation" and remove rules that rotate or hide the page; switch off the app's orientation option if it has one.
On Shoptet (CZ)
Templates are usually responsive, so the cause is often custom code. Check CSS added through Shoptet's custom code options for "orientation" rules and remove them.
On PrestaShop
Usually in the theme's CSS or a mobile module. Search the theme's CSS files for "orientation" and override the rule in the theme's custom CSS file or a child theme.
On WooCommerce
Usually comes from the theme, a page builder or a mobile plugin. Search the theme's CSS for "orientation" media queries and override them in a child theme's CSS so updates do not undo the fix.
Fix it with AI
Copy this prompt into ChatGPT, Claude or Copilot and add the HTML of the element. Check the answer before you publish it.
You are an experienced web developer and accessibility specialist. Fix this accessibility problem on my website so that it meets WCAG 2.2 level AA. Website: [https://…] ## Problem: The site works in only one screen orientation WCAG 2.2 1.3.4 (AA) The site's styles force the page into portrait or landscape only, so when a phone or tablet is held the other way, the content is rotated, cut off or hidden. **How to fix:** Remove CSS that rotates or hides content inside @media (orientation: portrait) or (orientation: landscape) queries, for example transform: rotate(90deg) or a "please rotate your device" overlay. Let the responsive layout adapt to both orientations. Lock orientation only when it is truly essential. axe marks this check as experimental, so confirm it by turning a real phone. ## Elements found by the automated check [Paste the HTML of the element here, or the selector from the Pandus report] ## Requirements - Change only what is needed; keep the design and how the site works. - Do not add accessibility overlays or widgets; fix the code or the content. - Show the corrected code and say in which template or file it goes. - Explain how to check the fix with the keyboard and a screen reader.
Standards
| Standard | Clause |
|---|---|
| WCAG 2.2 | 1.3.4 (AA) Orientation |
| WCAG 2.1 | 1.3.4 (AA) Orientation |
| EN 301 549 4.1.1 | 9.1.3.4 |
| EN 301 549 3.2.1 | 9.1.3.4 |
| ДСТУ EN 301 549 2022 | 9.1.3.4 |
Automated check: axe-core rule css-orientation-lock.
dequeuniversity.com, github.com, www.w3.org
Read next
WCAG success criterion
Guides and tools
- WCAG for mobile apps: what applies and how to test on Android and iOS
- HTML accessibility checker (WCAG 2.2)
- Free WCAG checker for WCAG 2.2 AA
Help articles
-
How to read a report and what to fix first
What each part of the report means and how to turn it into a to-do list for your developer.
Related checks
-
The page does not say which language it is in
WCAG 3.1.1 A
-
Buttons and links are too small to tap easily
WCAG 2.5.8 AA
-
Checkout fields are not filled in automatically
WCAG 1.3.5 AA
-
Accessibility attributes have wrong values
WCAG 4.1.2 A