Skip to content

scrollable-region-focusable should ignore tiny scroll regions #4826

@WilcoFiers

Description

@WilcoFiers

Expetation: This shouldn't fail the scrollable-region-focusable rule:

<button>
  <span aria-hidden="true"></span>
  <span style="position: absolute; width: 1px; height: 1px; overflow-x: hidden">
    Coffee
  </span>
</button>

The scroll region is only 1px wide, it can't ever show even a single letter in full. There's no way this element could possibly be a scrollable element.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions