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 a transform property that is applied conditionally on the orientation media feature with a value of landscape or portrait, where the transform property has any of the following transform functions:

Expectations

  1. 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 landscape orientation to the position of the element in portrait orientation, 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://act-rules.github.io/rules/b33eff/. Copyright © 2021 W3C® (MIT, ERCIM, Keio, Beihang).