Skip to content

css-orientation-lock rule should support CSS rotate #3920

@WilcoFiers

Description

@WilcoFiers

Our ACT nightly tests started failing after the CSS orientation rule added examples with the CSS rotate prop:

https://app.circleci.com/pipelines/github/dequelabs/axe-core/4921/workflows/53584a64-11a1-4bb5-bd24-872f02c1cece/jobs/54868

The following example should fail axe-core:

<html lang="en">
<head>
  <style>
    @media (orientation: portrait) {
      html { rotate: 90deg; }
    }
  </style>
</head>
<body>
  Page Content
</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    ACT RulesfixBug fixesprA pr has been created for the issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions