' +
+ '
' +
'
' +
'
' +
' ' +
@@ -101,6 +101,7 @@
'data-toggle': $el.attr('data-toggle-was'),
'data-toggle-was': '',
'data-parent': '',
+ 'role': '',
href: href
});
});
@@ -139,6 +140,7 @@
'data-toggle-was': $el.attr('data-toggle'),
'data-toggle': 'collapse',
'data-parent': '#' + parentId,
+ 'role': 'button',
href: href
});
});
@@ -153,6 +155,7 @@
'data-toggle': 'tab',
'href': href,
'data-parent': ''
+ 'role': 'tab',
});
return $heading;
};
@@ -162,6 +165,7 @@
$heading.attr({
'data-toggle': 'collapse',
'data-parent': '#' + parentId,
+ 'role': 'button',
'href': '#' + groupId
});
return $heading;
@@ -191,7 +195,7 @@
var srcId = this.$tabs.attr('id'),
accordionId = (srcId ? srcId : randomString()) + '-accordion';
- this.$accordion = $('
');
+ this.$accordion = $('
');
this.$tabs.after(this.$accordion);
this.$tabs.addClass(this.options.tabsClass);
this.getTabContentElement().addClass(this.options.tabsClass);