#3210435 | Making secondary tabs not to be re-ordered for mobile.
1 unresolved thread
1 unresolved thread
I made Drupal.behaviors.navTab
to ignore secondary tabs, so these aren't re ordered to show the active element first. Since secondary tabs aren't collapsible, this could probably work regarding a11y issues.
Merge request reports
Activity
8 8 (($, Drupal) => { 9 9 function init(tab) { 10 10 const $tab = $(tab); 11 const $target = $tab.find('[data-drupal-nav-tabs-target]'); 11 const $target = $tab 12 .find('[data-drupal-nav-tabs-target]') 13 .not('.tabs--secondary'); changed this line in version 2 of the diff
added 1 commit
added 646 commits
-
9bf4d68e...5ba501c3 - 644 commits from branch
project:9.3.x
- 073746f6 - #3210435 | Making secondary tabs not to be re-ordered for mobile.
- 5622753b - #3210435 | Add js prefix class to secondary tabs and refer it
-
9bf4d68e...5ba501c3 - 644 commits from branch
added 292 commits
-
5622753b...5fa8127d - 286 commits from branch
project:9.4.x
- 3b86e8c4 - Revert "Issue #3259380 by lauriii, Wim Leers, DamienMcKenna, hooroomoo,...
- 057c3d5c - Issue #3259380 by lauriii, Wim Leers, DamienMcKenna, hooroomoo, bnjmnm:...
- ba34f935 - Revert "Issue #3231321 by bnjmnm, nod_, lauriii: Improve keyboard...
- 1481215e - Issue #3231321 by bnjmnm, nod_, lauriii: Improve keyboard accessibility in a particular edge case
- ea1e6217 - #3210435 | Making secondary tabs not to be re-ordered for mobile.
- 05c5689c - #3210435 | Add js prefix class to secondary tabs and refer it
Toggle commit list-
5622753b...5fa8127d - 286 commits from branch
added 1 commit
- e3e84532 - Making secondary tabs not to be re-ordered for mobile
added 1 commit
- c8dbfa04 - Making secondary tabs not to be re-ordered for mobile
Please register or sign in to reply