angularjs - How do I set the tabindex (or any other attribute) of an AngularUI Boostrap tab heading link? -
i'm using angularui bootstrap create tabset:
... <tabset> <tab heading="first tab"> <div>first content here</div> </tab> <tab heading="second tab"> <div>second content here</div> </tab> </tabset> ... the code output page looks this:
... <ul class="..."> <li ng-class="..." heading="first tab" class="..."> <a href ng-click="select()" tab-heading-transclude class="ng-binding"> first tab </a> </li> <li ng-class="..." heading="second tab" class="..."> <a href ng-click="select()" tab-heading-transclude class="ng-binding"> second tab </a> </li> </ul> <div class="tab-content"> <!-- tab contents here --> </div> ... the problem have, heading links can't selected via keyboard because they're missing tabindex. obviously, can't add in because angular creating filler html list, , adding tabindex tab element next heading attribute adds li , not a tag needs be.
is there way define tabset , pass in attribute tabindex placed on navigation (heading) links?
Comments
Post a Comment