From 2ceb4969ec67b663131d18e189bea200c4ad8068 Mon Sep 17 00:00:00 2001 From: Yves Gatesoupe Date: Mon, 25 Jul 2016 17:53:52 +0200 Subject: [PATCH] fix(component): tab focus management --- js/src/tab.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/js/src/tab.js b/js/src/tab.js index f478eedcac..8497fae17a 100644 --- a/js/src/tab.js +++ b/js/src/tab.js @@ -191,7 +191,6 @@ const Tab = (($) => { // private _activate(element, container, callback) { - let active = $(container).find(Selector.ACTIVE_CHILD)[0] let isTransitioning = callback && Util.supportsTransitionEnd() @@ -224,12 +223,6 @@ const Tab = (($) => { if (active) { $(active).removeClass(ClassName.IN) } - 'aria-selected' : true - }) - $(element).filter('.tab-pane.active').attr({ - 'aria-hidden' : false, - tabIndex : '0' - }) } _transitionComplete(element, active, isTransitioning, callback) {