Skip to content

Commit

Permalink
[5.6] Dropdown nav accessibility fix (#23191)
Browse files Browse the repository at this point in the history
* [5.6] Dropdown nav accessibility fix

* Update app.stub
  • Loading branch information
austintoddj authored and taylorotwell committed Feb 16, 2018
1 parent 9ef05c2 commit b34541e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@
<li><a class="nav-link" href="{{ route('register') }}">Register</a></li>
@else
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ Auth::user()->name }} <span class="caret"></span>
</a>

<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="{{ route('logout') }}"
onclick="event.preventDefault();
Expand Down

0 comments on commit b34541e

Please sign in to comment.