Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
fix(navbar): accessibility correction
Browse files Browse the repository at this point in the history
  • Loading branch information
BehnooshShiva committed May 25, 2020
1 parent 9eee87b commit 4261df2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/demos/navbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ <h6>Supra bar</h6>
</a>
</li>
<li class="nav-item" ngbDropdown>
<button class="btn btn-link nav-link" id="dropdownLanguage" ngbDropdownToggle>EN</button>
<button class="btn btn-link nav-link" id="dropdownLanguage" ngbDropdownToggle>Languages</button>
<ul class="dropdown-menu-right" ngbDropdownMenu aria-labelledby="dropdownLanguage">
<li><a ngbDropdownItem href="#">FR</a></li>
<li><a ngbDropdownItem href="#">SP</a></li>
<li><a ngbDropdownItem aria-label="Version en anglais" lang="en" hreflang="en">EN</a></li>
<li><a ngbDropdownItem aria-label="Version française" lang="fr" hreflang="fr">FR</a></li>
<li><a ngbDropdownItem aria-label="Version en español" lang="es" hreflang="es">SP</a></li>
</ul>
</li>
</ul>
Expand Down

0 comments on commit 4261df2

Please sign in to comment.