Page orientation must not be restricted using CSS transforms

adaptable/orientation-lock · WCAG 1.3.4 · Level AA

Page orientation must not be restricted using CSS transforms.

Users with motor disabilities may mount their device in a fixed orientation. Using CSS transforms with @media (orientation: portrait/landscape) to rotate content 90° effectively locks the page to one orientation. Remove the orientation-dependent transform and use responsive design instead.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0