Skip to content

Create orientation-scroll-reflow-acsmtl - #2446

Draft
WilcoFiers wants to merge 2 commits into
developfrom
orientation-scroll-reflow-acsmtl
Draft

WilcoFiers wants to merge 2 commits into
developfrom
orientation-scroll-reflow-acsmtl

Conversation

@WilcoFiers

Copy link
Copy Markdown
Member

First draft of the orientation-scroll-reflow rule: orientation scrolls do not exist at 320 CSS pixels without a content exception.

Split from #2429 so each reflow rule can be reviewed independently. Original work by @HelenBurge.

Related to #2424.

Need for Call for Review:
This will require a 2 weeks Call for Review


Pull Request Etiquette

When creating PR:

  • Make sure you're requesting to pull a branch (right side) to the develop branch (left side).
  • Make sure you do not remove the "How to Review and Approve" section in your pull request description

After creating PR:

  • Add yourself (and co-authors) as "Assignees" for PR.
  • Add label to indicate if it's a Rule, Definition or Chore.
  • Link the PR to any issue it solves. This will be done automatically by referencing the issue at the top of this comment in the indicated place.
  • Optionally request feedback from anyone in particular by assigning them as "Reviewers".
  • If your PR is for a new rule with an Accessibility Support note, or for updating the Accessibility Support note of an existing section, make sure to open a corresponding Accessibility Support issue.

When merging a PR:

  • Close any issue that the PR resolves. This will happen automatically upon merging if the PR was correctly linked to the issue, e.g. by referencing the issue at the top of this comment.

How to Review And Approve

  • Go to the “Files changed” tab
  • Here you will have the option to leave comments on different lines.
  • Once the review is completed, find the “Review changes” button in the top right, select “Approve” (if you are really confident in the rule) or "Request changes" and click “Submit review”.
  • Make sure to also review the proposed Call for Review period. In case of disagreement, the longer period wins.

Made with Cursor

Split from #2429. Original work by Helen Burge.

Co-authored-by: HelenBurge <41951878+HelenBurge@users.noreply.github.com>
@WilcoFiers WilcoFiers added the Rule Use this label for a new rule that does not exist already label Aug 31, 2026
@netlify

netlify Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for act-rules failed.

Name Link
🔨 Latest commit 86e48e0
🔍 Latest deploy log https://app.netlify.com/projects/act-rules/deploys/6ab1404e7c00dc0008411fc8

@WilcoFiers WilcoFiers mentioned this pull request Aug 31, 2026
8 tasks
@Pryzmastudio

Pryzmastudio commented Oct 29, 2026 •

Copy link
Copy Markdown

Hi all, I'm new to the group. I maintain floorcheck, an open-source scanner built on axe-core that has its own reflow check at 320px, so I ran it on this draft's examples in case the data is useful.

Setup: each example rendered as its own page in Chrome 156 at 320×512, with <meta name="viewport" content="width=device-width, initial-scale=1">. floorcheck reports a failure, "can't tell", or nothing.

It gives no wrong answer on 17 of the 18 examples: it never fails a passed or inapplicable example, and the only failed example it passes is Failed Example 4. Five examples come out as "can't tell". Three things I noticed:

1. Failed Example 4 doesn't scroll at 320px. The four links take 183px of the 304px available (320 minus the default body margin), so the nav never overflows and there's nothing to scroll. Making the links wider, adding more of them, or white-space: nowrap with longer labels would make it fail as intended.

2. The exceptions are hard to decide automatically. For Passed Example 10 (canvas) and Inapplicable Example 1 (<pre>), a tool can see that the overflow comes from a canvas or preformatted text, but not whether the two-dimensional layout is really essential. floorcheck returns "can't tell" for both. It might help to say in the rule that tools are expected to land on cantTell here, or to give examples that make the exception decidable, for example a <pre> holding a paragraph of prose (fails) next to one holding code (passes).

3. Scrolling boxes need the same judgement. Failed Examples 3 and 7 (a paragraph wider than its scrolling box) and Passed Example 5 (a carousel where each panel fits) all look the same to a script: a box that scrolls sideways and contains text. The difference is whether a single line of text is wider than the box. If the expectation said something like "no line of text is wider than its scroll container", it would be measurable. Right now floorcheck reports all three as "can't tell".

I'm happy to rerun the examples whenever they change.

I used an AI assistant to help run the checks and draft this comment. I verified the results myself.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Rule Use this label for a new rule that does not exist already

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants