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
I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
When a view is active, it should not allow keyboard-navigation tabbing to focus elements on other, non-visible views.
Current Behavior
When I have focusable elements in my views (such as form elements), it lets me tab-focus into these elements despite being unable to see/interact with them.
Observe that the tab focus is focusing elements that should be "non-existent" because they are not on the current active view
Context
I'm using swipeable-views to animate pages of a form. Due to this bug, the form is not accessible to a user who is using keyboard-only nav because they keyboard focus winds up on elements that are not visible or interactable on the page
The text was updated successfully, but these errors were encountered:
You can get around this if you keep track of the index you are using, and use that index in the slideRenderer function to conditionally set the style of the slide based on whether the index is the active one. For example,
Expected Behavior
When a view is active, it should not allow keyboard-navigation tabbing to focus elements on other, non-visible views.
Current Behavior
When I have focusable elements in my views (such as form elements), it lets me tab-focus into these elements despite being unable to see/interact with them.
Steps to Reproduce (for bugs)
Context
I'm using swipeable-views to animate pages of a form. Due to this bug, the form is not accessible to a user who is using keyboard-only nav because they keyboard focus winds up on elements that are not visible or interactable on the page
The text was updated successfully, but these errors were encountered: