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

Commit

Permalink
fix(o-nav-link): ensure aria-current is set for parents too
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Feb 12, 2020
1 parent 4141ebe commit 71de98f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a #link [routerLink]="route" [queryParams]="query" class="nav-link" [routerLinkActive]="['active']" [routerLinkActiveOptions]="{exact:true}"
<a #link [routerLink]="route" [queryParams]="query" class="nav-link" [routerLinkActive]="['active']"
[attr.title]="title === 'undefined' ? null : title" [attr.aria-label]="title === 'undefined' ? null : title"
[attr.aria-current]="isActive"><ng-content></ng-content>
</a>

0 comments on commit 71de98f

Please sign in to comment.