You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generic div container that wraps the virtualized elements and provides the content height for native scrolling should have role="presentation" so that it does not break the accessibility tree structure for the containing grid, menu or listbox.
The generic
div
container that wraps the virtualized elements and provides the content height for native scrolling should haverole="presentation"
so that it does not break the accessibility tree structure for the containing grid, menu or listbox.react-spectrum/packages/react-aria-components/src/Virtualizer.tsx
Line 65 in 2cd8f0b
The problem can be seen in the Virtualized RAC table at: https://reactspectrum.blob.core.windows.net/reactspectrum/ff19a7c1ca7fccfd3e46eeef1c6b71ef23f36437/storybook/index.html?path=/story/react-aria-components--virtualized-table&providerSwitcher-express=false
We may wish to return
role="presentation"
at:react-spectrum/packages/@react-aria/virtualizer/src/ScrollView.tsx
Lines 245 to 247 in 2cd8f0b
The text was updated successfully, but these errors were encountered: