Skip to content

Commit

Permalink
Fix tab aria-selected values
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed Mar 1, 2024
1 parent 7156a10 commit 467e48e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/search/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
role: "tab",
type: "button",
"aria-controls": "simple-search",
"aria-selected": "true"} Simple Search
"aria-selected": "false"} Simple Search
%li.nav-item{role: "presentation"}
%button#advanced-search-tab.nav-link{"data-bs-toggle": "pill",
"data-bs-target": "#advanced-search",
role: "tab",
type: "button",
"aria-controls": "advanced-search",
"aria-selected": "true"} Advanced Search
"aria-selected": "false"} Advanced Search
.tab-content
#all-items.tab-pane.fade.show.active{role: "tabpanel",
"aria-labelledby": "all-items-tab"}
Expand Down

0 comments on commit 467e48e

Please sign in to comment.