Skip to content

"Scrollable region must have keyboard access" with focusable elements within #4830

@gportela85

Description

@gportela85

Product

axe-core

Product Version

4.10.3

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Expectation

No warnings about scrollable regions needing keyboard access.

How to Reproduce

Open https://plnkr.co/edit/IyLmkiUknP2hB8jT?open=main.js&preview
Click the arrows at the top right to show the example in a separate window
Run the Axe Extension to scan the page.

Additional context

This grid is wrapped with a "tab guard" element (tabIndex 0) that manages which cell needs to be focused when the grid is focused, and then the cells (tabIndex -1) will scroll the grid with a custom scroll logic while moving focus across cells.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions