Paladox has submitted this change and it was merged. Change subject: Update CollapsibleVector ......................................................................
Update CollapsibleVector Updating collapsiblenav.js Change-Id: Ic83494d6713455a791288eea834f45a5aa043e38 (cherry picked from commit 2877637fa4dd12f3841218385f4be5ee18650c8d) --- M modules/ext.vector.collapsibleNav.js 1 file changed, 1 insertion(+), 9 deletions(-) Approvals: Paladox: Verified; Looks good to me, approved diff --git a/modules/ext.vector.collapsibleNav.js b/modules/ext.vector.collapsibleNav.js index d64289a..1ddc026 100644 --- a/modules/ext.vector.collapsibleNav.js +++ b/modules/ext.vector.collapsibleNav.js @@ -121,16 +121,8 @@ $headings = $( '#mw-panel > .portal:not(.persistent) > h3' ); - // Get the highest tab index - tabIndex = $( document ).lastTabIndex() + 1; - - // Fix the search not having a tabindex - $( '#searchInput' ).attr( 'tabindex', tabIndex++ ); - // Make it keyboard accessible - $headings.attr( 'tabindex', function () { - return tabIndex++; - }); + $headings.attr( 'tabindex', '0' ); // Toggle the selected menu's class and expand or collapse the menu $( '#mw-panel' ) -- To view, visit https://gerrit.wikimedia.org/r/170579 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic83494d6713455a791288eea834f45a5aa043e38 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CollapsibleVector Gerrit-Branch: REL1_24 Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com> Gerrit-Reviewer: Paladox <thomasmulhall...@yahoo.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits