Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility issues in Table, Column components #1851

Open
srikant-ch5 opened this issue Oct 15, 2024 · 0 comments
Open

Accessibility issues in Table, Column components #1851

srikant-ch5 opened this issue Oct 15, 2024 · 0 comments

Comments

@srikant-ch5
Copy link

Bug Report

  • The tabbable element's role 'columnheader' is not a widget role
<div
    style="flex: 0 1 60px;"
    tabindex="0"
    role="columnheader"
    class="ReactVirtualized__Table__headerColumn _2F2N2luOrTSa1tMUcxFhGG ReactVirtualized__Table__sortableHeaderColumn"
    aria-sort="ascending"
    aria-label="Index">
  • The element with role "rowgroup" is not contained in or owned by an element with one of the following roles: "grid, table, treegrid"
<div
    style="width: auto; height: 40000px; max-width: 969px; max-height: 40000px; overflow: hidden; position: relative;"
    role="rowgroup"
    class="ReactVirtualized__Grid__innerScrollContainer">

What is the current behavior?

Steps to reproduce -

What is the expected behavior?

The tabbable element's role 'columnheader' is not a widget role : Allow an option to set tabIndex="-1" in Column component
The element with role "rowgroup" is not contained in or owned by an element with one of the following roles: "grid, table, treegrid": Allow an option to set role in Table component

Which versions of React and react-virtualized, and which browser / OS are affected by this issue? Did this work in previous versions of react-virtualized?

Browser Chrome
OS macOS
React 18.3.0
React DOM 18.3.1
react-virtualized 9.22.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant