We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is a bug when I set tabindex="0" on select menu. The div created set tabindex="". (Widgets with tabindex=0 will be added to the tab sequence based on document order, see http://www.w3.org/TR/wai-aria-practices/#kbd_general_between )
So, I modify the line
// Check if we have a tabindex set or not tabindex = $select.attr('tabindex') ? $select.attr('tabindex') : '',
by
// Check if we have a tabindex set or not tabindex = isNaN($select.attr('tabindex')) ? '' : $select.attr('tabindex'),
The text was updated successfully, but these errors were encountered:
You can also use this:
tabindex = $select.attr('tabindex') !== undefined ? $select.attr('tabindex') : '',
Sorry, something went wrong.
No branches or pull requests
There is a bug when I set tabindex="0" on select menu. The div created set tabindex="".
(Widgets with tabindex=0 will be added to the tab sequence based on document order, see http://www.w3.org/TR/wai-aria-practices/#kbd_general_between )
So, I modify the line
// Check if we have a tabindex set or not
tabindex = $select.attr('tabindex') ? $select.attr('tabindex') : '',
by
// Check if we have a tabindex set or not
tabindex = isNaN($select.attr('tabindex')) ? '' : $select.attr('tabindex'),
The text was updated successfully, but these errors were encountered: