SIA-R44Orientation of the page is not restricted using CSS transform property
Accessibility requirements
This rule tests conformance of the following accessibility requirements:
Description
This rule checks that page content is not restricted to either landscape or portrait orientation using the transform property.
Applicability
This rule applies to every element in the HTML namespace that is visible and has any of the following properties that is applied conditionally on the orientation media feature with a value of landscape or portrait:
-
The
rotateproperty; or -
The
transformproperty, with any of the following transform functions:rotate(); orrotate3d(); orrotateZ(); ormatrix(); ormatrix3d(); or
Expectations
- The target element is neither rotated clockwise nor counter clockwise around the Z-axis at an angle corresponding to 90 degrees relative from the position of the element in
landscapeorientation to the position of the element inportraitorientation, and vice versa.
Assumptions
This rule does not consider and may produce incorrect results for:
- Elements for which a particular display orientation is essential.
- The existence of any control on the page that can change the orientation on demand.
Accessibility support
This rule has no known accessibility support concerns.
Examples
Acknowledgments
This document includes material copied from or derived from https://www.w3.org/WAI/standards-guidelines/act/rules/b33eff/. Copyright © 2025 W3C® (MIT, ERCIM, Keio, Beihang).