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
Following on from autoAnchor, it would be handy if it were possible to pass the ID value of a tab to .showAccessibleTab() - e.g. tabs.showAccessibleTab("MyTabHeadingID") - instead of only accepting the 0-based index position.
I think either having an integer or a valid jQuery Selector would be the best approach.
The text was updated successfully, but these errors were encountered:
fixed in version 1.9
new method showAccessibleTabSelector({valid jQuery selector of the tab to show}) that allows the opening of tabs by jQuery Selector instead of the index in showAccessibleTab()
Thanks for your speedy implementation BUT you don't actually need a new function, nor is it desirable - a jQuery selector can (and often does) return multiple elements, but only one tab can be active at a time, so showAccessibleTabSelector() doesn't make much sense in that context IMHO.
And fortunately, element IDs can't start with a number anyway (part of the HTML spec) so if the parameter passed to showAccessibleTab() is text you should handle it as an ID, and if it's a number you should handle it as an tab array index!
According to Marcus' comment here:
http://blog.ginader.de/isok/comment/955/257-jQuery-Accessible-Tabs-How-to-make-tabs-REALLY-accessible.html#c955
Following on from autoAnchor, it would be handy if it were possible to pass the ID value of a tab to .showAccessibleTab() - e.g. tabs.showAccessibleTab("MyTabHeadingID") - instead of only accepting the 0-based index position.
I think either having an integer or a valid jQuery Selector would be the best approach.
The text was updated successfully, but these errors were encountered: