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
Expected behavior
Pressing tab should go from the text input to the dropdown then the second text input. However it skips all elements enhanced by Choices.js. The outer div (class="choices") has tabindex="0" while the inner select element has tabindex="-1" (the latter is expected as the original select shouldn't be focusable).
The tab index should be copied across to the Choices element.
Choices version and bundle
Version: 11.0.2
Desktop (please complete the following information):
OS: MacOS
Browser Chrome, Firefox (latest)
The text was updated successfully, but these errors were encountered:
There is also a keyboard-control issue when tabbing or shift tabbing between adjacent dropdown inputs. One dropdown remains open in spite of focus tabbing to another dropdown. Example from the demo below, Chome MacOS.
There is also a keyboard-control issue when tabbing or shift tabbing between adjacent dropdown inputs. One dropdown remains open in spite of focus tabbing to another dropdown. Example from the demo below, Chome MacOS.
This seriously is an issue. Cannot update from v10.2.0 without this issue being fixed
Describe the bug
The
tabindex
attribute on elements is ignored.To Reproduce
Example HTML, with the select element being enhanced by Choices.js:
Expected behavior
Pressing tab should go from the text input to the dropdown then the second text input. However it skips all elements enhanced by Choices.js. The outer div (class="choices") has
tabindex="0"
while the inner select element hastabindex="-1"
(the latter is expected as the original select shouldn't be focusable).The tab index should be copied across to the Choices element.
Choices version and bundle
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: