Skip to content

Commit

Permalink
refs #2944 Added keyboard accessibility for tab navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Feb 3, 2025
1 parent 75b2a45 commit 5e04b7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/layouts/tabs.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class="mb-3"
'active' => $activeTab === $name || ($loop->first && is_null($activeTab))
])
data-action="tabs#setActiveTab"
href="#tab-{{sha1($templateSlug.$name)}}"
data-bs-target="#tab-{{sha1($templateSlug.$name)}}"
id="button-tab-{{sha1($templateSlug.$name)}}"
aria-selected="false"
Expand Down

0 comments on commit 5e04b7a

Please sign in to comment.