Skip to content

Commit

Permalink
fix(accessibility): removed aria-role from the separator (#141)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomasz Kapek <[email protected]>
  • Loading branch information
kapenzo and Tomasz Kapek authored Jun 20, 2022
1 parent dff94d7 commit 9b2589f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions libs/xng-breadcrumb/src/lib/breadcrumb.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,7 @@
</label>
</li>

<li
*ngIf="!isLast"
class="xng-breadcrumb-separator"
aria-hidden="true"
role="separator"
>
<li *ngIf="!isLast" class="xng-breadcrumb-separator" aria-hidden="true">
<ng-container *ngTemplateOutlet="separatorTemplate"></ng-container>
<ng-container *ngIf="!separatorTemplate">{{ separator }}</ng-container>
</li>
Expand Down

0 comments on commit 9b2589f

Please sign in to comment.