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

Implementing tabIndex for sorted grid items #45

Open
denseflux opened this issue Nov 2, 2020 · 1 comment
Open

Implementing tabIndex for sorted grid items #45

denseflux opened this issue Nov 2, 2020 · 1 comment

Comments

@denseflux
Copy link

Because the position (and therefore visual order) is set by css, the tab index does not go in order when I sort my items. This is an accessibility issue for my implementation of muuri-react. I'm having difficulty thinking through how to set the tabIndex on the links in my items according to the sort order. Any advice or example implementations, please?

@tschneid
Copy link

I had a similar issue and solved it by passing an explicit sort prop to the MuuriComponent.

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

2 participants