LoftusGreig
Crownpeak Employee
Crownpeak Employee

Screen orientation should not be locked

Why is this important?

Some users may have their devices mounted in a fixed orientation (e.g. on the arm of a power wheelchair). Websites need to support both orientations and not restrict the orientation of the web page so that these users would be able to access the website properly.

How can I resolve this issue?

Do not lock the orientation of web pages to only portrait or landscape mode.

What topics do this checkpoint affect?

  • Accessibility (WCAG 2.1 Level A, SC 1.3.4)

Can you explain how this checkpoint works?

This checkpoint will flag all pages that include one of the following code: screen.lockOrientation, screen.mozLockOrientation, screen.msLockOrientation

References

Labels (1)

Can't find what you are looking for?

Find Answers

Search our DQM Forum to find answers to questions asked by other DQM users.

Ask a Question

No luck? Ask a question. Our Product and Support teams are monitoring the Forum and typically respond within 48 hours.

Ask a Question