Skip to content

Commit

Permalink
add role & aria-label to nav menu for accessibility compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbaraOliveira13 committed Dec 17, 2024
1 parent 3834c44 commit 293da1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decidim-core/app/views/decidim/pages/_tabbed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</header>

<div class="vertical-tabs">
<nav>
<nav role="navigation" aria-label="Sous menu - <%= translated_attribute(page.title) %>">
<button id="dropdown-trigger-pages" data-component="dropdown" data-target="dropdown-menu-pages" data-open-md="true" data-auto-close="true">
<span>
<%= translated_attribute(page.title) %>
Expand Down

0 comments on commit 293da1a

Please sign in to comment.