forked from hostolab/covidliste
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove role=button for nav link - Issue hostolab#755
- Loading branch information
1 parent
36ddc61
commit 957baaf
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
<%= link_to "Professionnels de santé", landing_page_pro_path, class: "nav-link" %> | ||
</li> | ||
<li class="nav-item dropdown"> | ||
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#dropdownHelpers" role="button" aria-haspopup="true" aria-expanded="false">Ils nous aident</a> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
viki53
|
||
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#dropdownHelpers" aria-haspopup="true" aria-expanded="false">Ils nous aident</a> | ||
<div class="dropdown-menu" aria-labelledby="dropdownHelpers"> | ||
<%= link_to "Donateurs", donateurs_path, class: class_names("dropdown-item", active: current_page?(donateurs_path)) %> | ||
<%= link_to "Sponsors", sponsors_path, class: class_names("dropdown-item", active: current_page?(sponsors_path)) %> | ||
|
Attention ici il s'agit bien d'un bouton (action locale, pas de navigation), le
role
est bien à sa place